apache / airflow

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

Attribute error: 'MsSqlHook' object has no attribute 'get_conn_id' due to breaking changes made in a new release 3.8.0 of apache-airflow-providers-microsoft-mssql library #41373

Open Ishwin9 opened 3 months ago

Ishwin9 commented 3 months ago

Apache Airflow Provider(s)

microsoft-mssql

Versions of Apache Airflow Providers

apache-airflow-providers-microsoft-mssql - 3.8.0

Apache Airflow version

2.7.3

Operating System

linux

Deployment

Astronomer

Deployment details

No response

What happened

We are getting attribute error 'MsSqlHook' object has no attribute 'get_conn_id' due to breaking changes made in a new release 3.8.0 of apache-airflow-providers-microsoft-mssql library

What you think should happen instead

No response

How to reproduce

update apache-airflow-providers-microsoft-mssql library to 3.8.0

Anything else

No response

Are you willing to submit PR?

Code of Conduct

boring-cyborg[bot] commented 3 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.

Ishwin9 commented 3 months ago

image

romsharon98 commented 3 months ago

It looks like it been solved with this PR: https://github.com/apache/airflow/pull/40615

Ishwin9 commented 3 months ago

I am not sure if this is same. I had to downgrade the provider to 3.7.2 version and it was successful after that. This seems like a new bug after the new release of this provider

xy-qimu commented 5 days ago

Has this problem been solved?