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 85e0a723813 [fix](stats) do not forward drop cached stats command
(#56453)
85e0a723813 is described below
commit 85e0a723813956754de1fd6ad01db1edbbc6a8fe
Author: morrySnow <[email protected]>
AuthorDate: Sat Oct 11 11:37:42 2025 +0800
[fix](stats) do not forward drop cached stats command (#56453)
---
.../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 a07f9b7f512..69c7a2ef4cd 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]