Skip to main content

Drop schema

DELETE 

/metalakes/:metalake/catalogs/:catalog/schemas/:schema

Drops a schema and reports whether a schema was dropped. A schema that is not empty can only be dropped when cascade is true.

Sign in with a bearer token or a local user's password; see Authentication.

Request​

Path Parameters

    metalake stringrequired

    The name of the metalake

    catalog stringrequired

    The name of the catalog

    schema stringrequired

    The name of the schema

Query Parameters

    cascade boolean

    When true, drops the schema together with everything in it. When false, the drop fails if the schema is not empty.

Responses​

Whether the object was dropped. dropped is false when the object did not exist or, for statistics, when none of the named statistics existed.

Schema

    code int32

    Possible values: [0]

    Status code of the response

    dropped boolean

    Whether the drop operation was successful

Loading...