Skip to content

Delegated Warehouse

Bases: IcebergWarehouse, FrozenModel

Delegate configuring Iceberg warehouse to Iceberg catalog. support hooks

Used by some Iceberg catalog implementations like:

Added in 0.15.0

Parameters:

  • name (str) –

    Warehouse name/alias, if supported by specific Iceberg catalog

  • access_delegation ('vended-credentials' | 'remote-signing') –

    Value of X-Iceberg-Access-Delegation header.

  • extra (Dict[str, str], default: {} ) –

    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()

Return flat dict with warehouse configuration.