[fix](statistics)Fix alter column stats not forward to master bug (#29786)

Alter column stats operation need to write bdbje, so it should be forwarded to master to execute. Otherwise, the operation on follower/observer will cause the FE crash.
This commit is contained in:
Jibing-Li
2024-01-10 18:11:41 +08:00
committed by yiguolei
parent f8d3b20911
commit a244f11da2

View File

@ -191,9 +191,4 @@ public class AlterColumnStatsStmt extends DdlStmt {
public String getValue(StatsType statsType) {
return statsTypeToValue.get(statsType);
}
@Override
public RedirectStatus getRedirectStatus() {
return RedirectStatus.NO_FORWARD;
}
}