DRILL-482 : Return null value if cast function input is a null expression.
DRILL-937: Optimize boolean and/or operator with short circuit  evaluation in run-time generated code.