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 3f380ed7eb1 branch-4.1: [test](regression) Remove unsupported 
non-cloud auto-partition idempotence case #68070 (#68850)
3f380ed7eb1 is described below

commit 3f380ed7eb1af20a3c1471b9304315db84b07fb3
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Oct 12 13:57:48 2026 +0800

    branch-4.1: [test](regression) Remove unsupported non-cloud auto-partition 
idempotence case #68070 (#68850)
    
    Cherry-picked from #68070
    
    Co-authored-by: Refrain <[email protected]>
---
 .../test_auto_partition_idempotence.groovy         | 96 ----------------------
 1 file changed, 96 deletions(-)

diff --git 
a/regression-test/suites/partition_p0/auto_partition/test_auto_partition_idempotence.groovy
 
b/regression-test/suites/partition_p0/auto_partition/test_auto_partition_idempotence.groovy
deleted file mode 100644
index 7331c2bb832..00000000000
--- 
a/regression-test/suites/partition_p0/auto_partition/test_auto_partition_idempotence.groovy
+++ /dev/null
@@ -1,96 +0,0 @@
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements.  See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership.  The ASF licenses this file
-// to you under the Apache License, Version 2.0 (the
-// "License"); you may not use this file except in compliance
-// with the License.  You may obtain a copy of the License at
-//
-//   http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing,
-// software distributed under the License is distributed on an
-// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-// KIND, either express or implied.  See the License for the
-// specific language governing permissions and limitations
-// under the License.
-
-import org.apache.doris.regression.suite.ClusterOptions
-import groovy.json.JsonSlurper
-
-/*
-Test Description:
-    We create a two-tablet table with skewed data, where one tablet has 1 row 
and the other tablet has 20,000 rows.
-    By running "insert into ... select ..." we trigger two instances, which 
will send the same create-partition RPC to the FE.
-
-    Enabling MockRebalance will count how many times createPartition is 
called. On the second time this RPC is received,
-    it will deliberately return a different tablet distribution to check 
whether the tablet distribution cache is working.
-*/
-
-
-suite('test_create_partition_idempotence_non_cloud', 'docker') {
-    // non_cloud mode
-    // (Refrain) Because with storage-compute separation, the BE actually 
tracks the tablet id, so it's hard to use mock tests 
-    // to verify the "rowset already exists" problem in the reverse case. 
Therefore, we only verify the positive case here.
-    def options= new ClusterOptions()
-    options.feConfigs += [
-        'enable_debug_points=true',
-        'sys_log_verbose_modules = org.apache.doris',
-    ]
-    options.cloudMode = false
-    options.beNum = 3 
-
-    docker(options) {
-        def sourceTable = "test_partition_source_table"
-        sql "DROP TABLE IF EXISTS ${sourceTable}"
-        sql """
-            CREATE TABLE ${sourceTable} (
-                `date` DATE NOT NULL,
-                `id` INT,
-                `value` VARCHAR(100)
-            )
-            DISTRIBUTED BY HASH(`date`) BUCKETS 2
-            PROPERTIES (
-                "replication_num" = "1"
-            );
-        """
-
-        sql """ INSERT INTO ${sourceTable} VALUES ("2025-11-04", 1, "test1"); 
"""
-        sql """ INSERT INTO ${sourceTable} SELECT "2025-11-04", number, "test" 
FROM numbers("number" = "20000"); """
-
-        def tableName = "test_partition_idempotence_table"
-        sql "DROP TABLE IF EXISTS ${tableName}"
-        sql """
-            CREATE TABLE ${tableName} (
-                `date` DATE NOT NULL,
-                `id` INT,
-                `value` VARCHAR(100)
-            )
-            AUTO PARTITION BY RANGE (date_trunc(`date`, 'day')) ()
-            DISTRIBUTED BY HASH(id) BUCKETS 4
-            PROPERTIES (
-                "replication_num" = "1"
-            );
-        """
-
-        sql """ set parallel_pipeline_task_num = 2 """
-        sql """ set load_stream_per_node = 2 """
-
-        
GetDebugPoint().enableDebugPointForAllFEs("FE.FrontendServiceImpl.createPartition.MockRebalance")
-        try {
-            sql """ INSERT INTO ${tableName} SELECT * FROM ${sourceTable}; """
-            
-            def result = sql "SELECT count(DISTINCT `date`) FROM ${tableName}"
-            assertEquals(1, result[0][0])
-            
-            def count = sql "SELECT count(*) FROM ${tableName}"
-            assertEquals(20001, count[0][0])
-            
-        } catch (Exception e) {
-            logger.error("failed: ${e.message}")
-            throw e
-        } finally {
-            
GetDebugPoint().disableDebugPointForAllFEs("FE.FrontendServiceImpl.createPartition.MockRebalance")
-        }
-    }
-}
\ No newline at end of file


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

Reply via email to