Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(mssql): always pass port to pyodbc in host string #9656

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

gforsyth
Copy link
Member

Description of changes

Passing a port as a separate keyword argument is broken on pyodbc for
at least ODBC Driver 18 for SQL Server.

Passing the port in the hostname, however, works for both FreeTDS and
ODBC Driver 18, so we're just going to do that for now.

Issues closed

Passing a port as a separate keyword argument is broken on `pyodbc` for
at least `ODBC Driver 18 for SQL Server`.

Passing the port in the hostname, however, works for both `FreeTDS` and
ODBC Driver 18, so we're just going to do that for now.
@cpcloud
Copy link
Member

cpcloud commented Jul 22, 2024

Loving how you hit an unrelated flaky MS SQL issue in this PR!

Opened an issue earlier this morning for that: #9654.

Looks like this case is a different test, though pyarrow is involved in both cases.

Copy link
Member

@cpcloud cpcloud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ship it!

@cpcloud cpcloud added bug Incorrect behavior inside of ibis mssql The Microsoft SQL Server backend labels Jul 22, 2024
@cpcloud cpcloud added this to the 9.2 milestone Jul 22, 2024
@cpcloud cpcloud merged commit 2e3fd9a into ibis-project:main Jul 22, 2024
86 checks passed
@gforsyth gforsyth deleted the mssql_host_port branch July 22, 2024 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Incorrect behavior inside of ibis mssql The Microsoft SQL Server backend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ibis.mssql.connect login timeout expired
2 participants