xuanyuanking opened a new pull request #27454: [SPARK-28228][SQL] Change the 
default behavior for nested WITH clause
URL: https://github.com/apache/spark/pull/27454
 
 
   ### What changes were proposed in this pull request?
   This is a follow-up for #25029, in this PR we throw an AnalysisException for 
nested WITH clause. In this way, the config 
`spark.sql.legacy.ctePrecedence.enabled` should be set explicitly for the 
expected behavior.
   
   ### Why are the changes needed?
   The original change is risky, it may change behavior silently.
   
   ### Does this PR introduce any user-facing change?
   Yes, change the config `spark.sql.legacy.ctePrecedence.enabled` as optional.
   
   ### How was this patch tested?
   New UT.

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