connector-x icon indicating copy to clipboard operation
connector-x copied to clipboard

Mssql fixes

Open Niivii opened this issue 1 year ago • 3 comments

Should fix https://github.com/sfu-db/connector-x/issues/678 https://github.com/sfu-db/connector-x/issues/619 https://github.com/sfu-db/connector-x/issues/354 https://github.com/sfu-db/connector-x/issues/560 + a probably a bunch of others

Niivii avatar Sep 08 '24 23:09 Niivii

Ok. Mandatroy disclaimer it's my first week coding in Rust and as I'm on Windows I couldn't make the tests runs because the profiling requires nix. I will setup a wsl or container and dig.

Didn't think UUID bump would break the tests. @wangxiaoying Or could this just be because I forgot to bump the toml for connectorx-python ? 🤦

Niivii avatar Sep 11 '24 23:09 Niivii

Hi @Niivii , thanks for the PR! (sorry for the late reply)

Or could this just be because I forgot to bump the toml for connectorx-python ? I just approved the CI running for this PR, let's see whether that's the issue.

Also, if you want to build and test offline on windows, here is the github workflow of how we build the wheel files for windows release. Hope it can be use as a reference.

wangxiaoying avatar Oct 01 '24 18:10 wangxiaoying

Thanks a lot @wangxiaoying ! I will have a look and fix the postgres type test. Will probably have to modify it because of the UUID library bumps.

Niivii avatar Oct 01 '24 18:10 Niivii

Closing this as a lot of changes has already been taken care of in 0.4. I will reopen a new simpler PR just for SQL Server named instance issue and the pre login token supports (using_named_connection() + bump of tiberius to 0.9+).

Niivii avatar Nov 05 '24 12:11 Niivii