cloud-fan commented on code in PR #53487:
URL: https://github.com/apache/spark/pull/53487#discussion_r2626022988


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala:
##########
@@ -5414,6 +5414,16 @@ object SQLConf {
     .booleanConf
     .createWithDefault(false)
 
+  val LEGACY_CTE_DUPLICATE_ATTRIBUTE_NAMES =
+    buildConf("spark.sql.legacy.cteDuplicateAttributeNames")
+      .internal()
+      .doc("When true, CTE references sometimes (e.g., self-joins) may 
incorrectly unify column" +
+        "names that differ only in casing (e.g., COLNAME and colname become 
the same). This is" +
+        "the legacy behavior. When false, column name casing is preserved 
correctly.")
+      .version("4.1.0")

Review Comment:
   ```suggestion
         .version("4.2.0")
   ```



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

Reply via email to