Skip to main content
Version: Python

adapater_aws_glue

The adapter_aws_glue method creates a catalog adapter using an AWS Glue catalog.

Syntax

adapter_aws_glue(
catalog_uri: str,
warehouse_location: str,
name: str = None
)

Parameters

ParameterTypeDescription
catalog_uristr

The URI of the REST catalog.

warehouse_locationstr

The location of the warehouse.

namestr

A descriptive name of the catalog. If not given, the catalog name is inferred from the catalog URI.

Returns

An IcebergCatalogAdapter.

Examples

The following example creates a catalog adapter using an AWS Glue catalog:

from deephaven.experimental import s3, iceberg

cloud_adapter = iceberg.adapter_aws_glue(
name="aws-iceberg",
catalog_uri="s3://lab-warehouse/sales",
warehouse_location="s3://lab-warehouse/sales",
)