mgaido91 commented on a change in pull request #25029: [SPARK-28228][SQL] Fix 
substitution order of nested WITH clauses
URL: https://github.com/apache/spark/pull/25029#discussion_r302706377
 
 

 ##########
 File path: 
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
 ##########
 @@ -2322,6 +2328,8 @@ class SQLConf extends Serializable with Logging {
 
   def defaultV2Catalog: Option[String] = getConf(DEFAULT_V2_CATALOG)
 
+  def legacyCTESubstitutionEnabled: Boolean = 
getConf(LEGACY_CTE_SUBSTITUTION_ENABLED)
 
 Review comment:
   nit: since this is used only once, shall we avoid the definition of this 
method and just use `getConf` of the property where needed?

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