hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chaoyu Tang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-16189) Table column stats might be invalidated in a failed table rename
Date Mon, 13 Mar 2017 18:39:41 GMT

     [ https://issues.apache.org/jira/browse/HIVE-16189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chaoyu Tang updated HIVE-16189:
-------------------------------
    Attachment: HIVE-16189.patch

This patch changes the order of metadata update and data move in alter table rename operation,
which makes it easier to roll back metadata changes when moving data fails in rename a table.

> Table column stats might be invalidated in a failed table rename
> ----------------------------------------------------------------
>
>                 Key: HIVE-16189
>                 URL: https://issues.apache.org/jira/browse/HIVE-16189
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Chaoyu Tang
>            Assignee: Chaoyu Tang
>         Attachments: HIVE-16189.patch
>
>
> If the table rename does not succeed due to its failure in moving the data to the new
renamed table folder, the changes in TAB_COL_STATS are not rolled back which leads to invalid
column stats.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message