influxdata / flux

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.
https://influxdata.com
MIT License
760 stars 152 forks source link

fix: make histogramQuantile handle case of zero samples #5419

Closed wolffcm closed 1 year ago

wolffcm commented 1 year ago

Closes #5415

When there are no observations/samples in a histogram (all zeros for each bucket) produce a null value.

Checklist

Dear Author :wave:, the following checks should be completed (or explicitly dismissed) before merging.

Dear Reviewer(s) :wave:, you are responsible (among others) for ensuring the completeness and quality of the above before approval.