From 17e68a6bfb7e73759a120574a6007918ba2b10b2 Mon Sep 17 00:00:00 2001 From: morningman Date: Sat, 14 Sep 2024 14:05:29 +0800 Subject: [PATCH] 5 --- .../hive/test_hive_partition_values_tvf.out | 9 +++++++-- .../hive/test_hive_partition_values_tvf.groovy | 5 +++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/regression-test/data/external_table_p0/hive/test_hive_partition_values_tvf.out b/regression-test/data/external_table_p0/hive/test_hive_partition_values_tvf.out index b75f9fb282cbea8..549c1834b6cca96 100644 --- a/regression-test/data/external_table_p0/hive/test_hive_partition_values_tvf.out +++ b/regression-test/data/external_table_p0/hive/test_hive_partition_values_tvf.out @@ -88,12 +88,17 @@ t_int text No false \N NONE t_float text No false \N NONE t_string text No false \N NONE --- !sql91 -- +-- !sql93 -- t_int text No false \N NONE --- !sql92 -- +-- !sql94 -- t_int text No false \N NONE +-- !sql95 -- +100 0.3 test3 +__HIVE_DEFAULT_PARTITION__ 0.1 test1 +__HIVE_DEFAULT_PARTITION__ 0.2 test2 + -- !sql101 -- k1 int Yes true \N diff --git a/regression-test/suites/external_table_p0/hive/test_hive_partition_values_tvf.groovy b/regression-test/suites/external_table_p0/hive/test_hive_partition_values_tvf.groovy index 27391800beab5c0..371528d291add81 100644 --- a/regression-test/suites/external_table_p0/hive/test_hive_partition_values_tvf.groovy +++ b/regression-test/suites/external_table_p0/hive/test_hive_partition_values_tvf.groovy @@ -79,8 +79,9 @@ suite("test_hive_partition_values_tvf", "p0,external,hive,external_docker,extern // 10. test desc qt_sql91 """desc orc_partitioned_columns\$partitions""" qt_sql92 """desc function partition_values("catalog" = "${catalog_name}", "database" = "multi_catalog", "table" = "orc_partitioned_columns");""" - qt_sql91 """desc orc_partitioned_one_column\$partitions""" - qt_sql92 """desc function partition_values("catalog" = "${catalog_name}", "database" = "multi_catalog", "table" = "orc_partitioned_one_column");""" + qt_sql93 """desc orc_partitioned_one_column\$partitions""" + qt_sql94 """desc function partition_values("catalog" = "${catalog_name}", "database" = "multi_catalog", "table" = "orc_partitioned_one_column");""" + qt_sql95 """select * from partition_values("catalog" = "${catalog_name}", "database" = "multi_catalog", "table" = "orc_partitioned_columns") order by t_int, t_float""" // 11. test non partition table test {