[ https://issues.apache.org/jira/browse/HIVE-736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12740425#action_12740425 ]
Raghotham Murthy commented on HIVE-736: --------------------------------------- bq. I think there should still be a function which just returns all field descriptors altogether. That makes sense. Instead of writing a work around, why not just add a function to the metastore thrift api that returns all columns (including partition columns)? {code} list<FieldSchema> get_schema(1:string db_name, 2:string tbl_name) throws (1: MetaException o1, 2: UnknownTableException o2, 3: UnknownDBException o3), {code} > 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.