Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -28,7 +29,7 @@
/**
* 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) {
Expand All @@ -46,4 +47,9 @@ public void run(ConnectContext ctx, StmtExecutor executor) throws Exception {
public <R, C> R accept(PlanVisitor<R, C> visitor, C context) {
return visitor.visitShowCreateMTMVCommand(this, context);
}

@Override
public StmtType stmtType() {
return StmtType.SHOW;
}
}