diff --git a/fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java b/fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java index 1c59b4fa1ea964..c31433abc7d2cb 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java +++ b/fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java @@ -550,8 +550,6 @@ public String toString() { public static final String TRACE_NEREIDS = "trace_nereids"; - public static final String PLAN_NEREIDS_DUMP = "plan_nereids_dump"; - public static final String DUMP_NEREIDS_MEMO = "dump_nereids_memo"; // fix replica to query. If num = 1, query the smallest replica, if 2 is the second smallest replica. @@ -2456,8 +2454,10 @@ public static boolean isEagerAggregationOnJoin() { @VariableMgr.VarAttr(name = TRACE_NEREIDS) public boolean traceNereids = false; - @VariableMgr.VarAttr(name = PLAN_NEREIDS_DUMP) - public boolean planNereidsDump = false; + // Internal state, not a session variable: it is turned on only by MinidumpUtils while replaying + // a minidump file (PLAY ''), where tables and statistics come from the dump instead of + // the catalog. It is intentionally not settable through SET, not forwarded and not serialized. + private boolean planNereidsDump = false; // If set to true, all query will be executed without returning result @VariableMgr.VarAttr(name = DRY_RUN_QUERY, needForward = true)