MaxGekk commented on code in PR #48961:
URL: https://github.com/apache/spark/pull/48961#discussion_r1858653629
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala:
##########
@@ -5268,6 +5268,15 @@ object SQLConf {
.booleanConf
.createWithDefault(true)
+ val OPTIONAL_TRAILING_COMMA_IN_NAMED_EXPRESSION_LISTS =
+ buildConf("spark.sql.optionalTrailingCommaInNamedExpressionLists")
Review Comment:
The config name confuses slightly. I would think if it is `true`, the
trailing comma is optional otherwise is mandatory ;-).
```suggestion
buildConf("spark.sql.allowTrailingCommaInNamedExpressionLists")
```
--
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]