Skip to main content

Drop partition statistics

POST 

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

Drops the named statistics from the given partitions of a table. The response reports dropped as true when at least one of the statistics existed and was dropped.

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

    drops

    object[]

    required

    The list of partition statistics to drop

  • Array [

  • partitionName stringrequired

    The name of the partition

    statisticNames string[]required

    The names of the statistics to drop for the partition

  • ]

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...