Zoltan Borok-Nagy has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/23349


Change subject: IMPALA-14358: Event processing can invalidate Iceberg tables
......................................................................

IMPALA-14358: Event processing can invalidate Iceberg tables

CatalogServiceCatalog.reloadTableIfExists() can throw a
ClassCastException when it reloads an Iceberg table. When it happens
during event processing the event processor invalidates the table.

This happens usually happens when another engine updates an Iceberg
table. It then causes slow table loading times as the tables need to
be fully reloaded instead of just doing an incremental table loading.

This patches fixes the ClassCastException by moving the cast into an
if statement.

Testing
 * e2e tests added

Change-Id: I892cf326a72024674facad6750893352b982c658
---
M fe/src/main/java/org/apache/impala/catalog/CatalogServiceCatalog.java
M tests/metadata/test_event_processing.py
2 files changed, 42 insertions(+), 25 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/49/23349/1
--
To view, visit http://gerrit.cloudera.org:8080/23349
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I892cf326a72024674facad6750893352b982c658
Gerrit-Change-Number: 23349
Gerrit-PatchSet: 1
Gerrit-Owner: Zoltan Borok-Nagy <[email protected]>

Reply via email to