The function can take the window size as a parameter. If left unspecified, the function takes the window size equal to the number of rows in the column.
-`numbers_for_summing` — [Expression](../../../sql-reference/syntax.md#syntax-expressions) resulting in a numeric data type value.
-`window_size` — Size of the calculation window.
**Returned values**
- Array of the same size and type as the input data.
The function uses [rounding towards zero](https://en.wikipedia.org/wiki/Rounding#Rounding_towards_zero). It truncates the decimal places insignificant for the resulting data type.