amaliujia commented on PR #53129: URL: https://github.com/apache/spark/pull/53129#issuecomment-3555646805
> @amaliujia no breaking behavior here, use 4.1.0-preview4 > > ``` > spark-sql (default)> CREATE GLOBAL TEMPORARY VIEW v AS SELECT 1; > spark-sql (default)> CREATE GLOBAL TEMPORARY VIEW v AS SELECT 1; > [TEMP_TABLE_OR_VIEW_ALREADY_EXISTS] Cannot create the temporary view `v` because it already exists. > Choose a different name, drop or replace the existing view, or add the IF NOT EXISTS clause to tolerate pre-existing views. SQLSTATE: 42P07 > ``` > > and as you can see, the error message even suggests "add the IF NOT EXISTS clause" Then this PR is just extending the feature which makes perfectly sense. -- 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]
