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

Drill logical or physical rules should not specify child operand

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.4.0
    • 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.

      Attachments

        1. DRILL-580.2.patch
          13 kB
          Jinfeng Ni

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: