From c3cb7a7c028efb5f9b6cb86fbbc2fcfee53bbcae Mon Sep 17 00:00:00 2001 From: JackieTien97 Date: Wed, 20 May 2026 11:46:40 +0800 Subject: [PATCH] Fix locale message typo --- .../function/tvf/PatternMatchTableFunction.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/queryengine/plan/relational/function/tvf/PatternMatchTableFunction.java b/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/queryengine/plan/relational/function/tvf/PatternMatchTableFunction.java index 20a20ead7d84f..801728f8e3882 100644 --- a/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/queryengine/plan/relational/function/tvf/PatternMatchTableFunction.java +++ b/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/queryengine/plan/relational/function/tvf/PatternMatchTableFunction.java @@ -111,16 +111,17 @@ public TableFunctionAnalysis analyze(Map arguments) throws UDF Double widthValue = (Double) ((ScalarArgument) arguments.get(WIDTH_PARAM)).getValue(); Double heightValue = (Double) ((ScalarArgument) arguments.get(HEIGHT_PARAM)).getValue(); if (smoothValue < 0) { - throw new UDFException(QueryMessages.SMOOTH_MUST_BE_NON_NEGATIVE + smoothValue); + throw new UDFException(String.format(QueryMessages.SMOOTH_MUST_BE_NON_NEGATIVE, smoothValue)); } if (thresholdValue < 0) { - throw new UDFException(QueryMessages.THRESHOLD_MUST_BE_NON_NEGATIVE + thresholdValue); + throw new UDFException( + String.format(QueryMessages.THRESHOLD_MUST_BE_NON_NEGATIVE, thresholdValue)); } if (widthValue < 0) { - throw new UDFException(QueryMessages.WIDTH_MUST_BE_NON_NEGATIVE + widthValue); + throw new UDFException(String.format(QueryMessages.WIDTH_MUST_BE_NON_NEGATIVE, widthValue)); } if (heightValue < 0) { - throw new UDFException(QueryMessages.HEIGHT_MUST_BE_NON_NEGATIVE + heightValue); + throw new UDFException(String.format(QueryMessages.HEIGHT_MUST_BE_NON_NEGATIVE, heightValue)); } // outputColumnSchema description