Skip to content

Chore!: Deprecate Airflow integration#4180

Merged
izeigerman merged 1 commit intomainfrom
chore-deprecate-airflow
Apr 18, 2025
Merged

Chore!: Deprecate Airflow integration#4180
izeigerman merged 1 commit intomainfrom
chore-deprecate-airflow

Conversation

@izeigerman
Copy link
Copy Markdown
Collaborator

Deprecating the Airflow integration for the following reasons:

  1. The current implementation is quite hacky and relies heavily on undocumented features of Airflow. Maintaining it has become increasingly difficult and diverts valuable resources from the core product.

  2. Airflow is a complex system, and running it reliably comes with its own set of challenges. This complexity adds another layer on top of what SQLMesh introduces, making it hard to determine whether issues are caused by Airflow or SQLMesh. As a result, the core team often ends up debugging Airflow problems instead of focusing on SQLMesh.

  3. SQLMesh integrates with Airflow in a very specific and opinionated way (e.g., one Airflow DAG per model). However, experienced Airflow users typically have established patterns and workflows. These users often find it frustrating that SQLMesh doesn't fit neatly into their existing setups.

  4. The integration is difficult to set up. SQLMesh already introduces several new concepts that users need to understand. Adding the complexity of setting up Airflow on top of that doesn't make onboarding any easier.

In short, the current Airflow integration has become a significant maintenance burden for the core team and doesn't deliver a consistently reliable experience for users. That's why we've made the decision to deprecate it. We're sorry for any inconvenience this deprecation may cause.

Users can still use the SQLMesh Python API and the Airflow PythonOperator to integrate SQLMesh with Airflow in whatever way best suits your needs.

@izeigerman izeigerman requested a review from a team April 18, 2025 16:44
@izeigerman izeigerman force-pushed the chore-deprecate-airflow branch from 7f51d94 to b820c39 Compare April 18, 2025 16:51
@izeigerman izeigerman changed the title Chore: Deprecate Airflow integration Chore!: Deprecate Airflow integration Apr 18, 2025
@izeigerman izeigerman merged commit cf3b0fa into main Apr 18, 2025
21 of 22 checks passed
@izeigerman izeigerman deleted the chore-deprecate-airflow branch April 18, 2025 17:45
rohit-wealthy added a commit to rohit-wealthy/sqlmesh that referenced this pull request Apr 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants