Skip to content

Commit 6e1908b

Browse files
committed
use gt_ prefix for schema
1 parent 80afaff commit 6e1908b

File tree

5 files changed

+45
-45
lines changed

5 files changed

+45
-45
lines changed

trino-connector/integration-test/src/test/resources/trino-ci-testset/testsets/hive/00008_decimal.sql

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
CREATE SCHEMA gt_hive.decimal_db1;
1+
CREATE SCHEMA gt_hive.gt_decimal_db1;
22

3-
USE gt_hive.decimal_db1;
3+
USE gt_hive.gt_decimal_db1;
44

55
CREATE TABLE test_decimal_bounds (amount DECIMAL(10, 2));
66

@@ -44,14 +44,14 @@ INSERT INTO test_decimal_nulls VALUES (NULL), (123.45), (NULL);
4444

4545
SELECT * FROM test_decimal_nulls;
4646

47-
DROP TABLE gt_hive.decimal_db1.test_decimal_bounds;
47+
DROP TABLE gt_hive.gt_decimal_db1.test_decimal_bounds;
4848

49-
DROP TABLE gt_hive.decimal_db1.test_decimal_aggregation;
49+
DROP TABLE gt_hive.gt_decimal_db1.test_decimal_aggregation;
5050

51-
DROP TABLE gt_hive.decimal_db1.test_decimal_arithmetic;
51+
DROP TABLE gt_hive.gt_decimal_db1.test_decimal_arithmetic;
5252

53-
DROP TABLE gt_hive.decimal_db1.test_decimal_max_min;
53+
DROP TABLE gt_hive.gt_decimal_db1.test_decimal_max_min;
5454

55-
DROP TABLE gt_hive.decimal_db1.test_decimal_nulls;
55+
DROP TABLE gt_hive.gt_decimal_db1.test_decimal_nulls;
5656

57-
DROP SCHEMA gt_hive.decimal_db1;
57+
DROP SCHEMA gt_hive.gt_decimal_db1;

trino-connector/integration-test/src/test/resources/trino-ci-testset/testsets/hive/00009_array.sql

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
CREATE SCHEMA gt_hive.array_db1;
1+
CREATE SCHEMA gt_hive.gt_array_db1;
22

3-
USE gt_hive.array_db1;
3+
USE gt_hive.gt_array_db1;
44

55
CREATE TABLE test_array_basic (int_array ARRAY(INTEGER));
66

@@ -48,18 +48,18 @@ INSERT INTO test_nested_array VALUES (ARRAY[ARRAY['a', 'b'], ARRAY['c', 'd']]);
4848

4949
SELECT nested_array FROM test_nested_array;
5050

51-
DROP TABLE gt_hive.array_db1.test_array_basic;
51+
DROP TABLE gt_hive.gt_array_db1.test_array_basic;
5252

53-
DROP TABLE gt_hive.array_db1.test_array_access;
53+
DROP TABLE gt_hive.gt_array_db1.test_array_access;
5454

55-
DROP TABLE gt_hive.array_db1.test_array_concat;
55+
DROP TABLE gt_hive.gt_array_db1.test_array_concat;
5656

57-
DROP TABLE gt_hive.array_db1.test_array_sort;
57+
DROP TABLE gt_hive.gt_array_db1.test_array_sort;
5858

59-
DROP TABLE gt_hive.array_db1.test_array_nulls;
59+
DROP TABLE gt_hive.gt_array_db1.test_array_nulls;
6060

61-
DROP TABLE gt_hive.array_db1.test_array_agg;
61+
DROP TABLE gt_hive.gt_array_db1.test_array_agg;
6262

63-
DROP TABLE gt_hive.array_db1.test_nested_array;
63+
DROP TABLE gt_hive.gt_array_db1.test_nested_array;
6464

65-
DROP SCHEMA gt_hive.array_db1;
65+
DROP SCHEMA gt_hive.gt_array_db1;

trino-connector/integration-test/src/test/resources/trino-ci-testset/testsets/hive/00010_map.sql

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
CREATE SCHEMA gt_hive.map_db1;
1+
CREATE SCHEMA gt_hive.gt_map_db1;
22

3-
USE gt_hive.map_db1;
3+
USE gt_hive.gt_map_db1;
44

55
CREATE TABLE test_map_nulls (string_map MAP(VARCHAR, VARCHAR));
66

@@ -38,12 +38,12 @@ INSERT INTO test_map_aggregation VALUES (MAP(ARRAY['a', 'b'], ARRAY[1, 2])), (MA
3838

3939
SELECT map_data['a'] AS key_a, SUM(map_data['b']) AS sum_b FROM test_map_aggregation GROUP BY map_data['a'] ORDER BY key_a;
4040

41-
DROP TABLE gt_hive.map_db1.test_map_nulls;
41+
DROP TABLE gt_hive.gt_map_db1.test_map_nulls;
4242

43-
DROP TABLE gt_hive.map_db1.test_map_types;
43+
DROP TABLE gt_hive.gt_map_db1.test_map_types;
4444

45-
DROP TABLE gt_hive.map_db1.test_map_complex;
45+
DROP TABLE gt_hive.gt_map_db1.test_map_complex;
4646

47-
DROP TABLE gt_hive.map_db1.test_map_aggregation;
47+
DROP TABLE gt_hive.gt_map_db1.test_map_aggregation;
4848

49-
DROP SCHEMA gt_hive.map_db1;
49+
DROP SCHEMA gt_hive.gt_map_db1;

trino-connector/integration-test/src/test/resources/trino-ci-testset/testsets/hive/00011_row.sql

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
CREATE SCHEMA gt_hive.row_db1;
1+
CREATE SCHEMA gt_hive.gt_row_db1;
22

3-
USE gt_hive.row_db1;
3+
USE gt_hive.gt_row_db1;
44

55
CREATE TABLE test_row_basic (person ROW(id INTEGER, name VARCHAR));
66

@@ -72,20 +72,20 @@ INSERT INTO test_row_basic SELECT ROW(id, name) FROM source_tb1;
7272

7373
SELECT person.id, COUNT(*) FROM test_row_basic GROUP BY person.id ORDER BY person.id;
7474

75-
DROP TABLE gt_hive.row_db1.test_row_basic;
75+
DROP TABLE gt_hive.gt_row_db1.test_row_basic;
7676

77-
DROP TABLE gt_hive.row_db1.source_tb1;
77+
DROP TABLE gt_hive.gt_row_db1.source_tb1;
7878

79-
DROP TABLE gt_hive.row_db1.test_nested_row;
79+
DROP TABLE gt_hive.gt_row_db1.test_nested_row;
8080

81-
DROP TABLE gt_hive.row_db1.test_mixed_row;
81+
DROP TABLE gt_hive.gt_row_db1.test_mixed_row;
8282

83-
DROP TABLE gt_hive.row_db1.source_tb2;
83+
DROP TABLE gt_hive.gt_row_db1.source_tb2;
8484

85-
DROP TABLE gt_hive.row_db1.source_tb3;
85+
DROP TABLE gt_hive.gt_row_db1.source_tb3;
8686

87-
DROP TABLE gt_hive.row_db1.test_row_in_array_map;
87+
DROP TABLE gt_hive.gt_row_db1.test_row_in_array_map;
8888

89-
DROP TABLE gt_hive.row_db1.source_tb5;
89+
DROP TABLE gt_hive.gt_row_db1.source_tb5;
9090

91-
DROP SCHEMA gt_hive.row_db1;
91+
DROP SCHEMA gt_hive.gt_row_db1;

trino-connector/integration-test/src/test/resources/trino-ci-testset/testsets/hive/00012_format.sql

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
CREATE SCHEMA gt_hive.format_db1;
1+
CREATE SCHEMA gt_hive.gt_format_db1;
22

3-
USE gt_hive.format_db1;
3+
USE gt_hive.gt_format_db1;
44

55
CREATE TABLE storage_formats_orc (
66
c_boolean boolean,
@@ -161,16 +161,16 @@ INSERT INTO storage_formats_avro VALUES (true,127,32767,2147483647,9223372036854
161161

162162
SELECT * FROM storage_formats_avro;
163163

164-
DROP TABLE gt_hive.format_db1.storage_formats_orc;
164+
DROP TABLE gt_hive.gt_format_db1.storage_formats_orc;
165165

166-
DROP TABLE gt_hive.format_db1.storage_formats_textfile;
166+
DROP TABLE gt_hive.gt_format_db1.storage_formats_textfile;
167167

168-
DROP TABLE gt_hive.format_db1.storage_formats_parquet;
168+
DROP TABLE gt_hive.gt_format_db1.storage_formats_parquet;
169169

170-
DROP TABLE gt_hive.format_db1.storage_formats_rcfile;
170+
DROP TABLE gt_hive.gt_format_db1.storage_formats_rcfile;
171171

172-
DROP TABLE gt_hive.format_db1.storage_formats_sequencefile;
172+
DROP TABLE gt_hive.gt_format_db1.storage_formats_sequencefile;
173173

174-
DROP TABLE gt_hive.format_db1.storage_formats_avro;
174+
DROP TABLE gt_hive.gt_format_db1.storage_formats_avro;
175175

176-
DROP SCHEMA gt_hive.format_db1;
176+
DROP SCHEMA gt_hive.gt_format_db1;

0 commit comments

Comments
 (0)