Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Cannot connect to SQL Server #2051

Open
kollerp opened this issue Nov 20, 2023 · 1 comment
Open

Cannot connect to SQL Server #2051

kollerp opened this issue Nov 20, 2023 · 1 comment

Comments

@kollerp
Copy link

kollerp commented Nov 20, 2023

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

  • Astro: 1.7.0
  • pymssql 2.2.10
  • OS: Ubuntu
  • We are running the cloud composer airflow environment locally provided by Google.
@phanikumv
Copy link
Collaborator

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants