ExtendedStatsBuckets gives negative variance

Elasticsearch v. 6.2.4

ExtendedStats over a negative field in a DateHistogram gives a negative variance, and NaN for standard deviation. I believe this is a bug since variance should never be negative as it is derived from a squared value.

This is what the response looks like:


This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.