Indexes' storage descriptors' columns are not deduped, and altering an index leaves behind an unused storage descriptor -----------------------------------------------------------------------------------------------------------------------
Key: HIVE-2367 URL: https://issues.apache.org/jira/browse/HIVE-2367 Project: Hive Issue Type: Bug Components: Metastore Reporter: Sohan Jain 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. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira