Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
Description
1. LimitUnionRule:
Rule that applies to a Limit on top of a Union. The original Limit won't go away after applying this rule, but additional Limit nodes will be created on top of each child of Union, so that these children produce less rows and Limit can be further optimized for children Rels.
2. LimitJoinRule:
Rule that applies to a Limit on top of an OUTER Join. The original Limit won't go away after applying this rule, but additional Limit node(s) will be created on top of the outer-side child (or children if it's a FULL OUTER Join). This will have impact on the cost of modified child node(s) as well as that of the join node itself (among different join algorithms).
Attachments
Issue Links
- duplicates
-
CALCITE-831 Rules to push down limits
- Open