This is an automated email from the ASF dual-hosted git repository. kxiao pushed a commit to branch branch-2.0 in repository https://gitbox.apache.org/repos/asf/doris.git
commit d6bc08879f230a64a249de689230ed50811a8c9a Author: lihangyu <[email protected]> AuthorDate: Thu Jul 20 10:32:30 2023 +0800 [Fix](topn opt) forbit outfile when using 2phase read (#21991) "Enabling two-phase query for similar select * from tbl into outfile "file:/xxx/" format as orc; queries can lead to performance issues due to the fetch operation." --- fe/fe-core/src/main/java/org/apache/doris/analysis/SelectStmt.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fe/fe-core/src/main/java/org/apache/doris/analysis/SelectStmt.java b/fe/fe-core/src/main/java/org/apache/doris/analysis/SelectStmt.java index 9a98195e03..da9fca26c9 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/analysis/SelectStmt.java +++ b/fe/fe-core/src/main/java/org/apache/doris/analysis/SelectStmt.java @@ -722,7 +722,8 @@ public class SelectStmt extends QueryStmt { if (getAggInfo() != null || getHavingPred() != null || getWithClause() != null - || getAnalyticInfo() != null) { + || getAnalyticInfo() != null + || hasOutFileClause()) { return false; } // ignore short circuit query --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
