[NUCRDBMS-846] Support for boolean case expressions