diff --git a/core/trino-main/src/main/java/io/trino/sql/planner/LookupSymbolResolver.java b/core/trino-main/src/main/java/io/trino/sql/planner/LookupSymbolResolver.java index e640385799a5..e2f0b1c65953 100644 --- a/core/trino-main/src/main/java/io/trino/sql/planner/LookupSymbolResolver.java +++ b/core/trino-main/src/main/java/io/trino/sql/planner/LookupSymbolResolver.java @@ -19,7 +19,6 @@ import java.util.Map; -import static com.google.common.base.Preconditions.checkArgument; import static java.util.Objects.requireNonNull; public class LookupSymbolResolver @@ -41,9 +40,8 @@ public LookupSymbolResolver(Map assignments, Map x[1]) IS NOT NULL + """.formatted(table), + "VALUES ('value', 'key')"); + } + finally { + assertUpdate("DROP TABLE " + table); + } + } }