caiconghui commented on code in PR #26032:
URL: https://github.com/apache/doris/pull/26032#discussion_r1374497081


##########
fe/fe-core/src/main/java/org/apache/doris/load/ExportJob.java:
##########
@@ -230,7 +230,8 @@ public void setJob(ExportStmt stmt) throws UserException {
         this.parallelNum = stmt.getParallelNum();
         this.exportPath = path;
         this.sessionVariables = stmt.getSessionVariables();
-        this.timeoutSecond = sessionVariables.getQueryTimeoutS();
+        this.timeoutSecond = stmt.getTimeout();
+        this.sessionVariables.setQueryTimeoutS(this.timeoutSecond);

Review Comment:
   here we should clone one session variables to avoid change origin session 
variable values



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