Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Hive has two sets of classes for representing tables and partitions. For example:
- import org.apache.hadoop.hive.ql.metadata.Table
- import org.apache.hadoop.hive.metastore.api.Table
The metadata.api versions represent exactly what's stored in the metastore, while the ql.metadata versions add some business logic, such as providing serde-reported columns.
HCatalog should always use the ql.metadata versions of Table and Partition classes except when communicating with the metastore, or serializing these objects into the job conf.
Attachments
Attachments
Issue Links
- blocks
-
HCATALOG-491 Add thrift read support to HCatalog
- Open
- is related to
-
HIVE-3325 serde-reported partition cols should not be persisted in metastore
- Resolved
- relates to
-
HIVE-3278 Create wrappers around Thrift Metastore objects for improved readability
- Open