v1

latestOpenAPI 3.0.3AGPL v3.02026-07-17425785.7 KB
SchemasService

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.

patch/schemas/{fullName}

Path parameters

fullNamestring required

Full name of schema, in form of catalog_name.schema_name.

Request body

fullNamestring required

Full name of schema, in form of catalog_name.schema_name.

commentstring

User-provided free-form text description.

propertiesobject

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

When provided in update request, the specified properties will override the existing properties. To add and remove properties, one would need to perform a read-modify-write.

newNamestring

Name of schema.

Response

OK

namestring required

Name of schema, relative to parent catalog.

catalogNamestring required

Name of parent catalog.

commentstring

User-provided free-form text description.

propertiesobject

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

fullNamestring

Full name of schema, in form of catalog_name.schema_name.

ownerstring

Username of current owner of schema.

createdAtstring

Time at which this schema was created, in epoch milliseconds.

createdBystring

Username of schema creator.

updatedAtstring

Time at which this schema was last updated, in epoch milliseconds.

updatedBystring

Username of user who last modified schema.

schemaIdstring

Unique identifier for the schema.