This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-1.2-lts
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-1.2-lts by this push:
new d1a38d4b57 [fix][branch-1.2](stmt-forward) fix should-be-optional
fields in MasterOpService (#21944)
d1a38d4b57 is described below
commit d1a38d4b57451be8159db68ffa91d3197b46dbde
Author: Siyang Tang <[email protected]>
AuthorDate: Tue Jul 18 23:17:25 2023 +0800
[fix][branch-1.2](stmt-forward) fix should-be-optional fields in
MasterOpService (#21944)
* fix-optional-forward-feilds
* fix reviewed
---
fe/fe-core/src/main/java/org/apache/doris/qe/MasterOpExecutor.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/fe/fe-core/src/main/java/org/apache/doris/qe/MasterOpExecutor.java
b/fe/fe-core/src/main/java/org/apache/doris/qe/MasterOpExecutor.java
index b3ccdf3bbe..5ba69a51c2 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/qe/MasterOpExecutor.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/qe/MasterOpExecutor.java
@@ -191,6 +191,10 @@ public class MasterOpExecutor {
final TMasterOpRequest params = new TMasterOpRequest();
//node ident
params.setSyncJournalOnly(true);
+ // just make the protocol happy
+ params.setDb("");
+ params.setUser("");
+ params.setSql("");
return params;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]