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

Namit Jain commented on HIVE-2049:
----------------------------------

+1

> Push down partition pruning to JDO filtering for a subset of partition 
> predicates
> ---------------------------------------------------------------------------------
>
>                 Key: HIVE-2049
>                 URL: https://issues.apache.org/jira/browse/HIVE-2049
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Ning Zhang
>            Assignee: Ning Zhang
>         Attachments: HIVE-2049.2.patch, HIVE-2049.3.patch, HIVE-2049.4.patch, 
> HIVE-2049.patch
>
>
> Several tasks:
>   - expose HiveMetaStoreClient.listPartitionsByFilter() to Hive.java so that 
> PartitionPruner can use that for certain partition predicates. 
>   - figure out a safe subset of partition predicates that can be pushed down 
> to JDO filtering. 
> By my initial testing for the 2nd part is equality queries with AND/OR can be 
> pushed down and return correct results. However range queries on partition 
> columns gave NPE by the JDO execute() function. This might be a bug in the 
> JDO query string itself, but we need to figure it out and heavily test all 
> cases. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to