You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "B Anil Kumar (JIRA)" <ji...@apache.org> on 2014/09/11 16:36:33 UTC

[jira] [Updated] (DRILL-1403) HBase predicate pushdown filters are not getting applied

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

B Anil Kumar updated DRILL-1403:
--------------------------------
    Attachment: 0001-DRILL-1403.patch

Can anyone please review. I verified in few cases. 
This patch is working for below queries(with select * ).

{noformat}
SELECT * FROM hbase.`students1` t where t.account.name = 'Bob' AND t.address.zipcode = '12345'

SELECT * FROM hbase.`students1` t where t.account.name = 'Bob' AND t.address.zipcode = '12345' OR t.account.name = 'Frank' OR t.account.name = 'Mary'

SELECT * FROM hbase.`students1` t where t.account.name = 'Bob' OR t.account.name = 'Frank' OR  t.account.name = 'Mary' OR  t.account.name = 'Alice'
{noformat}

But when we select any field like below, then it's not even calling HBasePushFilterIntoScan.matches. Is this expected?

{noformat}
SELECT  CAST(account['name'] as VarChar(20)), CAST (address['state'] as VarChar(20)), CAST (address['street'] as VarChar(20)), CAST (address['zipcode'] as VarChar(20))  FROM hbase.`students`
{noformat} 

> 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 working



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