DB
FunctionsArray

array_cum_sum_non_negative

Computes cumulative sums for array elements and clamps each running total to zero when it would become negative.

array_cum_sum_non_negative(…) → String

Kind · scalar

Computes cumulative sums for array elements and clamps each running total to zero when it would become negative.

Part of the Array family.