You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Aniket Mokashi (Commented) (JIRA)" <ji...@apache.org> on 2012/01/10 08:22:39 UTC

[jira] [Commented] (HIVE-2701) listPartitionsByFilter only supports non-string partitions

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

Aniket Mokashi commented on HIVE-2701:
--------------------------------------

Possibly a browser bug! I will close this ticket as duplicate of 2702.
                
> listPartitionsByFilter only supports non-string partitions
> ----------------------------------------------------------
>
>                 Key: HIVE-2701
>                 URL: https://issues.apache.org/jira/browse/HIVE-2701
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.8.1
>            Reporter: Aniket Mokashi
>
> 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira