Make Dataset URI a templated field #28641
-
Hey All, we're looking to make it possible for some of our DAGs to conditionally execute based on another DAG's completion. For one of our use cases, we have a single task which operates on all raw data for various data sources. When this process completes single or mutiple downstream DAGs should run based on the source. Using a templated field this would involve passing a "source" param into the upstream DAG and setting the outlet of the task to [Dataset("raw_{{ params.source }}")] while downstream dags could be scheduled easily based on the source. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Sure. I think this ia a sound idea, though implementing it is not trivial. It must be different from the current templating mechanism because JINJA templates are resolved at task execution time. If you would like to work on it - that's cool. If not, then someone might - at some point in time - implement it if they find an interest in it. |
Beta Was this translation helpful? Give feedback.
Sure. I think this ia a sound idea, though implementing it is not trivial. It must be different from the current templating mechanism because JINJA templates are resolved at task execution time. If you would like to work on it - that's cool. If not, then someone might - at some point in time - implement it if they find an interest in it.