Deletes the statistics on the fields in the partitions of a metadata table in Data Lake Formation (DLF).

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request headers

This operation uses only common request headers. For more information, see Common request parameters.

Request syntax

DELETE /api/metastore/catalogs/databases/tables/partitions/columnstatistics 

Request parameters

ParameterTypePositionRequiredExampleDescription
CatalogIdStringQueryNo1344371

The catalog ID of the metadatabase. Default value: the user ID of your Alibaba Cloud account.

DatabaseNameStringQueryNodatabase_test

The name of the metadatabase.

TableNameStringQueryNotest_table_20201223

The name of the metadata table.

PartitionNamesListStringQueryNo

The names of partitions.

ColumnNamesListStringQueryNo

The names of fields.

RegionIdStringHostNocn-hangzhou

The ID of the region where DLF is activated.

Response parameters

ParameterTypeExampleDescription
CodeStringOK

The description of the status code.

MessageString.

The error message that is returned.

RequestIdStringB7F4B621-E41E-4C84-B97F-42B5380A32BB

The ID of the request.

SuccessBooleantrue

Indicates whether the call was successful.

Examples

Sample requests

DELETE /api/metastore/catalogs/databases/tables/partitions/columnstatistics HTTP/1.1 
{
    "TableName":"test_table_20201223",
    "DatabaseName":"database_test",
    "RegionId":"cn-hangzhou",
    "ColumnNames":[
        "col1"
    ],
    "PartitionNames":[
        "ds=20201201"
    ],
    "CatalogId":"1344371"
}

Sample success responses

JSON format

{
  "Message": ".",
  "RequestId": "B7F4B621-E41E-4C84-B97F-42B5380A32BB",
  "Code": "OK",
  "Success": "true"
}