Flux is a lightweight scripting language for querying databases (like InfluxDB) and working with data. It's part of InfluxDB 1.7 and 2.0, but can be run independently of those.
A user noted that the example for math.copysign does not include any negative values in the example input so it doesn't really show what the function does. This updates the sample data to include negative y values.
Related to influxdata/docs-v2#5229
Checklist
Dear Author :wave:, the following checks should be completed (or explicitly dismissed) before merging.
[x] โ๏ธ Write a PR description, regardless of triviality, to include the value of this PR
[x] ๐ Reference related issues
[x] ๐ Test cases are included to exercise the new code
[x] ๐งช If new packages are being introduced to stdlib, link to Working Group discussion notes and ensure it lands under experimental/
[x] ๐ If language features are changing, ensure docs/Spec.md has been updated
Dear Reviewer(s) :wave:, you are responsible (among others) for ensuring the completeness and quality of the above before approval.
A user noted that the example for
math.copysign
does not include any negative values in the example input so it doesn't really show what the function does. This updates the sample data to include negativey
values.Related to influxdata/docs-v2#5229
Checklist
Dear Author :wave:, the following checks should be completed (or explicitly dismissed) before merging.
experimental/
docs/Spec.md
has been updatedDear Reviewer(s) :wave:, you are responsible (among others) for ensuring the completeness and quality of the above before approval.