presto-main/src/main/java/io/prestosql/sql/planner/optimizations/ExpressionEquivalence.java/ExpressionEquivalence/toRowExpression
class ExpressionEquivalence:    private RowExpression toRowExpression(Session session, Expression expression, Map<Symbol, Integer> symbolInput, TypeProvider types)
    {
        expression = DesugarLikeRewriter.rewrite(expression, session, metadata, typeAnalyzer, types);
        expression = DesugarArrayConstructorRewriter.rewrite(expression, session, metadata, typeAnalyzer, types);

        return translate(
                expression,
                typeAnalyzer.getTypes(session, types, expression),
                symbolInput,
                metadata,
                session,
                false);
    }