Skip to main content
create_catalog(name=None, table_format=None, location=None, type=None, credential=None, datasource=None, options=)[source]

Creates a catalog, which contains the location and connection information for a deltalake catalog that is external to the database.

Parameters

name (str) –

Name of the catalog to be created.

table_format (str) –

Table format (iceberg, hudi, deltalake).

location (str) –

Location of the catalog in ‘http[s]://[server[:port]]]’ format.

type (str) –

Type of the catalog (REST (unity, polaris, tabular), nessie, hive, glue).

credential (str) –

Name of the credential object to be used in catalog.

datasource (str) –

Password for the remote system user; may be an empty string.

options (dict of str to str) –

Optional parameters. Allowed keys are:

  • access_delegation – Use access delegation for object store. Allowed values are:

    • datasource_credentials

    • vended_credentials

    The default value is ‘datasource_credentials’.

  • skip_validation – Bypass validation of connection to remote source. Allowed values are:

    • true

    • false

    The default value is ‘false’.

The default value is an empty dict ( ).

Returns

A dict with the following entries–

name (str) –

Value of input parameter name.

info (dict of str to str) –

Additional information.