Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.28.0
Description
Consider the following tree:
LogicalAggregate[groupSet=$1, ...] LogicalUnion Input
When the rule is applied, the top-level Aggregate receives the same group set as the original Aggregate, which is wrong because it points to an incorrect attribute.
LogicalAggregate[groupSet=$1, ...] // <- wrong
LogicalUnion
LogicalAggregate[groupSet=$1, ...]
Input
The correct plan should be:
LogicalAggregate[groupSet=$0, ...] LogicalUnion LogicalAggregate[groupSet=$1, ...] Input
Attachments
Issue Links
- links to