Skip to contents

Updates information for a specific metastore. The caller must be a metastore admin. If the owner field is set to the empty string (''), the ownership is updated to the System User.

Usage

update_metastore(
  client,
  id,
  delta_sharing_organization_name = NULL,
  delta_sharing_recipient_token_lifetime_in_seconds = NULL,
  delta_sharing_scope = NULL,
  new_name = NULL,
  owner = NULL,
  privilege_model_version = NULL,
  storage_root_credential_id = NULL
)

metastoresUpdate(
  client,
  id,
  delta_sharing_organization_name = NULL,
  delta_sharing_recipient_token_lifetime_in_seconds = NULL,
  delta_sharing_scope = NULL,
  new_name = NULL,
  owner = NULL,
  privilege_model_version = NULL,
  storage_root_credential_id = NULL
)

Arguments

client

Required. Instance of DatabricksClient()

id

Required. Unique ID of the metastore.

delta_sharing_organization_name

The organization name of a Delta Sharing entity, to be used in Databricks-to-Databricks Delta Sharing as the official name.

delta_sharing_recipient_token_lifetime_in_seconds

The lifetime of delta sharing recipient token in seconds.

delta_sharing_scope

The scope of Delta Sharing enabled for the metastore.

new_name

New name for the metastore.

owner

The owner of the metastore.

privilege_model_version

Privilege model version of the metastore, of the form major.minor (e.g., 1.0).

storage_root_credential_id

UUID of storage credential to access the metastore storage_root.