-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
feat: replace github.com/denisenkom/go-mssqldb with github.com/microsoft/go-mssqldb #13524
Conversation
I need some help ensuring this PR does not regress you or our users of the azure data explorer output. This PR updates the go-mssqldb from github.com/denisenkom/go-mssqldb to github.com/microsoft/go-mssqldb. Most of the changes are drop in except the following commit to azure data explorer output: 00cb07e There are two changes I am concerned about:
Can either of you try this out or verify that I have made the correct changes? Since you were also interested in the replacement of the go-msssqldb dependency, can you give this a shot to verify your kerberos support works? Thanks! |
I made a build of your branch and took it for a spin. For some reason though I got only NTLM auth in my test environment, realised that I get the same behaviour with my own updated "ugly build" go-mssqldb v1.3.0, while my old one, made in the excact same way with go-mssqldb v0.17.1-0.20221011173445-537893aca440 just works. I tried to do a fast "read up" on wether MSFT changed some behaviour or not, I mean they have changed default settings in many of their other drivers so why not this one. Have not found any such indications, but if my working schedule allows me I will look into this, in any case out of curiosity. Nice work getting the change in place though! Update: |
…oft/go-mssqldb fixes: influxdata#12745
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. We should try to remove the go.mod
replacement as soon as possible IMO...
go.mod
Outdated
@@ -484,3 +484,5 @@ require ( | |||
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect | |||
sigs.k8s.io/yaml v1.3.0 // indirect | |||
) | |||
|
|||
replace github.com/microsoft/go-mssqldb v1.3.0 => github.com/powersj/go-mssqldb v1.3.0-fix2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any PR we can watch to remove this replacement ASAP?
@powersj giving this back to you in case you want to wait for the upstream PR to be merged... |
@srebhan Upstream PR is merged, thanks for catching the replace was still there. I've updated the go.mod to use the latest commit and removed the replace. |
Download PR build artifacts for linux_amd64.tar.gz, darwin_amd64.tar.gz, and windows_amd64.zip. 📦 Click here to get additional PR build artifactsArtifact URLs |
fixes: #12745