v.20.1Improvement

Support Decimals in arrayDifference, arrayCumSum, and arrayCumSumNegative Functions

Support Decimals in arrayDifference, arrayCumSum and arrayCumSumNegative functions. #7724 (Artem Zuikov)
Support for Decimal data types in the arrayDifference, arrayCumSum, and arrayCumSumNegative functions.

Why it matters

This feature enables users to perform array operations on Decimal type arrays, expanding the applicability of these functions to high-precision numeric data. It resolves limitations where these functions previously did not support Decimal values, allowing accurate calculations with decimal numbers in array transformations.

How to use it

Users can directly apply the arrayDifference, arrayCumSum, and arrayCumSumNegative functions on columns or data with Decimal types without requiring additional configuration or casting. Usage remains the same as with other data types once the updated version is installed.