[
https://issues.apache.org/jira/browse/DRILL-1403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
B Anil Kumar updated DRILL-1403:
--------------------------------
Description:
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}
was:It seems, due to latest changes HBase predicate pushdown is not working
> 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
>
>
> 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)