drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jinfeng Ni (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-698) Register scan-specific optimization rules using register() in RelNode interface.
Date Mon, 12 May 2014 16:05:14 GMT
Jinfeng Ni created DRILL-698:
--------------------------------

             Summary: Register scan-specific optimization rules using register() in RelNode
interface.
                 Key: DRILL-698
                 URL: https://issues.apache.org/jira/browse/DRILL-698
             Project: Apache Drill
          Issue Type: Improvement
            Reporter: Jinfeng Ni
            Assignee: Jinfeng Ni


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. 
 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message