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

With Snowflake, a query with no results gives an error when converting LongToWide, even though ErrNoRows is checked. #16

Closed
kminehart opened this issue Jun 3, 2021 · 2 comments · Fixed by #32

Comments

@kminehart
Copy link
Collaborator

No description provided.

@kminehart
Copy link
Collaborator Author

image

@kminehart
Copy link
Collaborator Author

Investigated this for a little bit.

It looks like comparing to ErrNoRows isn't the right approach at all when querying multiple rows. We probably need to count the number of rows and compare that to see if there were 0 results.

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