|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
The data quality monitoring task. |
||
| Id |
integer |
The ID of the data quality check task. |
10001 |
| Name |
string |
The name of the data quality check task. The name can contain digits, letters, Chinese characters, and half-width or full-width punctuation marks, and can be up to 255 characters in length. |
Quality check task |
| Description |
string |
The description of the data quality check task. The description can be up to 65,535 characters in length. |
This is a daily run data quality evaluation plan. |
| TenantId |
integer |
The ID of the DataWorks tenant. |
10 |
| ProjectId |
integer |
The ID of the DataWorks workspace. |
100 |
| Target |
object |
The monitored object of the data quality check task. |
|
| Type |
string |
The monitored object type. Valid values:
|
Table |
| DatabaseType |
string |
The database type of the table dataset. Valid values:
|
maxcompute |
| TableGuid |
string |
The unique ID of the table in Data Map. |
odps.unit_test.tb_unit_test |
| PartitionSpec |
string |
The partition settings of the partitioned table. |
ds=$[yyyymmdd-1] |
| Trigger |
object |
The trigger configuration of the data quality check task. |
|
| Type |
string |
The event that triggers the execution of the data quality check task. Valid values:
|
ByScheduledTaskInstance |
| TaskIds |
array |
The IDs of the scheduled nodes whose successful instance execution triggers the data quality check task. This parameter takes effect only when Type is set to ByScheduledTaskInstance. |
|
|
integer |
The ID of the scheduled node. |
10001 |
|
| DataSourceId |
integer |
The ID of the data source used to execute the data quality check task. |
201 |
| RuntimeConf |
string |
The runtime configuration for using the data source. Currently, you can only specify the YARN queue for EMR and set the SQL engine to SPARK_SQL, KYUUBI, PRESTO_SQL, or HIVE_SQL when collecting EMR tables. |
{ "queue": "default", "sqlEngine": "SPARK_SQL" } |
| Hooks |
array |
The callback settings for the lifecycle of the data quality check task instance. Currently, only one hook that blocks the scheduled task is supported. |
|
|
object |
|||
| Type |
string |
The type of the subsequent action. Valid values:
|
BlockTaskInstance |
| Condition |
string |
The trigger condition of the hook. |
${severity} == "High" AND ${status} == "Critical" |
| Notifications |
array |
The notification subscription configuration of the data quality check task. |
|
|
object |
|||
| Condition |
string |
The trigger condition of the alert. |
${blockType} == "Strong" |
| Notifications |
array |
The specific notification settings. |
|
|
object |
The notification method. |
||
| NotificationChannels |
array |
The notification method. |
|
|
object |
|||
| Channels |
array |
The notification method. |
["Mail"] |
|
string |
Valid values:
|
|
|
| NotificationReceivers |
array |
The settings of the alert recipients. |
|
|
object |
|||
| ReceiverType |
string |
The type of the alert recipient. |
AliUid |
| ReceiverValues |
array |
The alert recipient values. |
|
|
string |
The specific value of the alert recipient. |
user1 |
|
| Extension |
string |
The extension information in JSON format. For example, DingTalk chatbots support mentioning all members. |
{"atAll":"true"} |
DataQualityEvaluationTask
Updated at:
Is this page helpful?