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

panxiaolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 680c5729330 [Fix](insert) Fix ENABLE_AUTO_CREATE_WHEN_OVERWRITE 
forward to Master (#44570)
680c5729330 is described below

commit 680c5729330d9200f1ba22c72d744993b2cafd46
Author: zclllhhjj <zhaochan...@selectdb.com>
AuthorDate: Tue Nov 26 11:16:53 2024 +0800

    [Fix](insert) Fix ENABLE_AUTO_CREATE_WHEN_OVERWRITE forward to Master 
(#44570)
    
    
    Problem Summary:
    
    When insert overwrite auto detect statement execute by follower, it's
    will not set ENABLE_AUTO_CREATE_WHEN_OVERWRITE correctly because the
    insert stmt will forward to master to execute by the variable will not
    forward. not fixed it.
    
    ### Release note
    
    (no release note for 2.1 needed because the base function has not been
    released now)
    for 3.0: Fix insert overwrite auto detect failed executing by follower.
---
 fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 bd724af54c4..e1513324619 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
@@ -2309,7 +2309,7 @@ public class SessionVariable implements Serializable, 
Writable {
     @VariableMgr.VarAttr(name = ENABLE_COOLDOWN_REPLICA_AFFINITY, needForward 
= true)
     public boolean enableCooldownReplicaAffinity = true;
 
-    @VariableMgr.VarAttr(name = ENABLE_AUTO_CREATE_WHEN_OVERWRITE, description 
= {
+    @VariableMgr.VarAttr(name = ENABLE_AUTO_CREATE_WHEN_OVERWRITE, needForward 
= true, description = {
         "开启后对自动分区表的 insert overwrite 操作会对没有找到分区的插入数据按自动分区规则创建分区,默认关闭",
         "The insert overwrite operation on an auto-partitioned table will 
create partitions for inserted data"
                 + " for which no partition is found according to the 
auto-partitioning rules, which is turned off"


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to