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
Aggregation operations in query library functions and built-in query aggregations are inconsistent. This PR makes them consistent. Query library functions were changed.
percentile now returns the primitive type.
sum returns a widened type of double for floating point inputs or long for integer inputs.
product returns a widened type of double for floating point inputs or long for integer inputs.
cumsum returns a widened type of double[] for floating point inputs or long[] for integer inputs.
cumprod returns a widened type of double[] for floating point inputs or long[] for integer inputs.
wsum returns a widened type of long for all integer inputs and double for inputs containing floating points.
Note: Because the types have changed, the NULL return values have changed as well.
Resolves #4023
The text was updated successfully, but these errors were encountered:
This issue was auto-generated
PR: deephaven/deephaven-core#5368
Author: chipkent
Original PR Body
Aggregation operations in query library functions and built-in query aggregations are inconsistent. This PR makes them consistent. Query library functions were changed.
percentile
now returns the primitive type.sum
returns a widened type ofdouble
for floating point inputs orlong
for integer inputs.product
returns a widened type ofdouble
for floating point inputs orlong
for integer inputs.cumsum
returns a widened type ofdouble[]
for floating point inputs orlong[]
for integer inputs.cumprod
returns a widened type ofdouble[]
for floating point inputs orlong[]
for integer inputs.wsum
returns a widened type oflong
for all integer inputs anddouble
for inputs containing floating points.Note: Because the types have changed, the NULL return values have changed as well.
Resolves #4023
The text was updated successfully, but these errors were encountered: