Skip to content

add option to set DAG level Dataset outlets #39105

Description

@nimrodV81

Description

add a new argument outlets to the DAG constructor with the same effect as the BaseOperator's outlets argument when the full dag run is successfull

Use case/motivation

use case:
I'm currently maintaining several DAGs with "Dataset Scheduling", where each DAG handles a specific dataset and declares that it is ready for downstream DAGs by an EmptyOperator with an outlets value
this means I need to fan-in all the leafs of each DAG:
image

suggestion:
add an outlets argument to the DAG constructor to mark the Dataset(s) as ready when the dag run is successful

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:data-aware-schedulingassets, datasets, AIP-48, AIP-76, AIP-74, Asset Partitionskind:featureFeature Requestspriority:lowBug with a simple workaround that would not block a release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions