Creates a partition expression for data quality.
This API has been deprecated. We recommend migrating to dataworks-public(2024-05-18) - CreateDataQualityScan 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 |
| ProjectName |
string |
Yes |
The name of the engine or data source. |
autotest |
| TableName |
string |
Yes |
The name of the table. |
dual |
| EnvType |
string |
Yes |
The type of the engine or data source. Valid values: ODPS, EMR, CDH, and HOLO. |
ODPS |
| MatchExpression |
string |
Yes |
The partition expression. |
dt=$[yyyymmdd] |
| EntityLevel |
integer |
No |
This parameter is deprecated. Valid values:
|
0 |
| ProjectId |
integer |
Yes |
The ID of the DataWorks workspace. You can go to the DataWorks console to obtain the workspace ID. |
123 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The data returned. |
||
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| Data |
integer |
The ID of the created partition expression. |
12345 |
| ErrorMessage |
string |
The error message. |
Your project is not relative with your account. |
| RequestId |
string |
The request ID. |
011e1231u3**** |
| Success |
boolean |
Indicates whether the request was successful. |
true |
| ErrorCode |
string |
The error code. |
401 |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"Data": 12345,
"ErrorMessage": "Your project is not relative with your account.",
"RequestId": "011e1231u3****",
"Success": true,
"ErrorCode": "401"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.