Skip to content

Commit

Permalink
[Fix](topn opt) forbit outfile when using 2phase read (#21991)
Browse files Browse the repository at this point in the history
"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."
  • Loading branch information
eldenmoon authored Jul 20, 2023
1 parent c364196 commit e7f143c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,8 @@ public boolean checkEnableTwoPhaseRead(Analyzer analyzer) {
if (getAggInfo() != null
|| getHavingPred() != null
|| getWithClause() != null
|| getAnalyticInfo() != null) {
|| getAnalyticInfo() != null
|| hasOutFileClause()) {
return false;
}
// ignore short circuit query
Expand Down

0 comments on commit e7f143c

Please sign in to comment.