Replies: 4 comments 1 reply
-
Looks like actual problem into airflow/airflow/providers/common/sql/hooks/sql.py Lines 200 to 201 in 207f65b |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'll take this one 😃 |
Beta Was this translation helpful? Give feedback.
0 replies
-
What is the state now? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Was this ever progressed? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Apache Airflow Provider(s)
microsoft-mssql
Versions of Apache Airflow Providers
apache-airflow-providers-microsoft-mssql==3.3.2
pymssql==2.2.7
Apache Airflow version
2.5.0
Operating System
Ubuntu 20.04.5
Deployment
Official Apache Airflow Helm Chart
Deployment details
1.- Init a local MSSQL server database:
docker run -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=********' -p 1433:1433 -d mcr.microsoft.com/mssql/server:2017-latest
2.- Create an example DAG:
What happened
When using MsSqlHook with Pandas we receive the following warning:
[2023-01-16, 10:39:09 UTC] {logging_mixin.py:137} WARNING - ...***/providers/common/sql/hooks/sql.py:191 **UserWarning: pandas only supports SQLAlchemy connectable (engine/connection) or database string URI or sqlite3 DBAPI2 connection. Other DBAPI2 objects are not tested. Please consider using SQLAlchemy**.
What you think should happen instead
Warning should not be appearing.
How to reproduce
Just execute the example DAG and look at the task log.
Anything else
This is not blocking right now but it can raise future deprecation issues.
Are you willing to submit PR?
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions