Skip to content

fix(connectors): pymssql login_timeout/timeout for MSSQL connect_args - #1297

Merged
FabioLeitao merged 1 commit into
mainfrom
fix/mssql-pymssql-connect-args
Jul 21, 2026
Merged

FabioLeitao merged 1 commit into
mainfrom
fix/mssql-pymssql-connect-args

Conversation

@FabioLeitao

Copy link
Copy Markdown
Collaborator

Summary

Field bug on first native MSSQL connector run: _connect_args_from_target passed connect_timeout to pymssql, which expects login_timeout and timeout — connections failed with connect() got an unexpected keyword argument connect_timeout and zero rows ingested.

  • MSSQL branch returns {"login_timeout": connect_s, "timeout": read_s} before the generic connect_timeout fallback
  • Oracle and other drivers unchanged

Test plan

  • test_connect_args_from_target_mssql_pymssql — asserts login_timeout/timeout, no connect_timeout
  • ./scripts/check-all.sh green locally

Made with Cursor

pymssql rejects connect_timeout; map connect_timeout_seconds and
read_timeout_seconds to login_timeout and timeout before the generic fallback.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant