cloud-fan commented on a change in pull request #27454: [SPARK-28228][SQL] 
Change the default behavior for name conflict in nested WITH clause
URL: https://github.com/apache/spark/pull/27454#discussion_r375668782
 
 

 ##########
 File path: sql/core/src/test/resources/sql-tests/inputs/cte-nonlegacy.sql
 ##########
 @@ -0,0 +1,115 @@
+create temporary view t as select * from values 0, 1, 2 as t(id);
+create temporary view t2 as select * from values 0, 1 as t(id);
+
+-- CTE non-legacy substitution
+SET spark.sql.legacy.ctePrecedence.enabled=false;
 
 Review comment:
   use `--SET spark.sql.legacy.ctePrecedence.enabled=false`, so that this won't 
be treated as a query and appear in the result query.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to