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)