hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chaoyu Tang (JIRA)" <>
Subject [jira] [Resolved] (HIVE-8734) Renaming tables leaves stat store in stale state
Date Tue, 28 Jul 2015 15:44:04 GMT


Chaoyu Tang resolved HIVE-8734.
    Resolution: Duplicate

> Renaming tables leaves stat store in stale state
> ------------------------------------------------
>                 Key: HIVE-8734
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>            Reporter: Ryan Pridgeon
> Renaming tables does not alter the data stored in the TAB_COL_STATS. So if a user renames
table1 to table2 they will also need to re-compute statistics against this table.
> This is an inconvenience and puts the metastore in an inconsistent state. It neither
drops or updates TAB_COL_STATS.TABLE_NAME. So you will have an entry for both the old table
name and the new table name.
> This lingering data is also inherited by any table that assumes the previously used table

This message was sent by Atlassian JIRA

View raw message