airflow-tutorial-note
使用 docker 來跑 apache airflow 來玩玩 tutorial 的程式
cmd for list dag and task
`
initialize the database tables
airflow db init
print the list of active DAGs
airflow dags list
prints the list of tasks in the “tutorial” DAG
airflow tasks list tutorial
prints the hierarchy of tasks in the “tutorial” DAG
airflow tasks list tutorial –tree
`
local 跑測試的方式
- 跑一個特定的 task
airflow tasks test tutorial templated 2015-06-01 # testing templated
- 跑一個特定的 DAG
airflow dags test [dag_id] [logical_date]