You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by yi...@apache.org on 2026/05/10 02:16:12 UTC
(doris) branch branch-4.0 updated: branch-4.0: [fix](load): fix invalid String.format pattern in NereidsStreamLoadTask #62225 (#62894)
This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-4.0 by this push:
new 9ba5cf0759d branch-4.0: [fix](load): fix invalid String.format pattern in NereidsStreamLoadTask #62225 (#62894)
9ba5cf0759d is described below
commit 9ba5cf0759d2e6624e09c1f9e1cc61b6a63d2f19
Author: github-actions[bot] <41...@users.noreply.github.com>
AuthorDate: Sun May 10 10:16:05 2026 +0800
branch-4.0: [fix](load): fix invalid String.format pattern in NereidsStreamLoadTask #62225 (#62894)
Cherry-picked from #62225
Co-authored-by: foxtail463 <fo...@gmail.com>
Co-authored-by: yangtao555 <ya...@jd.com>
---
.../java/org/apache/doris/nereids/load/NereidsStreamLoadTask.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fe/fe-core/src/main/java/org/apache/doris/nereids/load/NereidsStreamLoadTask.java b/fe/fe-core/src/main/java/org/apache/doris/nereids/load/NereidsStreamLoadTask.java
index a0cfa57b19e..4b6385c5e54 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/nereids/load/NereidsStreamLoadTask.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/load/NereidsStreamLoadTask.java
@@ -526,13 +526,13 @@ public class NereidsStreamLoadTask implements NereidsLoadTaskInfo {
for (Expression expr : expressions) {
if (expr instanceof BinaryOperator) {
if (!(expr.child(0) instanceof UnboundSlot)) {
- throw new UserException(String.format("% is unsupported", expr));
+ throw new UserException(String.format("%s is unsupported", expr));
}
columnExprDescs.descs
.add(new NereidsImportColumnDesc(((UnboundSlot) expr.child(0)).getName(), expr.child(1)));
} else {
if (!(expr instanceof UnboundSlot)) {
- throw new UserException(String.format("% is unsupported", expr));
+ throw new UserException(String.format("%s is unsupported", expr));
}
columnExprDescs.descs.add(new NereidsImportColumnDesc(((UnboundSlot) expr).getName()));
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org