hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chaoyu Tang <>
Subject Re: Review Request 57566: HIVE-16189: Table column stats might be invalidated in a failed table rename
Date Mon, 13 Mar 2017 20:46:50 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated March 13, 2017, 8:46 p.m.)

Review request for hive.

Bugs: HIVE-16189

Repository: hive-git


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

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.

Diffs (updated)

  metastore/src/java/org/apache/hadoop/hive/metastore/ bae39ac 





Chaoyu Tang

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message