Skip to contents

Creates a new metastore based on a provided name and optional storage root path. By default (if the owner field is not set), the owner of the new metastore is the user calling the createMetastore API. If the owner field is set to the empty string (''), the ownership is assigned to the System User instead.

Usage

create_metastore(client, name, region = NULL, storage_root = NULL)

metastoresCreate(client, name, region = NULL, storage_root = NULL)

Arguments

client

Required. Instance of DatabricksClient()

name

Required. The user-specified name of the metastore.

region

Cloud region which the metastore serves (e.g., us-west-2, westus).

storage_root

The storage root URL for metastore.