Skip to content

Commit

Permalink
5
Browse files Browse the repository at this point in the history
  • Loading branch information
morningman committed Sep 14, 2024
1 parent df069cd commit 17e68a6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 17e68a6

Please sign in to comment.