dongjoon-hyun 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_r376554744
 
 

 ##########
 File path: 
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
 ##########
 @@ -2077,9 +2077,11 @@ object SQLConf {
 
   val LEGACY_CTE_PRECEDENCE_ENABLED = 
buildConf("spark.sql.legacy.ctePrecedence.enabled")
     .internal()
-    .doc("When true, outer CTE definitions takes precedence over inner 
definitions.")
+    .doc("When true, outer CTE definitions takes precedence over inner 
definitions. If set to " +
+      "false, inner CTE definitions take precedence. The default value is 
empty, which keep the " +
 
 Review comment:
   Actually, `keep the behavior` is not correct because the 2.4.x behavior is 
`true`. The default value is new behavior in 3.0, isn't it?

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