Table name | Description(Optional) | Update Frequency |
task | Contains the basic information of tasks in the orchestration space (development status). | 5 minutes. |
task_schedule | Contains the scheduling info of tasks in the orchestration space (development status). | 5 minutes. |
task_dependency | Contains the dependency relationship of tasks in the orchestration space (development status). | 5 minutes. |
workflow | Contains the basic information of workflows in the orchestration space (development status). | 5 minutes. |
task_run_record | Contains the run history of all instances in the Ops center. | 5 minutes. |
parameter | Parameter table, including project parameter, workflow parameter, and task parameter (workflow and task parameters are in development status). | 5 minutes. |
Table name | Description(Optional) | Update Frequency |
trigger_task | Contains the basic information of tasks in workflow scheduling mode (development status). | 5 minutes. |
trigger_workflow | Contains the basic information and scheduling configuration of workflows in workflow scheduling mode (development status). | 5 minutes. |
trigger_workflow_schedule | Contains the scheduling information of workflows in workflow scheduling mode. | 5 minutes. |
trigger_task_run_record | Contains the record information of task runs in workflow scheduling mode. | 5 minutes. |
trigger_workflow_run_record | Contains the run history of workflows in workflow scheduling mode. | 5 minutes. |
parameter | Parameter table, including project parameter, workflow parameter, and task parameter (workflow and task parameters are in development status). | 5 minutes. |
system_catalog.wedata.taskColumn Name | Data Type | Description(Optional) |
project_id | string | Project ID |
project_name | string | Project Name |
task_id | string | Task ID |
task_name | string | Task name |
task_type | string | Task type |
status | string | Task Status |
owner | string | Task Owner |
workflow_id | string | Associated workflow ID |
workflow_name | string | Workflow name |
schedule_frequency | string | Scheduling frequency |
create_timestamp | timestamp_tz(6) | Task creation time. |
last_update_timestamp | timestamp_tz(6) | Last update time. |
last_update_user | string | Last updated user |
data_source | string | Data Source |
dlc_data_engine | string | DLC Data Engine |
dlc_resource_group | string | DLC Resource Group |
execution_resource_group | string | Execution Resource Group |
SELECTtask_id,task_name,task_type,status,workflow_nameFROMwedata.taskWHEREproject_id = 'your_project_id' -- Replace with your project IDAND owner = 'your_owner_name'; -- Replace with your owner name
system_catalog.wedata.task_scheduleColumn Name | Data Type | Description(Optional) |
project_id | string | Project ID |
project_name | string | Project Name |
task_id | string | Task ID |
task_name | string | Task name |
config_method | string | Task associated workflow type:<br>PERIODICALLY: Periodic workflow<br>MANUALLY: Manual workflow |
schedule_cycle_type | string | Scheduling configuration method:<br>COMMON: General configuration<br>CRON_EXPRESSION: Use cron expression configuration |
effective_start_time | timestamp_tz(6) | Effective time - Start time |
effective_end_time | timestamp_tz(6) | Effective time - End time |
schedule_frequency | string | Scheduling cycle:<br>ONEOFF_CYCLE: One-time<br>YEAR_CYCLE: Year<br>MONTH_CYCLE: Month<br>WEEK_CYCLE: Week<br>DAY_CYCLE: Day<br>HOUR_CYCLE: Hour<br>MINUTE_CYCLE: Minute<br>CRONTAB_CYCLE: crontab expression type |
delay_time | long | Scheduling delay time, in minutes:<br>For minute-based tasks, this field is 0, means no delay.<br>For hourly tasks, it refers to a delay of a few minutes per hour starting at 0 minute.<br>For daily, weekly, monthly, and yearly tasks, it indicates a delay of a few minutes starting at 0:00. |
execution_start_time | string | Execution time - Start time |
execution_end_time | string | Execution time - End time |
cycle_step | long | Scheduling frequency:<br>For example, for minute-based tasks, 20 means scheduling every 20 minutes.<br>For daily tasks, 1 means scheduling once a day. |
time_point | string | Specify scheduling time<br>For example, configuration when specifying running time for hourly scheduling tasks |
time_zone | string | Scheduling timezone |
cron | string | cron expression, only for tasks with cron configuration mode |
SELECTproject_id,project_name,task_id,task_name,config_method,schedule_cycle_type,effective_start_time,effective_end_time,schedule_frequencyFROMwedata.task_scheduleWHEREproject_id = 'your_project_id' -- Replace with your project IDAND schedule_frequency = 'DAY_CYCLE';
system_catalog.wedata.task_dependencyColumn Name | Data Type | Description(Optional) |
project_id | string | Project ID |
project_name | string | Project Name |
task_id | string | Task ID |
task_name | string | Task name |
dependency_project_id | string | Upstream task associated project ID |
dependency_project_name | string | Upstream task associated project name |
dependency_task_id | string | Upstream task ID |
dependency_task_name | string | Upstream Task Name |
SELECTdependency_project_id AS upstream_project_id,dependency_project_name AS upstream_project_name,dependency_task_id AS upstream_task_id,dependency_task_name AS upstream_task_nameFROMwedata.task_dependencyWHEREtask_id = 'your_task_id'; -- Replace with your task ID
system_catalog.wedata.workflowColumn Name | Data Type | Description(Optional) |
project_id | string | Project ID |
project_name | string | Project Name |
workflow_id | string | Associated workflow ID |
workflow_name | string | Workflow name |
workflow_type | string | Workflow type: Workflow cycle/Manual workflow |
folder | string | Workflow folder |
create_time | timestamp_tz(6) | Workflow creation time |
last_update_timestamp | timestamp_tz(6) | Last update time. |
last_update_user | string | Latest updater |
owner | string | workflow owner |
SELECTworkflow_id,workflow_name,workflow_typeFROMwedata.workflowWHEREowner = 'your_owner_name'; -- Replace with your owner name
system_catalog.wedata.task_run_recordColumn Name | Data Type | Description(Optional) |
task_run_id | string | Task instance ID |
task_id | string | Task ID |
task_name | string | Task name |
project_id | string | Task associated project ID |
project_name | string | Task associated project name |
workflow_id | string | Associated workflow ID |
workflow_name | string | workflow name |
dp_data_dt | timestamp_tz(6) | Planned Scheduling Time |
task_run_status | string | Instance State |
run_min | string | Runtime |
run_start_dttm | timestamp_tz(6) | start time |
run_end_dttm | timestamp_tz(6) | running end time |
run_log_url | string | Instance Details Page - Execution Log Product Link |
task_run_error_msg | string | Critical Error Log |
last_update_timestamp | timestamp_tz(6) | Last update time. |
last_update_user | string | Latest updater |
SELECTworkflow_name,COUNT(task_run_id) AS instance_countFROMwedata.task_run_recordWHERErun_start_dttm >= CURRENT_DATE - INTERVAL '7' DAYGROUP BYworkflow_name;
SELECTtask_name,AVG(run_min) AS avg_run_minFROMwedata.task_run_recordWHERErun_min IS NOT NULLGROUP BYtask_nameORDER BYavg_run_min DESCLIMIT 10;
system_catalog.wedata.parameterColumn Name | Data Type | Description(Optional) |
name | string | Project/Task/Workflow Name |
id | string | Project/Task/Workflow ID |
level | string | Parameter Level:<br>TASK: Task Level<br>PROJECT: Project Level<br>WORKFLOW: Workflow Level |
param_name | string | Parameter Name |
param_value_dev | string | Parameter Value in Development Status |
param_value_prod | string | Parameter Value in Production Status |
WITH task_params AS (SELECTp.param_name,p.param_value_dev AS dev_value,p.param_value_prod AS prod_value,'TASK' AS param_levelFROMwedata.parameter pJOINwedata.task t ON p.id = t.task_idWHEREt.task_id = 'task_id' -- Replace with your task IDAND p.level = 'TASK'),workflow_params AS (SELECTp.param_name,p.param_value_dev AS dev_value,p.param_value_prod AS prod_value,'WORKFLOW' AS param_levelFROMwedata.parameter pJOINwedata.task t ON p.id = t.workflow_idWHEREt.task_id = 'task_id' -- Replace with your task IDAND p.level = 'WORKFLOW'),project_params AS (SELECTp.param_name,p.param_value_dev AS dev_value,p.param_value_prod AS prod_value,'PROJECT' AS param_levelFROMwedata.parameter pJOINwedata.task t ON p.id = t.project_idWHEREt.task_id = 'task_id' -- Replace with your task IDAND p.level = 'PROJECT'),all_params AS (SELECT * FROM task_paramsUNION ALLSELECT * FROM workflow_paramsUNION ALLSELECT * FROM project_params)SELECTparam_name,dev_value,prod_value,param_levelFROM (SELECTparam_name,dev_value,prod_value,param_level,ROW_NUMBER() OVER (PARTITION BY param_nameORDER BY CASEWHEN param_level = 'TASK' THEN 1WHEN param_level = 'WORKFLOW' THEN 2WHEN param_level = 'PROJECT' THEN 3END) AS rnFROMall_params) ranked_paramsWHERErn = 1;
system_catalog.wedata.trigger_taskColumn Name | Data Type | Description(Optional) |
project_id | string | Project ID |
project_name | string | Project Name |
task_id | string | Task ID |
task_name | string | Task name |
task_type | string | Task type |
owner | string | Task Owner |
workflow_name | string | Workflow name |
workflow_id | string | Associated workflow ID |
create_timestamp | timestamp_tz(6) | Task creation time. |
last_update_timestamp | timestamp_tz(6) | Last update time. |
last_update_user | string | Last updated user |
data_source | string | Data Source Name |
dlc_data_engine | string | DLC Data Engine |
execution_resource_group | string | Resource group (scheduling resource group or integration resource group) |
dlc_resource_group | string | DLC Resource Group |
SELECTtask_id,task_name,task_type,workflow_name,workflow_idFROMwedata.trigger_taskWHEREproject_id = 'your_project_id' -- Replace with your project IDAND owner = 'your_owner_name'; -- Replace with your owner name
SELECTtask_id,task_name,task_type,owner,data_source,execution_resource_groupFROMwedata.trigger_taskWHEREworkflow_id = 'your_workflow_id'; -- Replace with your workflow ID
system_catalog.wedata.trigger_workflowColumn Name | Data Type | Description(Optional) |
project_id | string | Project ID |
project_name | string | Project Name |
workflow_id | string | Workflow ID. |
workflow_name | string | Workflow name |
workflow_type | string | Workflow type: Cycle/Manual |
folder | string | Workflow folder |
create_time | timestamp_tz(6) | Workflow creation time |
last_update_timestamp | timestamp_tz(6) | Last update time. |
last_update_user | string | Last updated user |
owner | string | workflow owner |
trigger_method | string | Triggering method (scheduled trigger/file arrival trigger) |
schedule_cycle_type | string | Configuration mode: General/cron |
schedule_frequency | string | Scheduling frequency |
time_zone | string | Scheduling timezone |
effective_start_time | timestamp_tz(6) | Effective time - Start time |
effective_end_time | timestamp_tz(6) | Effective time - End time |
execution_time | string | Execution Time |
cron | string | cron expression, only for workflows with cron configuration mode |
trigger_workflow contains both workflow basic information and scheduling configuration message. The trigger_method field identifier indicates the trigger mode, supporting two methods: scheduled trigger and file arrival trigger.SELECTworkflow_id,workflow_name,trigger_method,schedule_frequency,time_zone,cronFROMwedata.trigger_workflowWHEREowner = 'your_owner_name'; -- Replace with your owner name
SELECTworkflow_id,workflow_name,schedule_frequency,effective_start_time,effective_end_time,execution_time,time_zoneFROMwedata.trigger_workflowWHEREproject_id = 'your_project_id' -- Replace with your project IDAND trigger_method = 'scheduled trigger';
SELECTworkflow_id,workflow_name,cron,time_zone,effective_start_time,effective_end_timeFROMwedata.trigger_workflowWHEREproject_id = 'your_project_id' -- Replace with your project IDAND schedule_cycle_type = 'cron';
system_catalog.wedata.trigger_workflow_scheduleColumn Name | Data Type | Description(Optional) |
project_id | string | Project ID |
project_name | string | Project Name |
workflow_id | string | Workflow ID. |
workflow_name | string | Workflow name |
trigger_id | string | Trigger ID |
trigger_method | string | Triggering method |
schedule_cycle_type | string | Configuration Method |
schedule_frequency | string | Scheduling frequency |
time_zone | string | Scheduling timezone |
effective_start_time | timestamp_tz(6) | Effective time - Start time |
effective_end_time | timestamp_tz(6) | Effective time - End time |
cron | string | Cron Expression |
file_arrival_path | string | File arrival path |
trigger_minimum_interval_second | long | Minimum trigger interval (second). |
trigger_wait_time_second | long | Trigger waiting time (second). |
last_update_timestamp | timestamp_tz(6) | Last update time. |
last_update_user | string | Last updated user |
SELECTworkflow_id,workflow_name,trigger_id,trigger_method,schedule_frequency,cron,time_zoneFROMwedata.trigger_workflow_scheduleWHEREproject_id = 'your_project_id'; -- Replace with your project ID
SELECTworkflow_id,workflow_name,trigger_id,file_arrival_path,trigger_minimum_interval_second,trigger_wait_time_secondFROMwedata.trigger_workflow_scheduleWHEREproject_id = 'your_project_id' -- Replace with your project IDAND trigger_method = 'file arrival trigger';
SELECTworkflow_id,workflow_name,trigger_id,cron,time_zone,effective_start_time,effective_end_timeFROMwedata.trigger_workflow_scheduleWHEREproject_id = 'your_project_id' -- Replace with your project IDAND schedule_cycle_type = 'cron';
system_catalog.wedata.trigger_task_run_recordColumn Name | Data Type | Description(Optional) |
task_run_id | string | Task run ID |
task_id | string | Task ID |
task_name | string | Task name |
project_id | string | Task associated project ID |
project_name | string | Task associated project name |
workflow_id | string | Associated workflow ID |
workflow_name | string | workflow name |
task_run_status | string | Task running status. |
run_min | string | Runtime |
run_start_dttm | timestamp_tz(6) | start time |
run_end_dttm | timestamp_tz(6) | running end time |
run_log_url | string | Task Execution Details Page - Execution Log Product Link |
task_run_error_msg | string | Critical Error Log |
last_update_timestamp | timestamp_tz(6) | Last update time. |
last_update_user | string | Last updated user |
SELECTworkflow_name,COUNT(task_run_id) AS run_countFROMwedata.trigger_task_run_recordWHERErun_start_dttm >= CURRENT_DATE - INTERVAL '7' DAYGROUP BYworkflow_name;
SELECTtask_name,AVG(run_min) AS avg_run_minFROMwedata.trigger_task_run_recordWHERErun_min IS NOT NULLGROUP BYtask_nameORDER BYavg_run_min DESCLIMIT 10;
SELECTtask_run_id,task_name,workflow_name,task_run_status,run_start_dttm,run_end_dttm,task_run_error_msgFROMwedata.trigger_task_run_recordWHEREproject_id = 'your_project_id' -- Replace with your project IDAND task_run_status = 'fail';
system_catalog.wedata.trigger_workflow_run_recordColumn Name | Data Type | Description(Optional) |
project_id | string | Project ID |
project_name | string | Project Name |
workflow_id | string | Workflow ID. |
workflow_name | string | Workflow name |
workflow_run_id | string | Workflow run ID |
workflow_run_status | string | Workflow execution status (Waiting/running/success/failure) |
run_min | string | Runtime |
run_start_dttm | timestamp_tz(6) | start time |
run_end_dttm | timestamp_tz(6) | running end time |
trigger_method | string | Trigger mode (manual trigger/scheduling trigger) |
run_log_url | string | Workflow run detail page link |
last_update_timestamp | timestamp_tz(6) | Last update time. |
last_update_user | string | Last updated user |
SELECTworkflow_run_id,workflow_run_status,trigger_method,run_start_dttm,run_end_dttm,run_minFROMwedata.trigger_workflow_run_recordWHEREworkflow_id = 'your_workflow_id' -- Replace with your workflow IDORDER BYrun_start_dttm DESC;
SELECTworkflow_name,COUNT(*) AS total_runs,SUM(CASE WHEN workflow_run_status = 'success' THEN 1 ELSE 0 END) AS success_count,ROUND(SUM(CASE WHEN workflow_run_status = 'success' THEN 1 ELSE 0 END) * 100.0 / COUNT(*), 2) AS success_rateFROMwedata.trigger_workflow_run_recordWHERErun_start_dttm >= CURRENT_DATE - INTERVAL '7' DAYGROUP BYworkflow_nameORDER BYsuccess_rate ASC;
SELECTworkflow_name,AVG(run_min) AS avg_run_min,COUNT(*) AS run_countFROMwedata.trigger_workflow_run_recordWHERErun_min IS NOT NULLGROUP BYworkflow_nameORDER BYavg_run_min DESCLIMIT 10;
SELECTworkflow_run_id,workflow_name,trigger_method,run_start_dttm,run_end_dttm,run_log_urlFROMwedata.trigger_workflow_run_recordWHEREproject_id = 'your_project_id' -- Replace with your project IDAND workflow_run_status = 'fail'ORDER BYrun_start_dttm DESC;
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback