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

yiguolei pushed a commit to branch branch-4.1
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-4.1 by this push:
     new 92d5ba0510f branch-4.1: [chore](session-variable) remove the unused 
session variable plan_nereids_dump (#66387)
92d5ba0510f is described below

commit 92d5ba0510faaa291941e7ac1d2cc6504a5113d1
Author: Calvin Kirs <[email protected]>
AuthorDate: Tue Aug 4 19:17:33 2026 +0800

    branch-4.1: [chore](session-variable) remove the unused session variable 
plan_nereids_dump (#66387)
    
    https://github.com/apache/doris/pull/66371
---
 fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

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 0129f1678b4..28b33167980 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
@@ -552,8 +552,6 @@ public class SessionVariable implements Serializable, 
Writable {
 
     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.
@@ -2490,8 +2488,10 @@ public class SessionVariable implements Serializable, 
Writable {
     @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 '<dumpfile>'), 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)


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

Reply via email to