cloud-fan commented on code in PR #53129:
URL: https://github.com/apache/spark/pull/53129#discussion_r2630083536


##########
sql/core/src/main/scala/org/apache/spark/sql/execution/SparkSqlParser.scala:
##########
@@ -515,6 +515,7 @@ class SparkSqlAstBuilder extends AstBuilder {
     CreateTempViewUsing(
       tableIdent = visitTableIdentifier(ctx.tableIdentifier()),
       userSpecifiedSchema = Option(ctx.colTypeList()).map(createSchema),
+      ignoreIfExists = ctx.EXISTS != null,

Review Comment:
   can we throw parser error if OR REPLACE and IF NOT EXISTS are both specified?



-- 
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.

To unsubscribe, e-mail: [email protected]

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to