Details
-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
None
-
Any
-
statistics, stats, long, integer, aggregation, sum
-
Description
Most of the statistics related queries fail because the result of aggregating an integer field is a long value, and not an integer as expected. This explains "java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.Integer".