Dataclasses as Pipeline Definitions in Airflow
summary
Builds MySQL→Redshift ETL pipelines as Python dataclasses that generate dynamic DAGs and replace 180 ad‑hoc JSON blobs with a single subclassed template plus a loop that instantiates per‑table DAGs. Adds post_init logic, azdict param passing, a PR validation utility that checks schemas/columns, a debug target table for safe local runs, richer OpsGenie alerts, and shared operators. Upgrading to Airflow 2.0 gives a consistent 50% reduction in DAG execution time.
AI-written summary · about
