Anurag Mantripragada has uploaded a new patch set (#4). ( http://gerrit.cloudera.org:8080/14145 )
Change subject: IMPALA-8579: Ignore trivial alter table/partition events. ...................................................................... IMPALA-8579: Ignore trivial alter table/partition events. Hive generates certain trivial alter events for eg: change only "transient_lastDdlTime". This is seen in the alter events accompanying an INSERT event. MetastoreEventProcessor should ignore such events as these trivial properties are not used by Impala and they cause unnecessary invalidates/refreshes. This change will also potentially reduce the likelihood of IMPALA-8877 as back to back invalidates after INSERT operations are avoided. Testing: Added tests respectively to testPartitionEvents() and testAlterTableEvent() in MetastoreEventProcessorTest class. Change-Id: I01a59d5170accc014f76f14eb526d96ddcf61f76 --- M fe/src/main/java/org/apache/impala/catalog/events/MetastoreEvents.java M fe/src/test/java/org/apache/impala/catalog/events/MetastoreEventsProcessorTest.java 2 files changed, 150 insertions(+), 0 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/45/14145/4 -- To view, visit http://gerrit.cloudera.org:8080/14145 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newpatchset Gerrit-Change-Id: I01a59d5170accc014f76f14eb526d96ddcf61f76 Gerrit-Change-Number: 14145 Gerrit-PatchSet: 4 Gerrit-Owner: Anurag Mantripragada <anu...@cloudera.com> Gerrit-Reviewer: Anurag Mantripragada <anu...@cloudera.com> Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Gerrit-Reviewer: Vihang Karajgaonkar <vih...@cloudera.com>