[ 
https://issues.apache.org/jira/browse/IMPALA-14358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18016392#comment-18016392
 ] 

ASF subversion and git services commented on IMPALA-14358:
----------------------------------------------------------

Commit e4364cd24435b3885202a894aeee9221dddf6d25 in impala's branch 
refs/heads/master from Zoltan Borok-Nagy
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=e4364cd24 ]

IMPALA-14358: Event processing can invalidate Iceberg tables

IMPALA-12829 added extra code to CatalogServiceCatalog's
reloadTableIfExists() that can throw a ClassCastException when it
reloads an Iceberg table. When it happens during event processing
the event processor invalidates the table.

This 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
Reviewed-on: http://gerrit.cloudera.org:8080/23349
Reviewed-by: Csaba Ringhofer <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>


> Event processing can invalidate Iceberg tables
> ----------------------------------------------
>
>                 Key: IMPALA-14358
>                 URL: https://issues.apache.org/jira/browse/IMPALA-14358
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Catalog
>            Reporter: Zoltán Borók-Nagy
>            Assignee: Zoltán Borók-Nagy
>            Priority: Major
>              Labels: impala-iceberg
>
> CatalogServiceCatalog.reloadTableIfExists() can throw a ClassCastException 
> when it tries to reload an Iceberg table. When it happens during event 
> processing, the event processor invalidates the table.
> This usually happens when another engine updates an Iceberg table. It then 
> causes slow table loading times for Iceberg tables as the tables need to be 
> fully reloaded instead of just doing an incremental table loading.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to