Jibing-Li commented on code in PR #24414:
URL: https://github.com/apache/doris/pull/24414#discussion_r1328103648
##########
fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java:
##########
@@ -450,6 +451,10 @@ public class SessionVariable implements Serializable,
Writable {
@VariableMgr.VarAttr(name = QUERY_TIMEOUT)
public int queryTimeoutS = 300;
+ // query timeout in second.
+ @VariableMgr.VarAttr(name = ANALYZE_TIMEOUT)
+ public int analyzeTimeoutS = 43200;
Review Comment:
> Is it too long for the analyze stmt?
I think 12 hours is OK here. When user send analyze table/db command with
sync, I think it shouldn't timeout. The user could manually kill it. Or, they
can analyze async with background tasks.
--
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]