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

CSVColumnParser returns []byte instead of driver.Value #298

Open
vasyvasilie opened this issue Aug 9, 2022 · 0 comments · May be fixed by #313
Open

CSVColumnParser returns []byte instead of driver.Value #298

vasyvasilie opened this issue Aug 9, 2022 · 0 comments · May be fixed by #313

Comments

@vasyvasilie
Copy link

Operating system and Go Version

linux, 1.18.4

Issue

In 2018 this bug already appeared and was fixed in #140 v2 branch only, but last commit of v2 was on 14 Sep 2018
Can you support same behaviour in master?

Reproduction steps

https://go.dev/play/p/J5GC6fgNrYv

Expected Result

there is a remaining expectation which was not matched: ExpectedQuery => expecting Query, QueryContext or QueryRow which:
  - matches sql: 'SELECT '
  - is without arguments
  - should return rows:
    row 0 - [[49 50 51] <nil>]

Actual Result

there is a remaining expectation which was not matched: ExpectedQuery => expecting Query, QueryContext or QueryRow which:
  - matches sql: 'SELECT '
  - is without arguments
  - should return rows:
    row 0 - [[49 50 51] []]
@fatelei fatelei linked a pull request Apr 3, 2023 that will close this issue
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.

1 participant