Skip to contents

Creates a new metastore assignment. If an assignment for the same workspace_id exists, it will be overwritten by the new metastore_id and default_catalog_name. The caller must be an account admin.

Usage

assign_metastore(client, workspace_id, metastore_id, default_catalog_name)

metastoresAssign(client, workspace_id, metastore_id, default_catalog_name)

Arguments

client

Required. Instance of DatabricksClient()

workspace_id

Required. A workspace ID.

metastore_id

Required. The unique ID of the metastore.

default_catalog_name

Required. The name of the default catalog in the metastore.