chenfengbin2009 commented on code in PR #47911:
URL: https://github.com/apache/spark/pull/47911#discussion_r1736425963
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala:
##########
@@ -351,6 +351,14 @@ object SQLConf {
.booleanConf
.createWithDefault(true)
+ val DYNAMIC_PARTITION_PRUNING_MAX_LENGTH =
+ buildConf("spark.sql.optimizer.dynamicPartitionPruning.max.length")
+ .doc("The maximum character length of the plan for the nested
subquery.When the set length " +
+ "is too large, it may cause the final plan to exceed the limit or
memory overflow.")
+ .version("3.3.0")
Review Comment:
Your suggestion is very good. I will modify the relevant content and submit
it again. Do you have any better suggestions for the modified code?
--
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]