Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
In CALCITE-3781, calcite can specify a hint for a relNode to let the planner exclude some rule when optimze. But as julianhyde said, it's strange to only check for the rels[0]. If we have a rule to push a common project to the source scan, we want to prevent the common project optimized from the ProjectMerge Rule, it can not work, as the preserved one is at the bottom.
So I proposal to check all the rels for the rule.
Attachments
Issue Links
- relates to
-
CALCITE-3781 HintStrategy can specify excluded rules for planner
- Closed
- links to