Creates a Partition Expression Association.
This API has been deprecated. We recommend migrating to dataworks-public(2024-05-18) - UpdateDataQualityScan for enhanced functionality and continued support. While the deprecated API remains temporarily accessible, no further updates or bug fixes will be provided.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| EnvType |
string |
Yes |
The type of the compute engine or data source. |
ODPS |
| MatchExpression |
string |
Yes |
The partition expression. |
dt=$[yyyymmdd] |
| NodeId |
integer |
Yes |
The ID of the scheduling node. You can call the ListNodes API to obtain the node ID. |
12321 |
| ProjectId |
integer |
Yes |
The ID of the workspace. |
123 |
| TargetNodeProjectName |
string |
Yes |
The name of the project to which the scheduling node belongs. |
autotest |
| ProjectName |
string |
Yes |
The name of the compute engine instance or data source. |
autotest |
| TableName |
string |
Yes |
The name of the table. |
dual |
| TargetNodeProjectId |
integer |
Yes |
The ID of the project to which the node belongs. |
1234 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The data returned for the request. |
||
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| Data |
boolean |
Indicates whether the association was created successfully. |
true |
| ErrorMessage |
string |
The error message returned if the request fails. |
You have no permission. |
| RequestId |
string |
The request ID. |
ecb967ec-c137-48**** |
| Success |
boolean |
Indicates whether the request was successful. |
true |
| ErrorCode |
string |
The error code returned if the request fails. |
401 |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"Data": true,
"ErrorMessage": "You have no permission.",
"RequestId": "ecb967ec-c137-48****",
"Success": true,
"ErrorCode": "401"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.