Skip to content

Datasets - trigger DAG run when any dataset is updated #34534

@westonplatter

Description

@westonplatter

Description

On this doc page, Airflow explicitly says all datasets need to be updated before a DAG runs is triggered.

When using datasets, in this first release (v2.4) waiting for all datasets in the list to be updated is the only option when multiple datasets are consumed by a DAG. A later release may introduce more fine-grained options allowing for greater flexibility.

I would like to see the schedule param logic configurable so that all or any dataset being updated triggers a DAG run.

Use case/motivation

Configurable so that a DAG run is triggered when either all or any dataset is updated.

To keep the API consistent, code changes would keep all as the default functionality.

Related issues

Tangential, but not directly related

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions