jasonli-db commented on code in PR #41964:
URL: https://github.com/apache/spark/pull/41964#discussion_r1264242195
##########
connector/connect/server/src/main/scala/org/apache/spark/sql/connect/config/Connect.scala:
##########
@@ -115,4 +115,17 @@ object Connect {
.version("3.5.0")
.booleanConf
.createWithDefault(false)
+
+ val CONNECT_UI_STATEMENT_LIMIT =
+ ConfigBuilder("spark.sql.connect.ui.retainedStatements")
+ .doc("The number of statements kept in the Spark Connect UI history.")
+ .version("3.5.0")
+ .intConf
+ .createWithDefault(200)
Review Comment:
This is what the Thrift Server has for defaults:
https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala#L1414.
Can be changed though. Is 1000 preferred?
--
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]