Call GetQualityEntity to retrieve the partition expression.
This API has been deprecated. We recommend migrating to dataworks-public(2024-05-18) - GetDataQualityScan 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
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:* |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectName |
string |
Yes |
The name of the engine or data source. You can find this name on the Data Source Configuration page. |
autotest |
| TableName |
string |
Yes |
The name of the partitioned table. You can call the GetMetaTablePartition operation to get the table name. |
dual |
| EnvType |
string |
Yes |
The type of the engine or data source. Valid values:
|
odps |
| MatchExpression |
string |
No |
The partition expression. |
dt=$[yyyymmdd] |
| ProjectId |
integer |
Yes |
The ID of the DataWorks workspace. To find the workspace ID, log in to the DataWorks Console and go to the Workspace Configurations page. |
123456 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| RequestId |
string |
The request ID. |
6d739ef6-098a-47**** |
| ErrorMessage |
string |
The error message. |
You have no permission. |
| ErrorCode |
string |
The error code. |
401 |
| Success |
boolean |
Indicates whether the request succeeded. |
true |
| Data |
array<object> |
The data returned. |
|
|
object |
The details of the data. |
||
| RelativeNode |
string |
The scheduling node that is associated with the partition filter expression. This parameter includes the following sub-parameters:
|
[{"projectName":"xc_DP****","nodeId":7000026****}] |
| OnDutyAccountName |
string |
The name of the Alibaba Cloud account of the owner. |
test |
| Task |
integer |
The task node. |
0 |
| TableName |
string |
The name of the partitioned table. |
test_dqc_de**** |
| Followers |
string |
The subscribers who receive alert notifications. The value is the ID of an Alibaba Cloud account. |
1822931**** |
| OnDuty |
string |
The owner who configures the partition filter expression. The value is the ID of an Alibaba Cloud account. |
1822931**** |
| MatchExpression |
string |
The partition filter expression. |
dt=$[yyyymmdd-1] |
| CreateTime |
integer |
The time when the partition filter expression was created. |
1593964800000 |
| ProjectName |
string |
The name of the engine or data source. |
autotest |
| HasRelativeNode |
boolean |
Indicates whether the partition filter expression is associated with a scheduling node. Valid values:
|
true |
| EnvType |
string |
The type of the engine or data source. |
odps |
| EntityLevel |
integer |
The level of the partition filter expression. Valid values:
|
0 |
| ModifyUser |
string |
The user who updates the partition filter expression. The value is the ID of an Alibaba Cloud account. |
1822931**** |
| Sql |
integer |
The SQL-level partition filter expression. |
0 |
| Id |
integer |
The ID of the partition filter expression. |
4003918 |
| ModifyTime |
integer |
The time when the partition filter expression was last updated. |
1593964800000 |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"RequestId": "6d739ef6-098a-47****",
"ErrorMessage": "You have no permission.",
"ErrorCode": "401",
"Success": true,
"Data": [
{
"RelativeNode": "[{\"projectName\":\"xc_DP****\",\"nodeId\":7000026****}]",
"OnDutyAccountName": "test",
"Task": 0,
"TableName": "test_dqc_de****",
"Followers": "1822931****",
"OnDuty": "1822931****",
"MatchExpression": "dt=$[yyyymmdd-1]",
"CreateTime": 1593964800000,
"ProjectName": "autotest",
"HasRelativeNode": true,
"EnvType": "odps",
"EntityLevel": 0,
"ModifyUser": "1822931****",
"Sql": 0,
"Id": 4003918,
"ModifyTime": 1593964800000
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.