You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Parth Chandra (JIRA)" <ji...@apache.org> on 2014/10/10 03:23:37 UTC

[jira] [Commented] (DRILL-1272) Filters are not being pushed down to hbase from drill

    [ https://issues.apache.org/jira/browse/DRILL-1272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14166131#comment-14166131 ] 

Parth Chandra commented on DRILL-1272:
--------------------------------------

Krystal, please confirm that convert_from pushes down correctly.  If so, this is low priority and should be moved to 1.0

> Filters are not being pushed down to hbase from drill
> -----------------------------------------------------
>
>                 Key: DRILL-1272
>                 URL: https://issues.apache.org/jira/browse/DRILL-1272
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Storage - HBase
>            Reporter: Krystal
>            Assignee: Krystal
>            Priority: Critical
>             Fix For: 0.7.0
>
>
> git.commit.id.abbrev=98b208e
> I ran the following queries in drill:
> explain plan for select cast(row_key as integer) voter_id, convert_from(onecf['name'], 'UTF8') name, cast(twocf['age'] as integer) age, cast(twocf['registration'] as varchar(20)) registration, cast(threecf['contributions'] as decimal(6,2)) contributions, cast(threecf['voterzone'] as integer) voterzone,cast(fourcf['create_date'] as timestamp) create_date from voter where onecf['name'] not similar to '%(young|u|a)%';
> explain plan for select cast(student.onecf['name'] as varchar(35)) name, cast(student.twocf['age'] as integer) age, cast(student.threecf['gpa'] as decimal(4,2)) gpa, cast(voter.twocf['registration'] as varchar(20)) registration from student join voter on (student.onecf['name'] = voter.onecf['name']) where cast(student.twocf['age'] as integer) = 70;
> explain plan for select cast(student.onecf['name'] as varchar(35)) name, cast(student.twocf['age'] as integer) age, cast(student.threecf['gpa'] as decimal(4,2)) gpa, cast(voter.twocf['registration'] as varchar(20)) registration from student join voter on (student.onecf['name'] = voter.onecf['name']) where cast(student.twocf['age'] as integer) > 70;
> The explain plans for each of the query shows the following:
>  "graph" : [ {
>     "pop" : "hbase-scan",
>     "@id" : 5,
>     "hbaseScanSpec" : {
>       "tableName" : "voter",
>       "startRow" : null,
>       "stopRow" : null,
>       "serializedFilter" : null
>     },
> Looks like the serializedFilter should not be null.



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