From 2ccff80908c8884f3b1ffa2beea69cd2d148a7e7 Mon Sep 17 00:00:00 2001 From: Matt Topol Date: Wed, 16 Oct 2024 13:49:19 -0400 Subject: [PATCH] use create or replace --- c/driver/snowflake/snowflake_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c/driver/snowflake/snowflake_test.cc b/c/driver/snowflake/snowflake_test.cc index 67d3cbb3fd..21322ad7ea 100644 --- a/c/driver/snowflake/snowflake_test.cc +++ b/c/driver/snowflake/snowflake_test.cc @@ -99,7 +99,7 @@ class SnowflakeQuirks : public adbc_validation::DriverQuirks { adbc_validation::Handle 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));