diff --git a/core/trino-spi/src/main/java/io/trino/spi/expression/StandardFunctions.java b/core/trino-spi/src/main/java/io/trino/spi/expression/StandardFunctions.java index a5d1bae08e5b..c796bdb942c9 100644 --- a/core/trino-spi/src/main/java/io/trino/spi/expression/StandardFunctions.java +++ b/core/trino-spi/src/main/java/io/trino/spi/expression/StandardFunctions.java @@ -13,6 +13,8 @@ */ package io.trino.spi.expression; +import io.trino.spi.type.ArrayType; + public final class StandardFunctions { private StandardFunctions() {} @@ -91,7 +93,7 @@ private StandardFunctions() {} public static final FunctionName IN_PREDICATE_FUNCTION_NAME = new FunctionName("$in"); /** - * $array creates instance of {@link Array Type} + * $array creates instance of {@link ArrayType} */ public static final FunctionName ARRAY_CONSTRUCTOR_FUNCTION_NAME = new FunctionName("$array"); } diff --git a/plugin/trino-hive/src/test/java/io/trino/plugin/hive/metastore/glue/TestHiveGlueMetastore.java b/plugin/trino-hive/src/test/java/io/trino/plugin/hive/metastore/glue/TestHiveGlueMetastore.java index 33bb233f5e54..4cb1a9bdc4fa 100644 --- a/plugin/trino-hive/src/test/java/io/trino/plugin/hive/metastore/glue/TestHiveGlueMetastore.java +++ b/plugin/trino-hive/src/test/java/io/trino/plugin/hive/metastore/glue/TestHiveGlueMetastore.java @@ -275,18 +275,16 @@ public void testRenameTable() @Override public void testUpdateTableColumnStatisticsEmptyOptionalFields() - throws Exception { - // this test expect consistency between written and read stats but this is not provided by glue at the moment + // this test expects consistency between written and read stats but this is not provided by glue at the moment // when writing empty min/max statistics glue will return 0 to the readers // in order to avoid incorrect data we skip writes for statistics with min/max = null } @Override public void testUpdatePartitionColumnStatisticsEmptyOptionalFields() - throws Exception { - // this test expect consistency between written and read stats but this is not provided by glue at the moment + // this test expects consistency between written and read stats but this is not provided by glue at the moment // when writing empty min/max statistics glue will return 0 to the readers // in order to avoid incorrect data we skip writes for statistics with min/max = null }