This is an automated email from the ASF dual-hosted git repository. morningman pushed a commit to branch branch-2.1-lakehouse in repository https://gitbox.apache.org/repos/asf/doris.git
commit adc39ed3f670c8c2b9fa5295ca9a405542dc707f Author: morningman <morning...@163.com> AuthorDate: Mon Feb 17 18:07:46 2025 +0800 Revert "branch-2.1: [fix](regression)fix hive translation unstable case. #46385 (#46409)" This reverts commit d8c94d6392ccadaa514df4d03b4e6e9981871ea8. --- .../hive/scripts/create_preinstalled_scripts/run25.hql | 7 +++---- .../hive/test_hive_translation_insert_only.groovy | 1 - 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/docker/thirdparties/docker-compose/hive/scripts/create_preinstalled_scripts/run25.hql b/docker/thirdparties/docker-compose/hive/scripts/create_preinstalled_scripts/run25.hql index 66e73f51df8..da6400bdff0 100755 --- a/docker/thirdparties/docker-compose/hive/scripts/create_preinstalled_scripts/run25.hql +++ b/docker/thirdparties/docker-compose/hive/scripts/create_preinstalled_scripts/run25.hql @@ -61,8 +61,7 @@ STORED AS ORC; INSERT INTO TABLE orc_to_acid_compacted_tb PARTITION (part_col=101) VALUES (1, 'A'), (3, 'C'); INSERT INTO TABLE orc_to_acid_compacted_tb PARTITION (part_col=102) VALUES (2, 'B'); ALTER TABLE orc_to_acid_compacted_tb SET TBLPROPERTIES ('transactional'='true'); -ALTER TABLE orc_to_acid_compacted_tb partition(part_col='101') COMPACT 'major' and wait; -ALTER TABLE orc_to_acid_compacted_tb partition(part_col='102') COMPACT 'major' and wait; +ALTER TABLE orc_to_acid_compacted_tb COMPACT 'major'; INSERT INTO TABLE orc_to_acid_compacted_tb PARTITION (part_col=102) VALUES (4, 'D'); update orc_to_acid_compacted_tb set value = "CC" where id = 3; update orc_to_acid_compacted_tb set value = "BB" where id = 2; @@ -76,7 +75,7 @@ insert into orc_acid_minor values (1, 'A'); insert into orc_acid_minor values (2, 'B'); insert into orc_acid_minor values (3, 'C'); update orc_acid_minor set value = "BB" where id = 2; -ALTER TABLE orc_acid_minor COMPACT 'minor' and wait; +ALTER TABLE orc_acid_minor COMPACT 'minor'; insert into orc_acid_minor values (4, 'D'); update orc_acid_minor set value = "DD" where id = 4; DELETE FROM orc_acid_minor WHERE id = 3; @@ -90,7 +89,7 @@ insert into orc_acid_major values (1, 'A'); insert into orc_acid_major values (2, 'B'); insert into orc_acid_major values (3, 'C'); update orc_acid_major set value = "BB" where id = 2; -ALTER TABLE orc_acid_major COMPACT 'minor' and wait; +ALTER TABLE orc_acid_major COMPACT 'minor'; insert into orc_acid_major values (4, 'D'); update orc_acid_major set value = "DD" where id = 4; DELETE FROM orc_acid_major WHERE id = 3; diff --git a/regression-test/suites/external_table_p2/hive/test_hive_translation_insert_only.groovy b/regression-test/suites/external_table_p2/hive/test_hive_translation_insert_only.groovy index 9b021e1dc81..e9342161d49 100644 --- a/regression-test/suites/external_table_p2/hive/test_hive_translation_insert_only.groovy +++ b/regression-test/suites/external_table_p2/hive/test_hive_translation_insert_only.groovy @@ -21,7 +21,6 @@ suite("test_hive_translation_insert_only", "p2,external,hive,external_remote,ext //hudi hive use same catalog in p2. if (enabled == null || !enabled.equalsIgnoreCase("true")) { logger.info("disable test") - return; } String props = context.config.otherConfigs.get("hudiEmrCatalog") --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org