Skip to content

Commit

Permalink
[Fix](topn opt) forbit outfile when using 2phase read (apache#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 and xiaokang committed Jul 20, 2023
1 parent 473fa51 commit d6bc088
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 d6bc088

Please sign in to comment.