Skip to main content

Update statistics

PUT 

/metalakes/:metalake/objects/:metadataObjectType/:metadataObjectFullName/statistics

Sets the values of the given statistics on a table, creating any that do not exist yet. Each statistic name must start with custom- and be at most 128 characters long.

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

Request​

Path Parameters

    metalake stringrequired

    The name of the metalake

    metadataObjectType stringrequired

    Possible values: [TABLE]

    The type of the metadata object. Statistics are supported for tables only; any other type fails with IllegalArgumentException. The server matches the value case-insensitively.

    metadataObjectFullName stringrequired

    The full name of the metadata object

Body

    updates

    object

    required

    The statistics to update for each partition

    property name* any

    The statistics to update for each partition

Responses​

The operation succeeded. The body carries only code, which is 0.

Schema

    code int32required

    Possible values: [0]

    Status code of the response

Loading...