Pengantar Apache Airflow dengan Python
Mike Metzger
Data Engineer
Untuk menjalankan task tertentu dari command-line:
airflow tasks test <dag_id> <task_id> <date>
Untuk menjalankan seluruh DAG:
airflow dags trigger -e <date> <dag_id>
bash_commandpython_callable python_callable dan provide_context=True. Callable harus menerima **kwargs.filepath dan mungkin butuh atribut mode atau poke_intervalfrom airflow.operators.bash import BashOperator)help(<objek Airflow>), mis., help(BashOperator)

Pengantar Apache Airflow dengan Python