You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And a conversion from long to double would result in the loss of the -1 sum. Also, this appears to be an issue on the OpenSearch aggregation side, NOT on the sql plugin side.
Option A) Report an error when trying to aggregate on long values.
Option B) ask OpenSearch to support aggregation on long values as per their documentation: https://opensearch.org/docs/2.0/opensearch/supported-field-types/numeric/
Option C) compute these aggregations in-memory (sum on a field defined as a long).
What is the bug?
When summing integers, large integers can be ignored.
How can one reproduce the bug?
Steps to reproduce the behavior:
What is the expected behavior?
Expected the sum to be:
499
.If you leave out the
1000
and-500
values, you get a result of0
.What is your host/environment?
n/a
Do you have any screenshots?
n/a
Do you have any additional context?
n/a
The text was updated successfully, but these errors were encountered: