Hello Quanlong Huang, Csaba Ringhofer, Impala Public Jenkins, I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/20887 to look at the new patch set (#6). Change subject: IMPALA-12719: Reload filemetadata for AlterTable event of type truncate ...................................................................... IMPALA-12719: Reload filemetadata for AlterTable event of type truncate When the event processor receives an alter table event and the event type is of truncate operation currently file metadata is not reloaded. This patch addresses this issue, where the alter table event type is verified if it's a truncate operation and then reload the file metadata accordingly. Note: Alter table event for an external table generated by the truncate operation from Impala cannot be identified if it's a truncate op or not This becomes an issue in multi cluster Impala environments where events generated from one impala cluster is consumed by other impala clusters. Truncate operations in Impala on replicated tables will generated alter event with 'isTruncateOp' field set to true. Testing: Added an end-to-end test to verify whether file metadata is reloaded for the above scenario. Change-Id: I53bb80c294623eec7c79d9f30f410771386c6b75 --- M fe/src/main/java/org/apache/impala/catalog/events/MetastoreEvents.java M tests/custom_cluster/test_events_custom_configs.py 2 files changed, 102 insertions(+), 10 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/87/20887/6 -- To view, visit http://gerrit.cloudera.org:8080/20887 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newpatchset Gerrit-Change-Id: I53bb80c294623eec7c79d9f30f410771386c6b75 Gerrit-Change-Number: 20887 Gerrit-PatchSet: 6 Gerrit-Owner: Sai Hemanth Gantasala <saihema...@cloudera.com> Gerrit-Reviewer: Csaba Ringhofer <csringho...@cloudera.com> Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Gerrit-Reviewer: Quanlong Huang <huangquanl...@gmail.com> Gerrit-Reviewer: Sai Hemanth Gantasala <saihema...@cloudera.com>