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

Thejas M Nair updated HIVE-10091:
---------------------------------
    Attachment: HIVE-10091.3.patch

I workaround that NPE in 3.patch, by doing full scan of all partitions in the 
hbase table. ie, it degrades to the situation without the patch, if there is a 
condition on any non partitioning column in the where clause.

I have created a followup jira for HIVE-10102, to do further pruning as in 
ObjectStore. I need to think some more about the approach to follow in hbase 
metastore.



> Generate Hbase execution plan for partition filter conditions in HbaseStore 
> api calls - initial changes
> -------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-10091
>                 URL: https://issues.apache.org/jira/browse/HIVE-10091
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Metastore
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>             Fix For: hbase-metastore-branch
>
>         Attachments: HIVE-10091.1.patch, HIVE-10091.2.patch, 
> HIVE-10091.3.patch
>
>
> RawStore functions that support partition filtering are the following - 
> getPartitionsByExpr
> getPartitionsByFilter (takes filter string as argument, used from hcatalog)
> We need to generate a query execution plan in terms of Hbase scan api calls 
> for a given filter condition.
> NO PRECOMMIT TESTS



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

Reply via email to