Repository navigation
Allow DAGs to be scheduled when any related dataset has been updated #28253
Replies: 3 comments 5 replies
|
cc: @Taragolis @ashb - any plans in the pipeline for that one? |
|
@ashb for the syntax I have some ideas: Adding a mode argument which can be AND or OR, either using constants or an Enum class, the DAG argument could be named It could also be a boolean flag named Finally we could allow to pass a scheduling object as schedule param where one can freely combine AND and OR relationships between datasets. It would look something like this I think the last idea is the most powerful one, but personally I would rule it out for a first iteration, as its not possible to do the resolution via plain SQL as it's done now and I would prefer not to have to change too much code of how this is currently implemented. |
Uh oh!
There was an error while loading. Please reload this page.
Currently the behavior for a DAG which depends on multiple DataSets is to be executed only when all datasets have been updated since the last DAG execution. This feature would enable a DAG to run every time any of the multiple DataSets change.
The motivation is to allow better traceability of changes in a derived dataset, being able to track down changes along all the DAGs chain for every change in every dataset.
I'm able to provide a PR for this feature if the feature is desired. If there are current plans for this I would like to hear from them as I want to align the proposal with the current plan, I haven't found anything in the issues or the mailing list, but the docs already make it implicit that this feature is planed somehow.
All reactions