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


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