You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Tamas Mate (Jira)" <ji...@apache.org> on 2022/03/09 09:32:00 UTC

[jira] [Created] (IMPALA-11170) Remove Iceberg BaseTable serialisation

Tamas Mate created IMPALA-11170:
-----------------------------------

             Summary: Remove Iceberg BaseTable serialisation
                 Key: IMPALA-11170
                 URL: https://issues.apache.org/jira/browse/IMPALA-11170
             Project: IMPALA
          Issue Type: Bug
          Components: Frontend
    Affects Versions: Impala 4.1.0
            Reporter: Tamas Mate


With Iceberg 0.13 the Table serialization has been changed, a new class was added SerializableTable, that causes ClassCastException when using the newer Iceberg library.
{code:java}
E    MESSAGE: AnalysisException: org.apache.impala.catalog.TableLoadingException: Error opening Iceberg table 'iceberg_insert_event_db_cmenn.ice_test'
E   CAUSED BY: TableLoadingException: Error opening Iceberg table 'iceberg_insert_event_db_cmenn.ice_test'
E   CAUSED BY: ClassCastException: org.apache.iceberg.SerializableTable cannot be cast to org.apache.iceberg.BaseTable
{code}

The new approach is to use the SerializableTable class when serializing table, this is a lightweight Table class, however to keep Impala cross compatible between libraries we should remove the Iceberg's Table object serialization for now.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)