Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Most of Drill logical and physical rules (implements RelOptRule) are essentially conversion rules. For conversion rule, it's not required to specify the child operand in the rule's pattern matching expression. However, currently, Drill logical or physical rules specify the child operand. This will cause unnecessary rule firing during optiq transformation call, causing more planning time.
In stead, for conversion rule in Drill logical/physical phases, it would be sufficient enough to specify the parent operand.