astronomer / astro-sdk

Astro SDK allows rapid and clean development of {Extract, Load, Transform} workflows using Python and SQL, powered by Apache Airflow.
https://astro-sdk-python.rtfd.io/
Apache License 2.0
329 stars 40 forks source link

Cannot connect to SQL Server #2051

Open kollerp opened 7 months ago

kollerp commented 7 months ago

Describe the bug We are unable to to connect to a locally hosted SQL Server with connection metadata registered in the Airflow UI. source = aql.Table(name=TABLE_NAME, conn_id=CONNECTION_ID) fails with:

File "src/pymssql/_pymssql.pyx", line 593, in pymssql._pymssql.connect standard_task_runner.py:104} ERROR - Failed to execute job 55 for task export_to_file (connect() got an unexpected keyword argument 'extra'; 508)

Version

phanikumv commented 7 months ago

Can you share how your sqlserver connection is being configured in Airflow please?