Replies: 2 comments 6 replies
-
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Converted it into discussion, since it is, well, discussion. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
Hi, as my issue was raised here which also included depth-first execution model context, I would like to open an issue to have more discussion on this matter.
Use case/motivation
motivated from the depth-first execution model implemented in mapped TaskGroup:
At present, the upstream / downstream list dependencies now only applied on DAGNode (which is the whole TaskGroup or Operator)
There might be better control over desired TaskFlow if we could enhance support for deeper upstream/downstream dependencies at the granularity of mapped task instances, instead of applying them to the entire TaskGroup.
In the model above,
extract_file_1
task downstream list should be onlytransform_file_1
andload_file_1
in order, rather than encompassing the whole mapped grouptransform_file[]
andload_file[]
as in the current implementation.For instance, I scheduled my test DAG on
Airflow 2.7.0
:Clear etl.e[1] state with downstream will trigger all mapped task in
etl.t[]
andetl.l[]
group.Thanks,
Related issues
No response
Are you willing to submit a PR?
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions