Vihang Karajgaonkar has posted comments on this change. ( http://gerrit.cloudera.org:8080/17576 )
Change subject: IMPALA-10746: Drop table/db from catalog cache when drop table/db HMS apis are accessed from catalog's metastore server. ...................................................................... Patch Set 19: (1 comment) http://gerrit.cloudera.org:8080/#/c/17576/19/fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java File fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java: http://gerrit.cloudera.org:8080/#/c/17576/19/fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java@2348 PS19, Line 2348: eventType.equals(DropDatabaseEvent.DROP_DATABASE_EVENT_TYPE) || > Alter_Table event is generated for truncate_table. As of now, we just inval jfyi truncate table does not delete the table or its partitions. It only deletes the files within the partitions. Since there are no partitions deleted we don't need to add anything to deleteEventLog. -- To view, visit http://gerrit.cloudera.org:8080/17576 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Ic2e2ad2630e2028b8ad26a6272ee766b27e0935c Gerrit-Change-Number: 17576 Gerrit-PatchSet: 19 Gerrit-Owner: Sourabh Goyal <soura...@cloudera.com> Gerrit-Reviewer: Anonymous Coward <kis...@cloudera.com> Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Gerrit-Reviewer: Sourabh Goyal <soura...@cloudera.com> Gerrit-Reviewer: Vihang Karajgaonkar <vih...@cloudera.com> Gerrit-Reviewer: Yu-Wen Lai <yu-wen....@cloudera.com> Gerrit-Comment-Date: Tue, 10 Aug 2021 21:08:14 +0000 Gerrit-HasComments: Yes