Uploaded image for project: '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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: