viirya commented on a change in pull request #26164: [SPARK-21492][SQL] Fix
memory leak in SortMergeJoin
URL: https://github.com/apache/spark/pull/26164#discussion_r336653107
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
##########
@@ -1437,6 +1437,14 @@ object SQLConf {
.intConf
.createWithDefault(SHUFFLE_SPILL_NUM_ELEMENTS_FORCE_SPILL_THRESHOLD.defaultValue.get)
+ val SORT_MERGE_JOIN_EXEC_EAGER_CLEANUP_RESOURCES =
+ buildConf("spark.sql.sortMergeJoinExec.eagerCleanupResources")
+ .internal()
+ .doc("When true, the SortMergeJoinExec will trigger all upstream
resources cleanup right " +
+ "after it finishes computing.")
+ .booleanConf
+ .createWithDefault(true)
Review comment:
In any case, we will like to set this false? We need it to be configurable?
----------------------------------------------------------------
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]