Deletes the statistics on the fields in the partitions of a metadata table in Data Lake Formation (DLF).
Debugging
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
Parameter | Type | Position | Required | Example | Description |
---|---|---|---|---|---|
CatalogId | String | Query | No | 1344371 | The catalog ID of the metadatabase. Default value: the user ID of your Alibaba Cloud account. |
DatabaseName | String | Query | No | database_test | The name of the metadatabase. |
TableName | String | Query | No | test_table_20201223 | The name of the metadata table. |
PartitionNames | ListString | Query | No | The names of partitions. | |
ColumnNames | ListString | Query | No | The names of fields. | |
RegionId | String | Host | No | cn-hangzhou | The ID of the region where DLF is activated. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Code | String | OK | The description of the status code. |
Message | String | . | The error message that is returned. |
RequestId | String | B7F4B621-E41E-4C84-B97F-42B5380A32BB | The ID of the request. |
Success | Boolean | true | 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"
}