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

sql_variant invalid scanType value #186

Open
aangelisc opened this issue Apr 10, 2024 · 0 comments
Open

sql_variant invalid scanType value #186

aangelisc opened this issue Apr 10, 2024 · 0 comments

Comments

@aangelisc
Copy link

Describe the bug
This line sets the scanType for sql_variant to nil. This can break downstream libraries when processing rows from a column of this type as it leads to confusion as to what the true type should be (despite the fact that the driver seems to cast these values to string values).

The type should be either an empty interface or string to correlate with the data that is returned from the driver.

See grafana/grafana#81935 for details on the issue that lead to us identifying this.

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

No branches or pull requests

1 participant