drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jinfeng Ni (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-1355) Drill may miss using storage engine specific rules in optimizer.
Date Thu, 28 Aug 2014 23:25:09 GMT

     [ https://issues.apache.org/jira/browse/DRILL-1355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Jinfeng Ni updated DRILL-1355:

    Attachment: 0001-DRILL-1355-Ensure-Drill-optimizer-will-use-storage-p.patch

> Drill may miss using storage engine specific rules in optimizer.  
> ------------------------------------------------------------------
>                 Key: DRILL-1355
>                 URL: https://issues.apache.org/jira/browse/DRILL-1355
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: Jinfeng Ni
>            Assignee: Jinfeng Ni
>         Attachments: 0001-DRILL-1355-Ensure-Drill-optimizer-will-use-storage-p.patch
> Currently, Drill implementation uses a static variable for the rulesets used by optimizer.
Once the rule set variable is initialized,  it will not be updated, even if there is new storage
plugin added or registered.
> This will cause problems:
> 1) In HBase unit test,  if there is no hbase storage plugin configured when run the unit
test, the Hbase test suit will add a new HBase plugin on-the-fly. However, the optimizer's
ruleset has been initialized. This will essentially disable the hbase specific rule (currently
the HBasePushFilterIntoScanRule).  
> 2) If user starts a Drillbit, runs some queries, then adds a new storage plugin, the
rules specific for this new plugin will not be added to optimizer, since the optimizer's ruleset
has already been initialized. That means query refers to the new plug may not have those rules
executed. This may lead to less efficient query execution plan.

This message was sent by Atlassian JIRA

View raw message