[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."
This commit is contained in:
lihangyu
2023-07-20 10:32:30 +08:00
committed by GitHub
parent c364196577
commit e7f143c266

View File

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