diff --git a/plugin/trino-hive/src/main/java/io/trino/plugin/hive/coercions/IntegerNumberToVarcharCoercer.java b/plugin/trino-hive/src/main/java/io/trino/plugin/hive/coercions/IntegerNumberToVarcharCoercer.java index e67ee561c429..1370bdcfa8ed 100644 --- a/plugin/trino-hive/src/main/java/io/trino/plugin/hive/coercions/IntegerNumberToVarcharCoercer.java +++ b/plugin/trino-hive/src/main/java/io/trino/plugin/hive/coercions/IntegerNumberToVarcharCoercer.java @@ -40,7 +40,7 @@ protected void applyCoercedValue(BlockBuilder blockBuilder, Block block, int pos long value = fromType.getLong(block, position); Slice converted = utf8Slice(String.valueOf(value)); if (!toType.isUnbounded() && countCodePoints(converted) > toType.getBoundedLength()) { - throw new TrinoException(INVALID_ARGUMENTS, format("Varchar representation of %s exceed %s bounds", value, toType)); + throw new TrinoException(INVALID_ARGUMENTS, format("Varchar representation of %s exceeds %s bounds", value, toType)); } toType.writeSlice(blockBuilder, converted); }