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

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated:

              Development