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)

Reply via email to