Travis Crawford created HCATALOG-443:
----------------------------------------
Summary: HCatalog should use "metadata" Table/Partition classes
except when serializing
Key: HCATALOG-443
URL: https://issues.apache.org/jira/browse/HCATALOG-443
Project: HCatalog
Issue Type: Bug
Reporter: Travis Crawford
Assignee: Travis Crawford
This issue is related to HIVE-2950.
When HCatalog queries the HiveMetaStore it gets back classes in the
"org.apache.hadoop.hive.metastore.api" package. This represents exactly what is
stored in the metastore database.
Hive has companion classes in "org.apache.hadoop.hive.ql.metadata" that provide
some logic on top of what's stored in the actual database. For example:
* org.apache.hadoop.hive.metastore.api.Table.getCols shows columns explicitly
stored in the database
* org.apache.hadoop.hive.ql.metadata.Table.getCols shows columns reported by
the serde if there are any.
Except when serializing stuff into the job configuration HCatalog should use
the "metadata" version of these classes so that the additional logic is called.
--
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