[fix](Nereids) column pruning under union broken unexpectedly (#26884)
introduced by PR #24060
This commit is contained in:
@ -117,9 +117,6 @@ public class ColumnPruning extends DefaultPlanRewriter<PruneContext> implements
|
||||
}
|
||||
|
||||
LogicalUnion prunedOutputUnion = pruneOutput(union, union.getOutputs(), union::pruneOutputs, context);
|
||||
if (prunedOutputUnion == union) {
|
||||
return union;
|
||||
}
|
||||
|
||||
// start prune children of union
|
||||
List<Slot> originOutput = union.getOutput();
|
||||
|
||||
Reference in New Issue
Block a user