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

englefly 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 56b744afe25 [fix](statistics)Show table stats need to forward to 
master use FORWARD_NO_SYNC (#48189)
56b744afe25 is described below

commit 56b744afe253650c1f6b44cb945d2257b7bbc332
Author: James <lijib...@selectdb.com>
AuthorDate: Fri Feb 21 22:30:25 2025 +0800

    [fix](statistics)Show table stats need to forward to master use 
FORWARD_NO_SYNC (#48189)
    
    ### What problem does this PR solve?
    
    Forward 'show table stats' command to master to make regression case
    stable.
---
 .../src/main/java/org/apache/doris/analysis/ShowTableStatsStmt.java  | 5 +++++
 1 file changed, 5 insertions(+)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/analysis/ShowTableStatsStmt.java 
b/fe/fe-core/src/main/java/org/apache/doris/analysis/ShowTableStatsStmt.java
index ea9b96d0afe..c4d98d64f0a 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/analysis/ShowTableStatsStmt.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/analysis/ShowTableStatsStmt.java
@@ -341,4 +341,9 @@ public class ShowTableStatsStmt extends ShowStmt implements 
NotFallbackInParser
         }
         return new ShowResultSet(getMetaData(), result);
     }
+
+    @Override
+    public RedirectStatus getRedirectStatus() {
+        return RedirectStatus.FORWARD_NO_SYNC;
+    }
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to