This is an automated email from the ASF dual-hosted git repository.

morrysnow 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 46a56c10d25 [fix](mtmv)fix can not show create mtmv use follower fe 
(#38794)
46a56c10d25 is described below

commit 46a56c10d25cb257e0e451b932fbb017ba2215e4
Author: zhangdong <[email protected]>
AuthorDate: Fri Aug 9 16:20:08 2024 +0800

    [fix](mtmv)fix can not show create mtmv use follower fe (#38794)
    
    err msg: internal error processing forward
---
 .../doris/nereids/trees/plans/commands/ShowCreateMTMVCommand.java | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/ShowCreateMTMVCommand.java
 
b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/ShowCreateMTMVCommand.java
index eb244be7afc..7da1df6af6f 100644
--- 
a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/ShowCreateMTMVCommand.java
+++ 
b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/ShowCreateMTMVCommand.java
@@ -17,6 +17,7 @@
 
 package org.apache.doris.nereids.trees.plans.commands;
 
+import org.apache.doris.analysis.StmtType;
 import org.apache.doris.nereids.trees.plans.PlanType;
 import org.apache.doris.nereids.trees.plans.commands.info.ShowCreateMTMVInfo;
 import org.apache.doris.nereids.trees.plans.visitor.PlanVisitor;
@@ -28,7 +29,7 @@ import java.util.Objects;
 /**
  * resume mtmv
  */
-public class ShowCreateMTMVCommand extends Command implements ForwardWithSync, 
NotAllowFallback {
+public class ShowCreateMTMVCommand extends Command implements NoForward, 
NotAllowFallback {
     private final ShowCreateMTMVInfo showCreateMTMVInfo;
 
     public ShowCreateMTMVCommand(ShowCreateMTMVInfo showCreateMTMVInfo) {
@@ -46,4 +47,9 @@ public class ShowCreateMTMVCommand extends Command implements 
ForwardWithSync, N
     public <R, C> R accept(PlanVisitor<R, C> visitor, C context) {
         return visitor.visitShowCreateMTMVCommand(this, context);
     }
+
+    @Override
+    public StmtType stmtType() {
+        return StmtType.SHOW;
+    }
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to