Skip to contents

Updates a schema for a catalog. The caller must be the owner of the schema or a metastore admin. If the caller is a metastore admin, only the owner field can be changed in the update. If the name field must be updated, the caller must be a metastore admin or have the CREATE_SCHEMA privilege on the parent catalog.

Usage

update_schema(
  client,
  full_name,
  comment = NULL,
  enable_predictive_optimization = NULL,
  new_name = NULL,
  owner = NULL,
  properties = NULL
)

schemasUpdate(
  client,
  full_name,
  comment = NULL,
  enable_predictive_optimization = NULL,
  new_name = NULL,
  owner = NULL,
  properties = NULL
)

Arguments

client

Required. Instance of DatabricksClient()

full_name

Required. Full name of the schema.

comment

User-provided free-form text description.

enable_predictive_optimization

Whether predictive optimization should be enabled for this object and objects under it.

new_name

New name for the schema.

owner

Username of current owner of schema.

properties

A map of key-value properties attached to the securable.