Taras Bobrovytsky has uploaded a new change for review.

  http://gerrit.cloudera.org:8080/4750

Change subject: IMPALA-3802: Update default partition when table is altered
......................................................................

IMPALA-3802: Update default partition when table is altered

If the table format is changed by the Alter Table statement, the
default partition in a partitioned tables does not get updated. This
patch fixes the problem by calling addDefaultPartition() after the
table is altered.

Change-Id: I59bf21caa5c5e7867d07d87cda0c0a5b4b994859
---
M fe/src/main/java/org/apache/impala/catalog/HdfsTable.java
M fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java
M testdata/workloads/functional-query/queries/QueryTest/alter-table.test
3 files changed, 31 insertions(+), 14 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/50/4750/1
-- 
To view, visit http://gerrit.cloudera.org:8080/4750
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I59bf21caa5c5e7867d07d87cda0c0a5b4b994859
Gerrit-PatchSet: 1
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Taras Bobrovytsky <tbobrovyt...@cloudera.com>

Reply via email to