Skip to content

Commit

Permalink
use create or replace
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroshade committed Oct 16, 2024
1 parent 7d17a68 commit 2ccff80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c/driver/snowflake/snowflake_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class SnowflakeQuirks : public adbc_validation::DriverQuirks {
adbc_validation::Handle<struct AdbcStatement> statement;
CHECK_OK(AdbcStatementNew(connection, &statement.value, error));

std::string create = "CREATE TABLE \"";
std::string create = "CREATE OR REPLACE TABLE \"";
create += name;
create += "\" (int64s INT, strings TEXT)";
CHECK_OK(AdbcStatementSetSqlQuery(&statement.value, create.c_str(), error));
Expand Down

0 comments on commit 2ccff80

Please sign in to comment.