This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new d9974e6337 [Chore](Job)Fix the wrong log when the export job reads
fields and add more clear log information (#21490)
d9974e6337 is described below
commit d9974e6337dfa911b07b77ea8d258d657963c466
Author: Calvin Kirs <[email protected]>
AuthorDate: Sun Jul 9 17:06:38 2023 +0800
[Chore](Job)Fix the wrong log when the export job reads fields and add more
clear log information (#21490)
* [Chore](Job)Fix the wrong log when the export job reads fields and add
more clear log information
* add OriginStatement .toString method
---
fe/fe-core/src/main/java/org/apache/doris/load/ExportJob.java | 2 +-
fe/fe-core/src/main/java/org/apache/doris/qe/OriginStatement.java | 8 ++++++++
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/fe/fe-core/src/main/java/org/apache/doris/load/ExportJob.java
b/fe/fe-core/src/main/java/org/apache/doris/load/ExportJob.java
index caa0190fc6..607cbfa944 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/load/ExportJob.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/load/ExportJob.java
@@ -733,7 +733,7 @@ public class ExportJob implements Writable {
stmt = (ExportStmt) SqlParserUtils.getStmt(parser, origStmt.idx);
this.whereExpr = stmt.getWhereExpr();
} catch (Exception e) {
- throw new IOException("error happens when parsing create routine
load stmt: " + origStmt, e);
+ throw new IOException("error happens when parsing export stmt: " +
origStmt, e);
}
}
diff --git a/fe/fe-core/src/main/java/org/apache/doris/qe/OriginStatement.java
b/fe/fe-core/src/main/java/org/apache/doris/qe/OriginStatement.java
index eca952f807..0bbcd8dd3a 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/qe/OriginStatement.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/qe/OriginStatement.java
@@ -55,4 +55,12 @@ public class OriginStatement implements Writable {
String json = GsonUtils.GSON.toJson(this);
Text.writeString(out, json);
}
+
+ @Override
+ public String toString() {
+ return "OriginStatement{"
+ + "originStmt='" + originStmt + '\''
+ + ", idx=" + idx
+ + '}';
+ }
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]