[email protected] has uploaded a new patch set (#6). ( http://gerrit.cloudera.org:8080/20486 )
Change subject: IMPALA-12356: Alter partition event from hive is treated as self event ...................................................................... IMPALA-12356: Alter partition event from hive is treated as self event When a non-transactional table is created and a partition is added using insert from impala, alter partition event from hive is treated as self event and ignored processing. Self event check for add partition event is done only for the transactional tables with IMPALA-10502 fix. It was missed to avoid the addition of version number to partition's inFlightEvents_ when a partition is added to non-transactional table. Thus the version number in inFlightEvents_ is detecting the next alter partition event from hive as self event. Testing: - Manually tested in cluster and added a testcase Change-Id: I23c2affa3fe32c0b3843bff5e4c0018dce9060d3 --- M fe/src/main/java/org/apache/impala/catalog/HdfsPartition.java M fe/src/test/java/org/apache/impala/catalog/events/MetastoreEventsProcessorTest.java 2 files changed, 70 insertions(+), 0 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/86/20486/6 -- 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: 6 Gerrit-Owner: Anonymous Coward <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Laszlo Gaal <[email protected]> Gerrit-Reviewer: Quanlong Huang <[email protected]> Gerrit-Reviewer: Sai Hemanth Gantasala <[email protected]>
