morningman commented on code in PR #33836:
URL: https://github.com/apache/doris/pull/33836#discussion_r1574534327


##########
fe/fe-core/src/main/java/org/apache/doris/qe/ConnectContext.java:
##########
@@ -995,7 +996,7 @@ public int getExecTimeout() {
             // particular for insert stmt, we can expand other type of timeout 
in the same way
             return Math.max(sessionVariable.getInsertTimeoutS(), 
sessionVariable.getQueryTimeoutS());
         } else if (executor != null && executor.isAnalyzeStmt()) {
-            return sessionVariable.getAnalyzeTimeoutS();
+            return StatisticConstants.ANALYZE_TIMEOUT_IN_SEC;

Review Comment:
   For `analyze` stmt, why use fixed timeout value?



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to