DeleteTable

更新时间:
复制 MD 格式

Deletes a MaxCompute table.

Note

This API has been deprecated with no replacement. While temporary access is maintained, no further updates or bug fixes will be provided. To ensure continued functionality, plan your migration and contact your account manager for support.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

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

Request parameters

Parameter

Type

Required

Description

Example

ProjectId

integer

No

The ID of the DataWorks workspace.

101

TableName

string

Yes

The name of the MaxCompute table.

table1

EnvType

integer

No

The type of the compute engine or data source. Valid values:

  • cdh

  • analyticdb_for_mysql

  • odps

  • emr

  • hadoop

  • holodb

  • hybriddb_for_postgresql

1

AppGuid

string

No

The globally unique identifier (GUID) of the MaxCompute project. Specify the GUID in the odps.{projectName} format.

odps.test

Schema

string

No

The schema information of the table. You need to enter the schema information of the table if you enable the table schema in MaxCompute.

default

Response elements

Element

Type

Description

Example

object

RequestId

string

The ID of the request.

abcde

TaskInfo

object

The information about the task that is used to delete the table.

Status

string

The status of the task that is complete.

success

NextTaskId

string

The ID of the task that is running.

abc1

TaskId

string

The ID of the task that is complete.

abc

Content

string

The content of the task.

success

Examples

Success response

JSON format

{
  "RequestId": "abcde",
  "TaskInfo": {
    "Status": "success",
    "NextTaskId": "abc1",
    "TaskId": "abc",
    "Content": "success"
  }
}

Error codes

HTTP status code

Error code

Error message

Description

500 InternalError.System An internal system error occurred. Try again later.
500 InternalError.UserId.Missing An internal system error occurred. Try again later.
403 Forbidden.Access Access is forbidden. Please first activate DataWorks Enterprise Edition or Flagship Edition. No permission, please authorize
429 Throttling.Api The request for this resource has exceeded your available limit.
429 Throttling.Api.Risk The request for this resource has exceeded your daily available limit.
429 Throttling.System The DataWorks system is busy. Try again later.
429 Throttling.User Your request is too frequent. Try again later.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.