Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ private Plan pruneAggregate(Aggregate<?> agg, PruneContext context) {
}

private Plan skipPruneThisAndFirstLevelChildren(Plan plan) {
return pruneChildren(plan, plan.getChildrenOutputExprIdBitSet());
return pruneChildren(plan, plan.getOutputExprIdBitSet());
}

// some rules want to match the aggregate which contains all the group by keys and aggregate functions
Expand Down
Loading