maropu commented on a change in pull request #29933:
URL: https://github.com/apache/spark/pull/29933#discussion_r503895348
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
##########
@@ -893,6 +893,16 @@ object SQLConf {
.booleanConf
.createWithDefault(false)
+ val THRIFTSERVER_QUERY_TIMEOUT =
+ buildConf("spark.sql.thriftServer.queryTimeout")
+ .doc("Specifies timeout in seconds for Thrift Server. A query will be
cancelled " +
+ "automatically after the specified time. If a timeout value is set for
each statement " +
+ "(e.g., via `java.sql.Statement.setQueryTimeout`), the value takes
precedence. " +
+ "If the value is zero or negative, no timeout happens.")
+ .version("3.1.0")
Review comment:
Yea, I think so.
----------------------------------------------------------------
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]