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

Sergey Shelukhin commented on HIVE-2702:
----------------------------------------

gt/lt/etc. hit HIVE-2609 unfortunately; I simplified valString to avoid nested 
substrings but that didn't help either, and Collection get method is not 
supported on DN 2.0. 
Making blocked on DN upgrade
                
> listPartitionsByFilter only supports string partitions
> ------------------------------------------------------
>
>                 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
>         Attachments: ASF.LICENSE.NOT.GRANTED--HIVE-2702.D2043.1.patch, 
> HIVE-2702.1.patch, HIVE-2702.D11715.1.patch, HIVE-2702-v0.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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to