Skip to content

Commit

Permalink
[Fix](Planner) fix multi phase analysis failed in multi instance envi…
Browse files Browse the repository at this point in the history
…ronment substitution
  • Loading branch information
LiBinfeng-01 committed Aug 14, 2023
1 parent d371101 commit dea0368
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,9 @@ public void init(Analyzer analyzer) throws UserException {
// to our input; our conjuncts don't get substituted because they already
// refer to our output
outputSmap = getCombinedChildSmap();
if (aggInfo.isMerge()) {
aggInfo.substitute(aggInfo.getIntermediateSmap(), analyzer);
}
aggInfo.substitute(outputSmap, analyzer);

// assert consistent aggregate expr and slot materialization
Expand Down

0 comments on commit dea0368

Please sign in to comment.