Skip to content

Commit 5598c24

Browse files
committed
update hive hql
1 parent b5d73ab commit 5598c24

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

docker/thirdparties/docker-compose/hive/scripts/create_preinstalled_scripts/run83.hpl renamed to docker/thirdparties/docker-compose/hive/scripts/create_preinstalled_scripts/run83.hql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
use `default`;
1+
create database if not exists test_varbinary;
2+
use test_varbinary;
23

34
DROP TABLE IF EXISTS test_hive_binary_orc;
45
DROP TABLE IF EXISTS test_hive_binary_parquet;

regression-test/suites/external_table_p0/hive/test_hive_varbinary_type.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ suite("test_hive_varbinary_type","p0,external,tvf,hive,external_docker,external_
4848

4949
// no mapping
5050
sql """ switch ${catalog_name_no_mapping}"""
51-
sql """ use `default` """
51+
sql """ use `test_varbinary` """
5252
qt_select1 """ select * from test_hive_binary_orc order by id; """
5353
qt_select2 """ select * from test_hive_binary_parquet order by id; """
5454
qt_select3 """ select * from test_hive_uuid_fixed_orc order by id; """
@@ -69,7 +69,7 @@ suite("test_hive_varbinary_type","p0,external,tvf,hive,external_docker,external_
6969

7070
// with mapping
7171
sql """ switch ${catalog_name_with_mapping} """
72-
sql """ use `default` """
72+
sql """ use `test_varbinary` """
7373
qt_select14 """ select * from test_hive_binary_orc order by id; """
7474
qt_select15 """ select * from test_hive_binary_parquet order by id; """
7575
qt_select16 """ select * from test_hive_uuid_fixed_orc order by id; """

0 commit comments

Comments
 (0)