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]
<41898282+github-actions[bot]@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 <[email protected]>
Co-authored-by: yangtao555 <[email protected]>
---
.../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: [email protected]
For additional commands, e-mail: [email protected]