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

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


The following commit(s) were added to refs/heads/branch-2.1 by this push:
     new 5e9eb417adf [bugfix](insert) fix cherry pick : redundant branch 
judgment #34160
5e9eb417adf is described below

commit 5e9eb417adfec375f2f628fc41e43040dfec5087
Author: wuwenchi <[email protected]>
AuthorDate: Sat Apr 27 02:19:39 2024 +0800

    [bugfix](insert) fix cherry pick : redundant branch judgment #34160
---
 fe/fe-core/src/main/java/org/apache/doris/qe/StmtExecutor.java | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/fe/fe-core/src/main/java/org/apache/doris/qe/StmtExecutor.java 
b/fe/fe-core/src/main/java/org/apache/doris/qe/StmtExecutor.java
index be328bb1242..755fecc326c 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/qe/StmtExecutor.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/qe/StmtExecutor.java
@@ -2698,10 +2698,7 @@ public class StmtExecutor {
         ConnectContext.get().setSkipAuth(true);
         try {
             InsertOverwriteTableStmt iotStmt = (InsertOverwriteTableStmt) 
this.parsedStmt;
-            if (iotStmt.isAutoDetectPartition()) {
-                // insert overwrite table auto detect which partitions need to 
replace
-                handleAutoOverwritePartition(iotStmt);
-            } else if (iotStmt.getPartitionNames().size() == 0) {
+            if (iotStmt.getPartitionNames().size() == 0) {
                 // insert overwrite table
                 handleOverwriteTable(iotStmt);
             } else if (iotStmt.isAutoDetectPartition()) {


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

Reply via email to