-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
src/integrationTest/resources/statements/prepared-statement-struct/cleanup.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
DROP TABLE IF EXISTS test_struct; | ||
DROP TABLE IF EXISTS test_struct_helper; |
10 changes: 10 additions & 0 deletions
10
src/integrationTest/resources/statements/prepared-statement-struct/ddl.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
SET advanced_mode=1; | ||
SET enable_struct=1; | ||
SET enable_create_table_v2=true; | ||
SET enable_row_selection=true; | ||
SET prevent_create_on_information_schema=true; | ||
SET enable_create_table_with_struct_type=true; | ||
DROP TABLE IF EXISTS test_struct; | ||
DROP TABLE IF EXISTS test_struct_helper; | ||
CREATE TABLE IF NOT EXISTS test_struct(id int not null, s struct(a array(text) not null, b datetime null) not null); | ||
CREATE TABLE IF NOT EXISTS test_struct_helper(a array(text) not null, b datetime null); |