Tianyi Wang has uploaded a new patch set (#2). Change subject: IMPALA-2810: Remove column stats restoration when altering table ......................................................................
IMPALA-2810: Remove column stats restoration when altering table This patch removes most code introduced in IMPALA-1711, which triggers an error message and causes catalog inconsistency when a partitioned table is moved to a different database. IMPALA-1711 is a workaround for HIVE-9720, in which column stats is not properly updated when a table is moved across databases. Hive-9720 has been resolved in Hive 1.2.0 so the workaround is no longer needed. A test case moving a partitioned table to a different database is added to alter-table.test. Change-Id: I0ca7063ca1aa9faceed9568d22740d91b6dc20d3 --- M fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java M testdata/workloads/functional-query/queries/QueryTest/alter-table.test 2 files changed, 55 insertions(+), 34 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/57/7857/2 -- To view, visit http://gerrit.cloudera.org:8080/7857 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: I0ca7063ca1aa9faceed9568d22740d91b6dc20d3 Gerrit-PatchSet: 2 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Tianyi Wang <[email protected]> Gerrit-Reviewer: Alex Behm <[email protected]>
