Class IcebergCatalogAdapter
java.lang.Object
org.elasticsearch.xpack.esql.datasource.iceberg.IcebergCatalogAdapter
Adapter for accessing Iceberg catalog and table metadata.
Provides a simplified interface for resolving Iceberg tables.
This implementation uses Iceberg's StaticTableOperations with S3FileIO, avoiding Hadoop dependencies and security manager issues.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IcebergTableMetadataresolveTable(String tablePath, S3Configuration s3Config) Resolve Iceberg table metadata from a table path.
-
Constructor Details
-
IcebergCatalogAdapter
public IcebergCatalogAdapter()
-
-
Method Details
-
resolveTable
public static IcebergTableMetadata resolveTable(String tablePath, S3Configuration s3Config) throws Exception Resolve Iceberg table metadata from a table path. Uses StaticTableOperations with S3FileIO instead of HadoopCatalog.- Parameters:
tablePath- the S3 path to the Iceberg tables3Config- S3 configuration (credentials, endpoint, etc.)- Returns:
- IcebergTableMetadata with resolved schema
- Throws:
Exception- if table cannot be resolved
-