File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -214,15 +214,14 @@ def select_geography_response() -> List[ColType]:
214214def setup_struct_query () -> str :
215215 return """
216216 SET advanced_mode=1;
217- SET enable_struct=1;
218217 SET enable_create_table_v2=true;
219- SET enable_row_selection =true;
218+ SET enable_struct_syntax =true;
220219 SET prevent_create_on_information_schema=true;
221220 SET enable_create_table_with_struct_type=true;
222221 DROP TABLE IF EXISTS test_struct;
223222 DROP TABLE IF EXISTS test_struct_helper;
224- CREATE TABLE IF NOT EXISTS test_struct(id int not null, s struct(a array(int) not null, b datetime null) not null);
225- CREATE TABLE IF NOT EXISTS test_struct_helper(a array(int) not null, b datetime null);
223+ CREATE TABLE IF NOT EXISTS test_struct(id int not null, s struct(a array(int) null, b datetime null) not null);
224+ CREATE TABLE IF NOT EXISTS test_struct_helper(a array(int) null, b datetime null);
226225 INSERT INTO test_struct_helper(a, b) VALUES ([1, 2], '2019-07-31 01:01:01');
227226 INSERT INTO test_struct(id, s) SELECT 1, test_struct_helper FROM test_struct_helper;
228227 """
You can’t perform that action at this time.
0 commit comments