From 8f468b49dea514e46392268c629733aad1bb4217 Mon Sep 17 00:00:00 2001 From: kasiafi <30203062+kasiafi@users.noreply.github.com> Date: Tue, 21 Jun 2022 10:12:24 +0200 Subject: [PATCH] Remove redundant TODO The TODO was addressed in PR 12325 and PR 12910. --- .../src/main/java/io/trino/sql/analyzer/StatementAnalyzer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/trino-main/src/main/java/io/trino/sql/analyzer/StatementAnalyzer.java b/core/trino-main/src/main/java/io/trino/sql/analyzer/StatementAnalyzer.java index dfd78d2314f4..09e35f3c5115 100644 --- a/core/trino-main/src/main/java/io/trino/sql/analyzer/StatementAnalyzer.java +++ b/core/trino-main/src/main/java/io/trino/sql/analyzer/StatementAnalyzer.java @@ -1701,7 +1701,7 @@ public Expression rewriteParameter(Parameter node, Void context, ExpressionTreeR return ScalarArgument.builder() .type(expectedArgumentType) .value(constantValue) - .build(); // TODO test coercion, test parameter + .build(); } throw new IllegalStateException("Unexpected argument specification: " + argumentSpecification.getClass().getSimpleName());