You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Namit Jain (JIRA)" <ji...@apache.org> on 2011/03/21 21:48:05 UTC

[jira] [Commented] (HIVE-2049) Push down partition pruning to JDO filtering for a subset of partition predicates

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

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

Added comments in the review board

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