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
Parameter | Type | Description |
---|---|---|
catalog_uri | str | The URI of the REST catalog. |
warehouse_location | str | The location of the warehouse. |
name | str | A descriptive name of the catalog. If not given, the catalog name is inferred from the catalog URI. |
Returns
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",
)