Skip to content

Commit

Permalink
[chore](topn opt) disable two phase read when light schema change is …
Browse files Browse the repository at this point in the history
…disabled
  • Loading branch information
eldenmoon committed Jul 14, 2023
1 parent 13f0efb commit b50ccad
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -758,6 +758,9 @@ public boolean checkEnableTwoPhaseRead(Analyzer analyzer) {
LOG.debug("only support duplicate key or MOW model");
return false;
}
if (!olapTable.getEnableLightSchemaChange()) {
return false;
}
if (getOrderByElements() != null) {
if (!evaluateOrderBy) {
// Need evaluate orderby, if sort node was eliminated then this optmization
Expand Down

0 comments on commit b50ccad

Please sign in to comment.