You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Lefty Leverenz (JIRA)" <ji...@apache.org> on 2015/02/26 03:43:04 UTC

[jira] [Commented] (HIVE-2702) Enhance listPartitionsByFilter to add support for integral types both for equality and non-equality

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

Lefty Leverenz commented on HIVE-2702:
--------------------------------------

Doc note:  See HIVE-7164 comment for information about setting *hive.metastore.integral.jdo.pushdown*.

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

> Enhance listPartitionsByFilter to add support for integral types both for equality and non-equality
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-2702
>                 URL: https://issues.apache.org/jira/browse/HIVE-2702
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.8.1
>            Reporter: Aniket Mokashi
>            Assignee: Sergey Shelukhin
>              Labels: TODOC12
>             Fix For: 0.12.0
>
>         Attachments: ASF.LICENSE.NOT.GRANTED--HIVE-2702.D2043.1.patch, HIVE-2702-v0.patch, HIVE-2702.1.patch, HIVE-2702.D11715.1.patch, HIVE-2702.D11715.2.patch, HIVE-2702.D11715.3.patch, HIVE-2702.D11847.1.patch, HIVE-2702.D11847.2.patch, HIVE-2702.patch
>
>
> listPartitionsByFilter supports only non-string partitions. This is because its explicitly specified in generateJDOFilterOverPartitions in ExpressionTree.java. 
> //Can only support partitions whose types are string
>       if( ! table.getPartitionKeys().get(partitionColumnIndex).
>           getType().equals(org.apache.hadoop.hive.serde.Constants.STRING_TYPE_NAME) ) {
>         throw new MetaException
>         ("Filtering is supported only on partition keys of type string");
>       }



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