Skip to content

Delegated Warehouse

IcebergDelegatedWarehouse

Delegate configuring Iceberg warehouse to Iceberg catalog. support hooks

Used by some Iceberg catalog implementations like: * Lakekeeper * Polaris * Apache Gravitino * Databricks Unity Catalog

Added in 0.15.0

Parameters:

  • name

    (str | None, default: None ) –

    Warehouse name/alias, if supported by specific Iceberg catalog

  • access_delegation

    (Literal['vended-credentials', 'remote-signing']) –

    Value of X-Iceberg-Access-Delegation header.

  • extra

    (dict[str, Any], default: <class 'dict'> ) –

    Additional configuration parameters

Examples:

from onetl.connection import Iceberg

warehouse = Iceberg.DeletatedWarehouse(
    name="my-warehouse",
    access_delegation="vended-credentials",
    # other params passed to S3 client (optional)
    extra={"client.region": "us-east-1"},
)
from onetl.connection import Iceberg

warehouse = Iceberg.DeletatedWarehouse(
    name="my-warehouse",
    access_delegation="remote-signing",
    # other params passed to S3 client (optional)
    extra={"client.region": "us-east-1"},
)

get_config()