Airflow dag for optimize tables


I need help regarding creating a seperate airflow dag for z-order and vaccum. Any idea on how to proceed?

create macro that does it and then use dbt run-operation as the separate task in your dag

not sure how dbt specific this is though

Note: @Gio originally posted this reply in Slack. It might not have transferred perfectly.

1 Like