Deleting an Airflow DAG
You can delete unused Airflow DAGs using the Cloudera Data Engineering (CDE) command line interface (CLI).
cde job deletecommand. The
cde airflow delete-dagcommand is a fallback for when Airflow gets into an unexpected situation and you have to remove a DAG with no associated Airflow job.
To delete a DAG from Airflow that is not associated with a job, use the
cde airflow delete-dagcommand:
cde airflow delete-dag --dag-id <DAG_ID>