viirya commented on a change in pull request #30047:
URL: https://github.com/apache/spark/pull/30047#discussion_r505211014



##########
File path: 
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
##########
@@ -1458,6 +1458,15 @@ object SQLConf {
       .booleanConf
       .createWithDefault(true)
 
+  val JSON_EXPRESSION_OPTIMIZATION =
+    buildConf("spark.sql.optimizer.enableJsonExpressionOptimization")

Review comment:
       `excludedRules` should work, but I'm thinking to add CSV expression 
optimization similar to JSON in same rule. If so, a separate config for 
JSON/CSV expression seems good. If we have two rules for JSON, CSV 
individually, then `excludedRules` might be enough.




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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to