apache / apache/dolphinscheduler

[DSIP-41] Add workflow identify into taskDefinition metadata

Open
#16,005 0 comments 0 reactions 0 assignees View on GitHub
DSIP
Dominant language
Java
Stars
14.5k
Forks
5.1k
Avg merge
1d 21h
Merged PRs (30d)
28

Description

### Search before asking

- [X] I had searched in the [DSIP](https://github.com/apache/dolphinscheduler/issues/14102) and found no similar DSIP.

### Motivation

Right now, if we want to find out the task definition under a workflow definition, we need to join tree table,
`t_ds_process_definition`, `t_ds_task_definition`, `t_ds_process_task_relation`, it's better directly add the workflow definition identity into task definition to make this case easier.

### Design Detail

_No response_

### Compatibility, Deprecation, and Migration Plan

_No response_

### Test Plan

_No response_

### Code of Conduct

- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)

Contributor guide

Open the contributing guide

Research direction

Start by tracing how t_ds_process_definition, t_ds_task_definition, and t_ds_process_task_relation represent the workflow-to-task relationship. Confirm the metadata and migration implications, then make task definitions directly include the workflow definition identity so the relationship can be found without joining the tree tables.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.