Commit 25e5e66
committed
[improvement](build) Make Hive refresh DDL idempotent and reduce noise
### What problem does this PR solve?
Issue Number: None
Related PR: None
Problem Summary: Convert Hive bootstrap HQL to drop-then-create style for repeatable refresh runs, add a non-MR load path for employees seed data, and reduce refresh/startup log noise by gating xtrace and skipping compose up in healthy refresh mode.
### Release note
None
### Check List (For Author)
- Test: Manual test
- Regression test / Unit Test / Manual test / No need to test (with reason)
- Ran: sudo bash docker/thirdparties/run-thirdparties-docker.sh -c hive3 --hive-mode refresh
- Ran: sudo bash docker/thirdparties/run-thirdparties-docker.sh -c hive3 --hive-mode refresh --hive-modules preinstalled_hql
- Behavior changed: Yes (Hive refresh becomes stricter idempotent drop+create path and has lower default startup log verbosity)
- Does this need documentation: No1 parent 4d185bc commit 25e5e66
186 files changed
Lines changed: 900 additions & 309 deletions
File tree
- docker/thirdparties
- docker-compose/hive
- scripts
- create_external_paimon_scripts
- create_preinstalled_scripts
- create_view_scripts
- data
- default
- account_fund
- hive01
- sale_table
- string_table
- student
- test1
- test2
- test_hive_doris
- multi_catalog
- datev2_csv
- datev2_orc
- datev2_parquet
- hive_config_test
- hive_text_complex_type2
- hive_text_complex_type3
- hive_text_complex_type_delimiter2
- hive_text_complex_type_delimiter3
- hive_text_complex_type_delimiter
- hive_text_complex_type
- hive_textfile_array_all_types
- hive_textfile_array_delimiter
- hive_textfile_nestedarray
- hive_upper_case_orc
- hive_upper_case_parquet
- logs1_parquet
- one_partition
- orc_nested_types
- orc_partitioned_columns
- orc_partitioned_one_column
- orc_predicate
- par_fields_in_file_orc
- par_fields_in_file_parquet
- parquet_alter_column_to_bigint
- parquet_alter_column_to_boolean
- parquet_alter_column_to_char
- parquet_alter_column_to_date
- parquet_alter_column_to_decimal
- parquet_alter_column_to_double
- parquet_alter_column_to_float
- parquet_alter_column_to_int
- parquet_alter_column_to_smallint
- parquet_alter_column_to_string
- parquet_alter_column_to_timestamp
- parquet_alter_column_to_tinyint
- parquet_alter_column_to_varchar
- parquet_bloom_filter
- parquet_lz4_compression
- parquet_lzo_compression
- parquet_nested_types
- parquet_partitioned_columns
- parquet_partitioned_one_column
- parquet_predicate_table
- partition_location_1
- partition_location_2
- partition_manual_remove
- test_chinese_orc
- test_chinese_parquet
- test_chinese_text
- test_complex_types
- test_compress_partitioned
- test_csv_format_error
- test_date_string_partition
- test_hive_same_db_table_name
- test_hive_special_char_partition
- test_mixed_par_locations_orc
- test_mixed_par_locations_parquet
- test_multi_langs_orc
- test_multi_langs_parquet
- test_multi_langs_text
- test_special_orc_formats
- test_truncate_char_or_varchar_columns_orc
- test_truncate_char_or_varchar_columns_parquet
- test_truncate_char_or_varchar_columns_text
- test_wide_table
- text_partitioned_columns
- text_partitioned_one_column
- timestamp_with_time_zone
- two_partition
- type_change_orc
- type_change_origin
- type_change_parquet
- partition_type
- bigint_partition
- char_partition
- date_partition
- decimal_partition
- double_partition
- float_partition
- int_partition
- smallint_partition
- string_partition
- tinyint_partition
- varchar_partition
- regression
- crdmm_data
- multi_delimit_serde
- serde_prop
- statistics
- empty_table
- statistics
- stats
- test/hive_test
- tpch_1000_parquet/part
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | 19 | | |
22 | 20 | | |
23 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | 19 | | |
22 | 20 | | |
23 | 21 | | |
| |||
Lines changed: 16 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | | - | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
19 | | - | |
| 21 | + | |
20 | 22 | | |
21 | | - | |
| 23 | + | |
| 24 | + | |
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
26 | 29 | | |
27 | | - | |
| 30 | + | |
28 | 31 | | |
29 | | - | |
| 32 | + | |
| 33 | + | |
30 | 34 | | |
31 | 35 | | |
32 | 36 | | |
33 | 37 | | |
34 | 38 | | |
35 | | - | |
| 39 | + | |
36 | 40 | | |
37 | | - | |
| 41 | + | |
| 42 | + | |
38 | 43 | | |
39 | 44 | | |
40 | 45 | | |
41 | 46 | | |
42 | 47 | | |
43 | | - | |
| 48 | + | |
44 | 49 | | |
45 | | - | |
| 50 | + | |
| 51 | + | |
46 | 52 | | |
47 | 53 | | |
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
Lines changed: 25 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
27 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
28 | 32 | | |
29 | 33 | | |
30 | 34 | | |
| |||
55 | 59 | | |
56 | 60 | | |
57 | 61 | | |
58 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
59 | 65 | | |
60 | 66 | | |
61 | 67 | | |
| |||
74 | 80 | | |
75 | 81 | | |
76 | 82 | | |
77 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
78 | 86 | | |
79 | 87 | | |
80 | 88 | | |
| |||
98 | 106 | | |
99 | 107 | | |
100 | 108 | | |
101 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
102 | 112 | | |
103 | 113 | | |
104 | 114 | | |
| |||
122 | 132 | | |
123 | 133 | | |
124 | 134 | | |
125 | | - | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
126 | 138 | | |
127 | 139 | | |
128 | 140 | | |
| |||
142 | 154 | | |
143 | 155 | | |
144 | 156 | | |
145 | | - | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
146 | 160 | | |
147 | 161 | | |
148 | 162 | | |
| |||
160 | 174 | | |
161 | 175 | | |
162 | 176 | | |
163 | | - | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
164 | 180 | | |
165 | 181 | | |
166 | 182 | | |
| |||
Lines changed: 25 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
24 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
25 | 29 | | |
26 | 30 | | |
27 | 31 | | |
| |||
49 | 53 | | |
50 | 54 | | |
51 | 55 | | |
52 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
53 | 59 | | |
54 | 60 | | |
55 | 61 | | |
| |||
65 | 71 | | |
66 | 72 | | |
67 | 73 | | |
68 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
69 | 77 | | |
70 | 78 | | |
71 | 79 | | |
| |||
86 | 94 | | |
87 | 95 | | |
88 | 96 | | |
89 | | - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
90 | 100 | | |
91 | 101 | | |
92 | 102 | | |
| |||
107 | 117 | | |
108 | 118 | | |
109 | 119 | | |
110 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
111 | 123 | | |
112 | 124 | | |
113 | 125 | | |
| |||
124 | 136 | | |
125 | 137 | | |
126 | 138 | | |
127 | | - | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
128 | 142 | | |
129 | 143 | | |
130 | 144 | | |
| |||
139 | 153 | | |
140 | 154 | | |
141 | 155 | | |
142 | | - | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
143 | 159 | | |
144 | 160 | | |
145 | 161 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
0 commit comments