Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-580

Drill logical or physical rules should not specify child operand

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.4.0
    • Component/s: None
    • Labels:
      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.

        Attachments

          Activity

            People

            • Assignee:
              jni Jinfeng Ni
              Reporter:
              jni Jinfeng Ni
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: