This is an automated email from the ASF dual-hosted git repository.
JackieTien97 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new df7e92a91a1 Fix locale message typo (#17726)
df7e92a91a1 is described below
commit df7e92a91a1cf86b5b9500bae771e193ab96825f
Author: Jackie Tien <[email protected]>
AuthorDate: Wed May 20 12:22:54 2026 +0800
Fix locale message typo (#17726)
---
.../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