Apache Drill
  1. Apache Drill
  2. DRILL-698

Register scan-specific optimization rules using register() in RelNode interface.

    Details

      Description

      Currently, drill will get all the storage-engine-specific rules in StoragePluginRegistry, and register all the rules (HBase, Hive, etc) with the optimizer planner. This means even the query only refers a Hive table, the optimizer may still have rule for other storage-engine.

      In stead, we should register the storage-engine-specific rules using interface RelNode's register() method, when we know a scan is for one particular storage-engine. This will avoid the issue that optimizer has more than necessary rules in its rule queue.

        Activity

        Jinfeng Ni created issue -
        Jacques Nadeau made changes -
        Field Original Value New Value
        Component/s Query Planning & Optimization [ 12322681 ]
        Jacques Nadeau made changes -
        Priority Major [ 3 ] Minor [ 4 ]
        Jacques Nadeau made changes -
        Fix Version/s 1.0.0-BETA1 [ 12324963 ]
        Jacques Nadeau made changes -
        Fix Version/s Future [ 12326743 ]
        Fix Version/s 1.0.0-BETA1 [ 12324963 ]
        Tony Stevenson made changes -
        Workflow no-reopen-closed, patch-avail, testing [ 12861722 ] Drill workflow [ 12933488 ]

          People

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

            Dates

            • Created:
              Updated:

              Development