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

handle null values in summarize queries better #275

Open
patrickdevivo opened this issue Mar 24, 2022 · 0 comments
Open

handle null values in summarize queries better #275

patrickdevivo opened this issue Mar 24, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@patrickdevivo
Copy link
Contributor

https://github.com/mergestat/mergestat/blob/main/cmd/summarize/commits/commits.go#L63-L70

It's possible for author_name / author_email to be null, in which case we have a Scan error - should use sql.NullString in these cases

@patrickdevivo patrickdevivo added the bug Something isn't working label Mar 24, 2022
@patrickdevivo patrickdevivo self-assigned this Mar 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant