v.20.1Improvement

Support Array(Decimal) in if function

Support Array(Decimal) in if function. #7721 (Artem Zuikov)
Support for Array(Decimal) data type in the if function has been added.

Why it matters

This feature allows the if function to handle arrays containing decimal values directly, which was previously unsupported. It enables more flexible conditional expressions on arrays of decimal numbers, improving data processing capabilities and user convenience.

How to use it

Use the if function with arguments where one or both are of type Array(Decimal). The function will now correctly evaluate and return results when dealing with decimal arrays without requiring workarounds.