Hello Quanlong Huang, Sai Hemanth Gantasala, Impala Public Jenkins, I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/20486 to look at the new patch set (#11). Change subject: IMPALA-12356: First alter partition event from hive is treated as self event when the partition is added from impala(with insert statement) for a non-transactional table. ...................................................................... IMPALA-12356: First alter partition event from hive is treated as self event when the partition is added from impala(with insert statement) for a non-transactional table. Self event check for add partition event is done only for the transactional tables with IMPALA-10502 (commit id: 7f7a631). But during addition of new partition(with insert statement), catalog service id and version number are added to partition params of the parition irrespective of whether the table is transactional or not. Thus the version number is added to partition's inFlightEvents_ and remained in it until the next alter partition event from hive. Thus led to detection of the alter partition event as self event. This commit ensures the catalog service id and version number are not added to partition params if the partition is added to a non-transactinal table. Testing: - Manually tested in cluster and added a testcase Change-Id: I23c2affa3fe32c0b3843bff5e4c0018dce9060d3 --- M fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java M tests/metadata/test_event_processing.py 2 files changed, 28 insertions(+), 2 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/86/20486/11 -- To view, visit http://gerrit.cloudera.org:8080/20486 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newpatchset Gerrit-Change-Id: I23c2affa3fe32c0b3843bff5e4c0018dce9060d3 Gerrit-Change-Number: 20486 Gerrit-PatchSet: 11 Gerrit-Owner: Anonymous Coward <k.venureddy2...@gmail.com> Gerrit-Reviewer: Anonymous Coward <k.venureddy2...@gmail.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>