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

Validate points on input #8034

Merged
merged 2 commits into from
Apr 26, 2018
Merged

Conversation

dsouzae
Copy link
Contributor

@dsouzae dsouzae commented Feb 20, 2017

Validate points when using Client API. If input value is +Inf or -Inf influxdb server side will give an incorrect error (invalid boolean, or invalid number).

This PR only validates on Client side. Server side would need a different set of changes.

Also make sure to skip any "nil" points when the client attempts a Write.

Did not update CHANGELOG.md as PR could be considered trivial.

Required for all non-trivial PRs
  • Rebased/mergable
  • Tests pass
  • CHANGELOG.md updated
  • Sign CLA (if not already signed)

…Point.

influxdb will give the following errors:
    value=+Inf - invalid boolean
    value=-Inf - invalid number
@jsternberg jsternberg requested a review from e-dard April 23, 2018 16:09
@e-dard e-dard merged commit a446134 into influxdata:master Apr 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants