Skip to content

Commit

Permalink
test: fix struct integration tests (#496)
Browse files Browse the repository at this point in the history
  • Loading branch information
ptiurin authored Feb 27, 2025
1 parent 65cc749 commit 0ee8137
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ void shouldInsertAndSelectStruct() throws SQLException {
statement.executeUpdate();
}
setParam(connection, "advanced_mode", "true");
setParam(connection, "enable_row_selection", "true");
setParam(connection, "enable_struct_syntax", "true");
try (Statement statement = connection.createStatement();
ResultSet rs = statement
.executeQuery("SELECT prepared_statement_test FROM prepared_statement_test")) {
Expand Down Expand Up @@ -473,7 +473,7 @@ void shouldInsertAndSelectComplexStruct() throws SQLException {
}

setParam(connection, "advanced_mode", "true");
setParam(connection, "enable_row_selection", "true");
setParam(connection, "enable_struct_syntax", "true");
try (Statement statement = connection.createStatement()) {
statement.execute(
"INSERT INTO test_struct(id, s) SELECT 1, test_struct_helper FROM test_struct_helper");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
SET advanced_mode=1;
SET enable_struct=1;
SET enable_create_table_v2=true;
SET enable_row_selection=true;
SET enable_struct_syntax=true;
SET prevent_create_on_information_schema=true;
SET enable_create_table_with_struct_type=true;
DROP TABLE IF EXISTS test_struct;
Expand Down

0 comments on commit 0ee8137

Please sign in to comment.