Skip to contents

Creates a new schema for catalog in the Metatastore. The caller must be a metastore admin, or have the CREATE_SCHEMA privilege in the parent catalog.

Usage

create_schema(
  client,
  name,
  catalog_name,
  comment = NULL,
  properties = NULL,
  storage_root = NULL
)

schemasCreate(
  client,
  name,
  catalog_name,
  comment = NULL,
  properties = NULL,
  storage_root = NULL
)

Arguments

client

Required. Instance of DatabricksClient()

name

Required. Name of schema, relative to parent catalog.

catalog_name

Required. Name of parent catalog.

comment

User-provided free-form text description.

properties

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

storage_root

Storage root URL for managed tables within schema.