Skip to contents

Updates a metastore assignment. This operation can be used to update metastore_id or default_catalog_name for a specified Workspace, if the Workspace is already assigned a metastore. The caller must be an account admin to update metastore_id; otherwise, the caller can be a Workspace admin.

Usage

update_metastore_assignment(
  client,
  workspace_id,
  default_catalog_name = NULL,
  metastore_id = NULL
)

metastoresUpdateAssignment(
  client,
  workspace_id,
  default_catalog_name = NULL,
  metastore_id = NULL
)

Arguments

client

Required. Instance of DatabricksClient()

workspace_id

Required. A workspace ID.

default_catalog_name

The name of the default catalog for the metastore.

metastore_id

The unique ID of the metastore.