pick from master #39019 not add case because be return wrong answer for this select cast(2.0 as boolean); -- should return 1 not 2