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 715c464bbf4 branch-4.0: [fix](stats) do not forward drop cached stats 
command #56453 (#56818)
715c464bbf4 is described below

commit 715c464bbf41e51dc22962f9974c59529a074902
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Oct 14 12:04:02 2025 +0800

    branch-4.0: [fix](stats) do not forward drop cached stats command #56453 
(#56818)
    
    Cherry-picked from #56453
    
    Co-authored-by: morrySnow <[email protected]>
---
 .../doris/nereids/trees/plans/commands/DropCachedStatsCommand.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/DropCachedStatsCommand.java
 
b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/DropCachedStatsCommand.java
index 84df4265d77..87c4e2c12c2 100644
--- 
a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/DropCachedStatsCommand.java
+++ 
b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/DropCachedStatsCommand.java
@@ -41,7 +41,7 @@ import java.util.Objects;
  * syntax:
  * DROP CACHED STATS TableName;
  */
-public class DropCachedStatsCommand extends DropCommand {
+public class DropCachedStatsCommand extends Command implements NoForward {
     private final TableNameInfo tableNameInfo;
     private long catalogId;
     private long dbId;
@@ -54,7 +54,7 @@ public class DropCachedStatsCommand extends DropCommand {
     }
 
     @Override
-    public void doRun(ConnectContext ctx, StmtExecutor executor) throws 
Exception {
+    public void run(ConnectContext ctx, StmtExecutor executor) throws 
Exception {
         validate(ctx);
         ctx.getEnv().getAnalysisManager().dropCachedStats(catalogId, dbId, 
tblId);
     }


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

Reply via email to