drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aditya Kishore (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-1403) HBase predicate pushdown filters are not getting applied
Date Fri, 12 Sep 2014 02:18:33 GMT

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

Aditya Kishore updated DRILL-1403:
----------------------------------
    Attachment: DRILL-1403-HBase-predicate-pushdown-filters-are-not-.patch

Thanks for reporting and the patch. This seems got broken when we started treating BooleanOperators
different from generic functions as part of the optimization work (DRILL-1044).

However, we do not need to duplicate the entire code, merely redirect the call to {{visitFunctionCall()}}.

> HBase predicate pushdown filters are not getting applied
> --------------------------------------------------------
>
>                 Key: DRILL-1403
>                 URL: https://issues.apache.org/jira/browse/DRILL-1403
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Functions - Drill
>            Reporter: B Anil Kumar
>              Labels: patch
>         Attachments: 0001-DRILL-1403.patch, DRILL-1403-HBase-predicate-pushdown-filters-are-not-.patch
>
>
> It seems, due to latest changes HBase predicate pushdown is not getting applied.
> In below snippet, "le.accept(this, null)" returning null.
> {noformat}
>   public HBaseScanSpec parseTree() {
>     HBaseScanSpec parsedSpec = le.accept(this, null);
>     if (parsedSpec != null) {
>       parsedSpec = mergeScanSpecs("booleanAnd", this.groupScan.getHBaseScanSpec(), parsedSpec);
>       /*
>        * If RowFilter is THE filter attached to the scan specification,
>        * remove it since its effect is also achieved through startRow and stopRow.
>        */
>       if (parsedSpec.filter instanceof RowFilter) {
>         parsedSpec.filter = null;
>       }
>     }
>     return parsedSpec;
>   }
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message