Creates a partition filter expression.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ProjectName | string | Yes | The name of the compute engine or data source. | autotest |
TableName | string | Yes | The name of the table. | dual |
EnvType | string | Yes | The type of the compute engine or data source. Valid values:
| ODPS |
MatchExpression | string | Yes | The partition filter expression. | dt=$[yyyymmdd] |
EntityLevel | integer | No | This parameter is deprecated. The value 0 indicates that the partition filter expression is at the SQL level, and the system checks data quality after each SQL statement is executed.
| 0 |
ProjectId | long | Yes | The DataWorks workspace ID. You can log on to the DataWorks console to query the ID. | 123 |
Response parameters
Examples
Sample success responses
JSON
format
{
"HttpStatusCode": 200,
"Data": 12345,
"ErrorMessage": "Your project is not relative with your account.",
"RequestId": "011e1231u3****",
"Success": true,
"ErrorCode": "401"
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-05-10 | The internal configuration of the API is changed, but the call is not affected | View Change Details |
2023-03-08 | The request parameters of the API has changed | View Change Details |