I'm searching for best way to run/debug tasks and dags in my IDE. I see that there are two ways of doing this. I can run airflow test
command in debug mode for particular dag and optionally task. Other way is to use DebugExecutor
and run particular dag. I see that both ways require that Airflow database is up and running and that all pools are configured (probably queues as well). My questions are:
- What is the main difference between these two?
- Does
airflow test
usesDebugExecutor
under the hood? - Is there a way to run/debug dags and tasks without running Airflow database and creating dependent pools and queues?
Aucun commentaire:
Enregistrer un commentaire