pan3793 commented on code in PR #54133:
URL: https://github.com/apache/spark/pull/54133#discussion_r2787056530


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/StaticSQLConf.scala:
##########
@@ -236,6 +236,15 @@ object StaticSQLConf {
       .booleanConf
       .createWithDefault(false)
 
+  val SQL_UI_APP_STATUS_LISTENER_ENABLED =
+    buildStaticConf("spark.sql.ui.appStatusListener.enabled")
+      .doc("Whether to enable SQLAppStatusListener for collecting SQL 
execution metrics. " +
+        "Disabling this can significantly reduce driver memory usage for 
complex queries with " +
+        "many stages and tasks, but will result in limited SQL execution 
information in the UI.")
+      .version("4.0.0")
+      .booleanConf
+      .createWithDefault(true)

Review Comment:
   Spark currently under 4.2 development cycle so version should be "4.2.0".
   
   I agree `appStatusListener` should keep enabled by default. But could you 
disable it and tigger a round CI, to help us evaluate the impact?



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