We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3348555 + 3e9bee6 commit eb5eb31Copy full SHA for eb5eb31
src/main/java/org/embulk/output/snowflake/SnowflakeOutputConnection.java
@@ -85,7 +85,7 @@ protected String buildCreateStageSQL(StageIdentifier stageIdentifier) {
85
86
protected String buildDropStageSQL(StageIdentifier stageIdentifier) {
87
StringBuilder sb = new StringBuilder();
88
- sb.append("DROP STAGE ");
+ sb.append("DROP STAGE IF EXISTS ");
89
quoteStageIdentifier(sb, stageIdentifier);
90
sb.append(";");
91
return sb.toString();
0 commit comments