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

Eric Hwang commented on HIVE-736:
---------------------------------

Actually I just talked to Zheng offline and I guess the get_fields function 
should NOT return the partition column under its proper usage. I can work 
around this by calling get_tables and then join the partitionkey field 
descriptors with the result of get_fields. I'll do this for now, however, this 
seems rather roundabout and I think there should still be a function which just 
returns all field descriptors altogether.

> MetaStoreUtils get_fields() does not return partition column
> ------------------------------------------------------------
>
>                 Key: HIVE-736
>                 URL: https://issues.apache.org/jira/browse/HIVE-736
>             Project: Hadoop Hive
>          Issue Type: Bug
>            Reporter: Eric Hwang
>
> MetaStoreUtil's get_fields(), which is offered through the Hive Server 
> interface, does not include the partition field in its returned list of 
> fields. This may be related to JIRA-671. At the moment, there is no way for a 
> Hive client to discover a partition column in a table, creating a big issue 
> for anyone who wishes to query a partitioned table.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to