You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Riza Suminto (Jira)" <ji...@apache.org> on 2022/10/04 13:25:00 UTC

[jira] [Created] (IMPALA-11636) IcebergHiveCatalog should not be used for tables with catalog name defined in hive-site.xml

Riza Suminto created IMPALA-11636:
-------------------------------------

             Summary: IcebergHiveCatalog should not be used for tables with catalog name defined in hive-site.xml
                 Key: IMPALA-11636
                 URL: https://issues.apache.org/jira/browse/IMPALA-11636
             Project: IMPALA
          Issue Type: Bug
          Components: Frontend
    Affects Versions: Impala 4.1.0
            Reporter: Riza Suminto


Impala use Iceberg’s org.apache.iceberg.mr.Catalogs class to dynamically load and create catalog objects, such as in:

[https://github.com/apache/impala/blob/cf9c443ddca7403d2a92b2a01a374749a72e5f8f/fe/src/main/java/org/apache/impala/catalog/iceberg/IcebergCatalogs.java#L104]

When a table’s ‘iceberg.catalog’ property points to a catalog defined in hive-site.xml, Impala should not IcebergHiveCatalog. Instead, it should use Impala’s IcebergCatalogs, which in turn will resolve the correct catalog object through org.apache.iceberg.mr.Catalogs.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org