v.22.6Performance Improvement

Optimize COALESCE function with two arguments

Optimize function COALESCE with two arguments. #37666 (Anton Popov).