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

BulkImport no longer supports Nullable types #190

Closed
vecknishwaran opened this issue May 14, 2024 · 1 comment · Fixed by #192
Closed

BulkImport no longer supports Nullable types #190

vecknishwaran opened this issue May 14, 2024 · 1 comment · Fixed by #192

Comments

@vecknishwaran
Copy link

Describe the bug
Since upgrading from v1.7.0 to v1.7.1, the bulkimport function no longer supports nullable types. I receive the following error when attempting to import:

bulkcopy: mssql: invalid type for float column: sql.NullFloat64{%!s(float64=0) %!s(bool=true)}

I believe this issue was introduced following the changes made in pull request #179. I am willing to create a PR to address and fix this issue if needed.

@shueybubbles
Copy link
Collaborator

thx for opening an issue! A PR would be great. I suppose it means we're missing this test case?

func TestBulkcopy(t *testing.T) {

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 a pull request may close this issue.

2 participants