morningman commented on code in PR #48095:
URL: https://github.com/apache/doris/pull/48095#discussion_r1965014769
##########
fe/fe-core/src/main/java/org/apache/doris/qe/StmtExecutor.java:
##########
@@ -573,6 +573,11 @@ public void queryRetry(TUniqueId queryId) throws Exception
{
UUID uuid;
int retryTime = Config.max_query_retry_time;
retryTime = retryTime <= 0 ? 1 : retryTime + 1;
+ // If the query is an `outfile` statement,
+ // we execute it only once to avoid exporting redundant data.
+ if (parsedStmt instanceof Queriable) {
Review Comment:
We can not handle the retry of outfile, so I think it is not necessary to
add variable to control it.
--
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]