Skip to main content

Update catalog

PUT 

/metalakes/:metalake/catalogs/:catalog

Applies one or more changes to a catalog, such as a rename, a new comment or property changes, and returns the updated catalog.

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

Body

    updates

    object[]

    required

  • Array [

  • oneOf

    @type stringrequired

    Possible values: [rename]

    newName stringrequired

    The new name of the catalog

  • ]

Responses​

The catalog, with its type, provider, comment, properties and audit information.

Schema

    code int32

    Possible values: [0]

    Status code of the response

    catalog

    object

    A catalog

    name stringrequired

    The name of the catalog

    type stringrequired

    Possible values: [relational, fileset, messaging, model]

    The type of the catalog

    provider stringrequired

    Possible values: [hive, lakehouse-iceberg, lakehouse-paimon, lakehouse-hudi, lakehouse-generic, glue, jdbc-mysql, jdbc-postgresql, jdbc-doris, jdbc-starrocks, jdbc-oracle, jdbc-sqlserver, jdbc-bigquery, jdbc-maxcompute, jdbc-oceanbase, jdbc-clickhouse, jdbc-hologres, fileset, kafka, model]

    The provider of the catalog. Each provider serves one catalog type: fileset serves fileset, kafka serves messaging, model serves model, and every other provider serves relational.

    comment stringnullable

    A comment about the catalog

    audit

    object

    required

    Audit information for a Gravitino resource.

    creator string

    The user who created the resource

    createTime date-time

    The time the resource was created

    lastModifier string

    The user who last modified the resource

    lastModifiedTime date-time

    The time the resource was last modified

    properties

    object

    Configured string to string map of properties for the catalog

    property name* string
Loading...