Impala Public Jenkins has submitted this change and it was merged. 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 Reviewed-on: http://gerrit.cloudera.org:8080/7857 Reviewed-by: Alex Behm <[email protected]> Tested-by: Impala Public Jenkins --- M fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java M testdata/workloads/functional-query/queries/QueryTest/alter-table.test 2 files changed, 59 insertions(+), 36 deletions(-) Approvals: Impala Public Jenkins: Verified Alex Behm: Looks good to me, approved -- To view, visit http://gerrit.cloudera.org:8080/7857 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: merged Gerrit-Change-Id: I0ca7063ca1aa9faceed9568d22740d91b6dc20d3 Gerrit-PatchSet: 4 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Tianyi Wang <[email protected]> Gerrit-Reviewer: Alex Behm <[email protected]> Gerrit-Reviewer: Impala Public Jenkins Gerrit-Reviewer: Tianyi Wang <[email protected]>
