DeleteDataLakePartition

Updated at:

Deletes a partition from a data lake table.

Try it now

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

CatalogName

string

Yes

The name of the data catalog.

hive

DbName

string

Yes

The name of the database.

default

TableName

string

Yes

The name of the table.

table_name

PartitionValues

array

Yes

The list of partition values.

string

No

The value of the partition key column.

part_val1

IfExists

boolean

No

Specifies whether to ignore the error if the partition to delete does not exist.

true

Tid

integer

No

The tenant ID.

Note

Hover over your profile picture in the upper-right corner of the DMS console to obtain the tenant ID. For details, see View tenant information.

3****

WorkspaceId

integer

No

The workspace ID.

12****

Response elements

Element

Type

Description

Example

object

Schema of response.

RequestId

string

The request ID, used for log tracing and troubleshooting.

0C1CB646-1DE4-4AD0-B4A4-7D47DD52****

ErrorCode

string

The error code returned when the request fails.

UnknownError

ErrorMessage

string

The error message returned when the request fails.

UnknownError

Success

boolean

Indicates whether the deletion succeeded.

  • true: The deletion succeeded.

  • false: The deletion failed.

true

Examples

Success response

JSON format

{
  "RequestId": "0C1CB646-1DE4-4AD0-B4A4-7D47DD52****",
  "ErrorCode": "UnknownError",
  "ErrorMessage": "UnknownError",
  "Success": true
}

Error codes

See for a complete list.

Release notes

See 变更详情 for a complete list.