v.20.1Improvement
Support Decimals in arrayDifference, arrayCumSum, and arrayCumSumNegative Functions
Support Decimals inarrayDifference,arrayCumSumandarrayCumSumNegativefunctions. #7724 (Artem Zuikov)
Why it matters
This feature enables users to perform array operations onDecimal 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 thearrayDifference, 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.