This is an automated email from the ASF dual-hosted git repository.

JackieTien97 pushed a commit to branch ty/fixTypo
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit c3cb7a7c028efb5f9b6cb86fbbc2fcfee53bbcae
Author: JackieTien97 <[email protected]>
AuthorDate: Wed May 20 11:46:40 2026 +0800

    Fix locale message typo
---
 .../plan/relational/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 20a20ead7d8..801728f8e38 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 class PatternMatchTableFunction implements 
TableFunction {
     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

Reply via email to