pan3793 commented on code in PR #53129:
URL: https://github.com/apache/spark/pull/53129#discussion_r2541333882


##########
sql/core/src/main/scala/org/apache/spark/sql/execution/SparkSqlParser.scala:
##########
@@ -695,12 +696,6 @@ class SparkSqlAstBuilder extends AstBuilder {
         ctx.REPLACE != null,
         finalSchemaBinding)
     } else {
-      // Disallows 'CREATE TEMPORARY VIEW IF NOT EXISTS' to be consistent with
-      // 'CREATE TEMPORARY TABLE'

Review Comment:
   the logic came from SPARK-6339 (Spark 2.0.0), but seems without a clear 
reason



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