Csaba Ringhofer has uploaded this change for review. ( http://gerrit.cloudera.org:8080/15940
Change subject: IMPALA-9753: Fix TRUNCATE of ACID tables on S3 ...................................................................... IMPALA-9753: Fix TRUNCATE of ACID tables on S3 The use of HDFS API was incorrect when creating an empty file in the new base dir during truncate. Simply calling Create(Path) does create the file in HDFS, but it is only created on S3 when the returned stream is closed. Testing: - Acid truncate tests are not running on S3 as they need a running Hive server. Aded a regression test that will run on S3 too. It would be nice to run all tests on S3, but this is out of the scope of this change. Change-Id: I96d315638b669c5c7198a8e47939cb2b236e35bb --- M fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java A testdata/workloads/functional-query/queries/QueryTest/acid-no-hive.test M tests/query_test/test_acid.py 3 files changed, 20 insertions(+), 1 deletion(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/40/15940/1 -- To view, visit http://gerrit.cloudera.org:8080/15940 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I96d315638b669c5c7198a8e47939cb2b236e35bb Gerrit-Change-Number: 15940 Gerrit-PatchSet: 1 Gerrit-Owner: Csaba Ringhofer <[email protected]> Gerrit-Reviewer: Csaba Ringhofer <[email protected]> Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]>
