Skip to main content

List statistics

GET 

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

Returns the statistics of a table, each with its value, whether it is reserved or modifiable, and audit information. Statistics are supported only for objects of type TABLE.

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

Responses​

The table's statistics, each with its value, whether it is reserved or modifiable, and audit information.

Schema

    code int32

    Possible values: [0]

    Status code of the response

    statistics

    object[]

  • Array [

  • name stringrequired

    The name of the statistic

    value

    object

    The statistic's value, present only when the statistic has one. Its type depends on the statistic: a string, number, integer, boolean, array, or object.

    oneOf

    string

    reserved booleanrequired

    Whether the statistic is reserved

    modifiable booleanrequired

    Whether the statistic is modifiable

    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

  • ]

Loading...