From 65de4dbfc2e29f27a5616354c6c4b7d9da0d8a69 Mon Sep 17 00:00:00 2001 From: James Starr Date: Tue, 17 Sep 2024 14:07:28 -0700 Subject: [PATCH] Removing unused variable. --- .../org/apache/calcite/sql/validate/SqlValidatorImpl.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/src/main/java/org/apache/calcite/sql/validate/SqlValidatorImpl.java b/core/src/main/java/org/apache/calcite/sql/validate/SqlValidatorImpl.java index 53888004b703..b522bfaefff6 100644 --- a/core/src/main/java/org/apache/calcite/sql/validate/SqlValidatorImpl.java +++ b/core/src/main/java/org/apache/calcite/sql/validate/SqlValidatorImpl.java @@ -294,9 +294,7 @@ protected SqlValidatorImpl( // It is assumed that unknown type is nullable by default unknownType = typeFactory.createTypeWithNullability(typeFactory.createUnknownType(), true); booleanType = typeFactory.createSqlType(SqlTypeName.BOOLEAN); - - final SqlNameMatcher nameMatcher = catalogReader.nameMatcher(); - + @SuppressWarnings("argument.type.incompatible") TypeCoercion typeCoercion = config.typeCoercionFactory().create(typeFactory, this); this.typeCoercion = typeCoercion;