purbanow commented on a change in pull request #12117:
URL: https://github.com/apache/beam/pull/12117#discussion_r450012687



##########
File path: 
sdks/java/io/snowflake/src/main/java/org/apache/beam/sdk/io/snowflake/services/SnowflakeServiceImpl.java
##########
@@ -169,6 +191,54 @@ private void prepareTableAccordingWriteDisposition(
     }
   }
 
+  private void createTableIfNotExists(
+      DataSource dataSource, String table, SnowflakeTableSchema tableSchema) 
throws SQLException {
+    String query =
+        String.format(
+            "SELECT EXISTS (SELECT 1 FROM  information_schema.tables  WHERE  
table_name = '%s');",

Review comment:
       Totally not. Thanks for spotting this .




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to