How to use templates and macros in Apache Airflow

Templates and Macros in Apache Airflow are the way to pass dynamic data to your DAGs at runtime. Let’s imagine that you would like to execute a SQL request using the execution date of your DAG? How can you do that? How could you use the DAG id of your DAG in your bash script …

How to use templates and macros in Apache Airflow Read More »