We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6b3b6a commit 39119efCopy full SHA for 39119ef
1 file changed
snowflake/src/main/java/org/apache/sedona/snowflake/snowsql/ddl/DDLGenerator.java
@@ -81,7 +81,7 @@ public static void main(String[] args) {
81
}
82
stageName = "";
83
System.out.println("-- Generating DDL for Snowflake Native App");
84
- System.out.println("CREATE APPLICATION ROLE " + appRoleName + ";");
+ System.out.println("CREATE APPLICATION ROLE IF NOT EXISTS " + appRoleName + ";");
85
System.out.println("CREATE OR ALTER VERSIONED SCHEMA sedona;");
86
System.out.println("GRANT USAGE ON SCHEMA sedona TO APPLICATION ROLE " + appRoleName + ";");
87
0 commit comments