[ https://issues.apache.org/jira/browse/HIVE-5636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sushanth Sowmyan updated HIVE-5636: ----------------------------------- Resolution: Fixed Release Note: Introduces 2 static functions on HCatInputFormat: public static HCatSchema getPartitionColumns(Configuration conf) throws IOException public static HCatSchema getDataColumns(Configuration conf) throws IOException These return the partitioning columns and data column schemas for a HCatInputFormat user, and can be used after HCatInputFormat.setInput has been called on a job with an associated conf. Status: Resolved (was: Patch Available) > Introduce getPartitionColumns() functionality from HCatInputFormat > ------------------------------------------------------------------ > > Key: HIVE-5636 > URL: https://issues.apache.org/jira/browse/HIVE-5636 > Project: Hive > Issue Type: Bug > Components: HCatalog > Affects Versions: 0.12.0 > Reporter: Sushanth Sowmyan > Assignee: Sushanth Sowmyan > Attachments: HIVE-5636.2.patch, HIVE-5636.patch > > > As of HCat 0.5, we made the class InputJobInfo private for hcatalog use only, > and we made it so that setInput would not modify the InputJobInfo being > passed in. > However, if a user of HCatInputFormat wants to get what Partitioning columns > or Data columns exist for the job, they are not able to do so directly from > HCatInputFormat and are forced to use InputJobInfo, which currently does not > work. Thus, we need to expose this functionality. -- This message was sent by Atlassian JIRA (v6.1.5#6160)