diff --git a/presto-main/src/main/java/io/prestosql/sql/analyzer/ExpressionAnalyzer.java b/presto-main/src/main/java/io/prestosql/sql/analyzer/ExpressionAnalyzer.java index f9dcd0042d92..49d510efb2c9 100644 --- a/presto-main/src/main/java/io/prestosql/sql/analyzer/ExpressionAnalyzer.java +++ b/presto-main/src/main/java/io/prestosql/sql/analyzer/ExpressionAnalyzer.java @@ -1468,10 +1468,10 @@ public static Map, Type> getExpressionTypes( WarningCollector warningCollector, boolean isDescribe) { - return analyzeExpressionsWithSymbols(session, metadata, sqlParser, types, expressions, parameters, warningCollector, isDescribe).getExpressionTypes(); + return analyzeExpressions(session, metadata, sqlParser, types, expressions, parameters, warningCollector, isDescribe).getExpressionTypes(); } - public static ExpressionAnalysis analyzeExpressionsWithSymbols( + public static ExpressionAnalysis analyzeExpressions( Session session, Metadata metadata, SqlParser sqlParser, diff --git a/presto-main/src/test/java/io/prestosql/operator/scalar/FunctionAssertions.java b/presto-main/src/test/java/io/prestosql/operator/scalar/FunctionAssertions.java index a80249668457..d4b4b2ee136e 100644 --- a/presto-main/src/test/java/io/prestosql/operator/scalar/FunctionAssertions.java +++ b/presto-main/src/test/java/io/prestosql/operator/scalar/FunctionAssertions.java @@ -126,7 +126,7 @@ import static io.prestosql.spi.type.VarcharType.VARCHAR; import static io.prestosql.sql.ExpressionUtils.rewriteIdentifiersToSymbolReferences; import static io.prestosql.sql.ParsingUtil.createParsingOptions; -import static io.prestosql.sql.analyzer.ExpressionAnalyzer.analyzeExpressionsWithSymbols; +import static io.prestosql.sql.analyzer.ExpressionAnalyzer.analyzeExpressions; import static io.prestosql.sql.analyzer.ExpressionAnalyzer.getExpressionTypes; import static io.prestosql.sql.planner.iterative.rule.CanonicalizeExpressionRewriter.canonicalizeExpression; import static io.prestosql.sql.relational.Expressions.constant; @@ -748,7 +748,7 @@ public static Expression createExpression(Session session, String expression, Me parsedExpression = rewriteIdentifiersToSymbolReferences(parsedExpression); - final ExpressionAnalysis analysis = analyzeExpressionsWithSymbols( + final ExpressionAnalysis analysis = analyzeExpressions( session, metadata, SQL_PARSER,