Csaba Ringhofer has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/13427 )

Change subject: IMPALA-8585: Fix for upgraded + compacted acid tables
......................................................................

IMPALA-8585: Fix for upgraded + compacted acid tables

Tables that already had data before altered to be an ACID table
keep the old data in their root table/partition directory if
hive.mm.allow.originals == true. These files should be merged to
the base file during the first compaction, so should be read only
if there is no valid base yet.

Also added EE tests for upgraded tables.

Change-Id: I062d8e76f90e0da1b954bf156208c0afb424deb1
Reviewed-on: http://gerrit.cloudera.org:8080/13427
Reviewed-by: Zoltan Borok-Nagy <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
---
M fe/src/main/java/org/apache/impala/util/AcidUtils.java
M fe/src/test/java/org/apache/impala/util/AcidUtilsTest.java
M testdata/workloads/functional-query/queries/QueryTest/acid-compaction.test
M testdata/workloads/functional-query/queries/QueryTest/acid.test
M tests/query_test/test_acid.py
5 files changed, 83 insertions(+), 24 deletions(-)

Approvals:
  Zoltan Borok-Nagy: Looks good to me, approved
  Impala Public Jenkins: Verified

--
To view, visit http://gerrit.cloudera.org:8080/13427
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I062d8e76f90e0da1b954bf156208c0afb424deb1
Gerrit-Change-Number: 13427
Gerrit-PatchSet: 3
Gerrit-Owner: Csaba Ringhofer <[email protected]>
Gerrit-Reviewer: Csaba Ringhofer <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]>

Reply via email to