Unity Catalog#

Interface with Unity catalogs.

Catalog(workspace_url, *[, bearer_token])

Unity catalog client.

Catalog.list_catalogs()

List the available catalogs.

Catalog.list_namespaces(catalog_name)

List the available namespaces (unity schema) under the specified catalog.

Catalog.list_tables(catalog_name, namespace)

List the available tables under the specified schema.

Catalog.get_table_info(catalog_name, ...)

Retrieve the metadata of the specified table.

Catalog.scan_table(catalog_name, namespace, ...)

Retrieve the metadata of the specified table.

catalog.unity.CatalogInfo(name, comment, ...)

Information for a catalog within a metastore.

catalog.unity.ColumnInfo(name, type_name, ...)

Information for a column within a catalog table.

catalog.unity.DataSourceFormat

catalog.unity.NamespaceInfo(name, comment, ...)

Information for a namespace within a catalog.

catalog.unity.TableInfo(name, comment, ...)

Information for a catalog table.

catalog.unity.TableInfo.get_polars_schema()

Get the native polars schema of this table.

catalog.unity.TableType