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

Bug Fix : Fix panic while parsing null timestamps #165

Merged
merged 3 commits into from
Apr 22, 2022

Conversation

yaelleC
Copy link
Contributor

@yaelleC yaelleC commented Apr 21, 2022

When Timestream returns null timestamps, we get a panic error from the parser, I added a check for it.

Fixes #162

@github-actions
Copy link

Code coverage report for PR #165

Go TypeScript
main 64.6% 47.49%
PR 64.8% 47.49%
difference .2% 0%

@yaelleC yaelleC marked this pull request as ready for review April 21, 2022 11:18
@yaelleC yaelleC requested a review from a team as a code owner April 21, 2022 11:18
@yaelleC yaelleC requested review from sunker and fridgepoet and removed request for a team April 21, 2022 11:18
Comment on lines +212 to +214
if datum.ScalarValue == nil {
return nil, nil
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the bug fix, the rest of the changes are test-related

Copy link
Contributor

@andresmgot andresmgot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

@kevinwcyu kevinwcyu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙌

@yaelleC yaelleC merged commit 4750ff8 into main Apr 22, 2022
@yaelleC yaelleC deleted the yaelle/fix-panic-issue162 branch April 22, 2022 07:53
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 this pull request may close these issues.

Error parsing NULL timestamp value in non scalar measure value
3 participants