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 7e6f6030221 branch-4.1: [refactor](fe) Remove enable_nereids_load 
switch (#62703) (#63031)
7e6f6030221 is described below

commit 7e6f60302217aa3acf8b846219390077893a0f75
Author: Xin Liao <[email protected]>
AuthorDate: Thu May 7 10:14:57 2026 +0800

    branch-4.1: [refactor](fe) Remove enable_nereids_load switch (#62703) 
(#63031)
    
    Pick apache/doris#62703
---
 .../src/main/java/org/apache/doris/common/Config.java         | 11 -----------
 .../trees/plans/commands/insert/OlapInsertExecutor.java       |  2 +-
 .../java/org/apache/doris/nereids/parser/EncryptSQLTest.java  |  2 --
 3 files changed, 1 insertion(+), 14 deletions(-)

diff --git a/fe/fe-common/src/main/java/org/apache/doris/common/Config.java 
b/fe/fe-common/src/main/java/org/apache/doris/common/Config.java
index a86bbe5682e..d7b21806ebf 100644
--- a/fe/fe-common/src/main/java/org/apache/doris/common/Config.java
+++ b/fe/fe-common/src/main/java/org/apache/doris/common/Config.java
@@ -2417,17 +2417,6 @@ public class Config extends ConfigBase {
     @ConfField(masterOnly = true)
     public static boolean enable_hms_events_incremental_sync = false;
 
-    /**
-     * If set to true, doris will try to parse the ddl of a hive view and try 
to execute the query
-     * otherwise it will throw an AnalysisException.
-     */
-    @ConfField(mutable = true, varType = VariableAnnotation.EXPERIMENTAL, 
description = {
-            "当前默认设置为 false,开启后支持使用新优化器的 load 语句导入数据,失败后会降级旧的 load 语句。",
-            "Now default set to true, After this function is enabled, the load 
statement of "
-                    + "the new optimizer can be used to import data. If this 
function fails, "
-                    + "the old load statement will be degraded."})
-    public static boolean enable_nereids_load = false;
-
     /**
      * the plan cache num which can be reused for the next query
      */
diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/insert/OlapInsertExecutor.java
 
b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/insert/OlapInsertExecutor.java
index 15f59c8ea79..e02d94a1014 100644
--- 
a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/insert/OlapInsertExecutor.java
+++ 
b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/insert/OlapInsertExecutor.java
@@ -314,7 +314,7 @@ public class OlapInsertExecutor extends 
AbstractInsertExecutor {
     }
 
     private void recordLoadJob(UserIdentity userIdentity) {
-        if (!Config.enable_nereids_load && jobId != -1) {
+        if (jobId != -1) {
             try {
                 ctx.getEnv().getLoadManager()
                         .recordFinishedLoadJob(labelName, txnId, 
database.getFullName(),
diff --git 
a/fe/fe-core/src/test/java/org/apache/doris/nereids/parser/EncryptSQLTest.java 
b/fe/fe-core/src/test/java/org/apache/doris/nereids/parser/EncryptSQLTest.java
index c2a39e366e3..d5613d3e1ff 100644
--- 
a/fe/fe-core/src/test/java/org/apache/doris/nereids/parser/EncryptSQLTest.java
+++ 
b/fe/fe-core/src/test/java/org/apache/doris/nereids/parser/EncryptSQLTest.java
@@ -19,7 +19,6 @@ package org.apache.doris.nereids.parser;
 
 import org.apache.doris.analysis.AccessTestUtil;
 import org.apache.doris.catalog.Env;
-import org.apache.doris.common.Config;
 import org.apache.doris.common.jmockit.Deencapsulation;
 import org.apache.doris.plugin.AuditEvent;
 import org.apache.doris.qe.ConnectContext;
@@ -52,7 +51,6 @@ public class EncryptSQLTest extends ParserTestBase {
             }
         };
         ctx.setEnv(env);
-        Config.enable_nereids_load = true;
 
         String sql = "EXPORT TABLE export_table TO \"s3://abc/aaa\" "
                 + "PROPERTIES("


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

Reply via email to