apache / airflow

Apache Airflow - A platform to programmatically author, schedule, and monitor workflows
https://airflow.apache.org/
Apache License 2.0
36.59k stars 14.17k forks source link

Update Databricks provider to depend on databricks-sql-connector >= 3.1.0 #39274

Open sunchao opened 5 months ago

sunchao commented 5 months ago

Description

We are trying to upgrade to urllib3 2.x but faced a few challenges in terms of dependencies w.r.t Databricks, in particular we use dbt-databricks as well as apache-airflow-providers-databricks:

Ideally, it'd be great if apache-airflow-providers-databricks can upgrade its dependency of databricks-sql-connector to >=3.1.0.

Use case/motivation

No response

Related issues

No response

Are you willing to submit a PR?

Code of Conduct

boring-cyborg[bot] commented 5 months ago

Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.

potiuk commented 5 months ago

Feel free to attempt to upgrade it.

Taragolis commented 5 months ago

AFAIK databricks-sql-connector only supports SQLAlchemy 2, but Airflow and some components (FAB) only works with 1.4

sunchao commented 5 months ago

Thanks @Taragolis ! Yes, looks like this depends on https://github.com/apache/airflow/issues/28723