presto-main/src/main/java/io/prestosql/sql/relational/SqlToRowExpressionTranslator.java/SqlToRowExpressionTranslator/visitLogicalBinaryExpression
class SqlToRowExpressionTranslator:        @Override
        protected RowExpression visitLogicalBinaryExpression(LogicalBinaryExpression node, Void context)
        {
            Form form;
            switch (node.getOperator()) {
                case AND:
                    form = AND;
                    break;
                case OR:
                    form = OR;
                    break;
                default:
                    throw new IllegalStateException("Unknown logical operator: " + node.getOperator());
            }
            return new SpecialForm(
                    form,
                    BOOLEAN,
                    process(node.getLeft(), context),
                    process(node.getRight(), context));
        }