Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
metastore, schema, IDXS, index, column descriptor
Description
The metastore migration by HIVE-2246 does not dedupe the COLUMNS information for Indexes. That is, the IDXS table has a Storage Descriptor that always points to a new Column Descriptor, which is unlikely shared by any other storage descriptor.
Therefore, when altering an index, a new storage Descriptor and column descriptor are created. No other objects will reference the old storage descriptor and column descriptor, but they will persist in the metastore db.