v.21.2Improvements

Support constant result in multiIf function

Support constant result in function multiIf. #19533 (Maksim Kita).
Support for constant result evaluation in the multiIf function is added.

Why it matters

This feature enables multiIf to return a constant result when conditions are met, improving query optimization and efficiency by reducing unnecessary computations.

How to use it

Users can simply use the multiIf function as usual in their queries. When the conditions allow, multiIf will now return a constant result automatically.