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

zhangstar333 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 386dad71893 [Fix](testcase) Change big txn load of auto partition test 
to not-primary table (#49435)
386dad71893 is described below

commit 386dad71893622f09ab983d44be42833a889c7df
Author: zclllyybb <zhaochan...@selectdb.com>
AuthorDate: Tue Mar 25 19:54:49 2025 +0800

    [Fix](testcase) Change big txn load of auto partition test to not-primary 
table (#49435)
    
    ### What problem does this PR solve?
    Change big txn load of auto partition test to not-primary table
---
 .../partition_p2/auto_partition/ddl/create_list_part_data_table.sql     | 2 +-
 .../partition_p2/auto_partition/ddl/create_range_part_data_table.sql    | 2 +-
 .../partition_p2/auto_partition/ddl/stream_load_list_test_table.sql     | 2 +-
 .../partition_p2/auto_partition/ddl/stream_load_range_test_table.sql    | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/regression-test/suites/partition_p2/auto_partition/ddl/create_list_part_data_table.sql
 
b/regression-test/suites/partition_p2/auto_partition/ddl/create_list_part_data_table.sql
index 22112930603..a3c1c66227d 100644
--- 
a/regression-test/suites/partition_p2/auto_partition/ddl/create_list_part_data_table.sql
+++ 
b/regression-test/suites/partition_p2/auto_partition/ddl/create_list_part_data_table.sql
@@ -39,7 +39,7 @@ CREATE TABLE `test2`(
   `col38` varchar(128),
   `col39` decimal(9, 3),
   `col40` char(128)
-) UNIQUE KEY(`col1`)
+) DUPLICATE KEY(`col1`)
 DISTRIBUTED BY HASH(`col1`) BUCKETS 10
 PROPERTIES (
   "replication_num" = "1"
diff --git 
a/regression-test/suites/partition_p2/auto_partition/ddl/create_range_part_data_table.sql
 
b/regression-test/suites/partition_p2/auto_partition/ddl/create_range_part_data_table.sql
index 556e5e3fe87..8e67d7bf0fd 100644
--- 
a/regression-test/suites/partition_p2/auto_partition/ddl/create_range_part_data_table.sql
+++ 
b/regression-test/suites/partition_p2/auto_partition/ddl/create_range_part_data_table.sql
@@ -39,7 +39,7 @@ CREATE TABLE `test1`(
   `col38` varchar(128),
   `col39` decimal(9, 3),
   `col40` char(128)
-) UNIQUE KEY(`col1`)
+) DUPLICATE KEY(`col1`)
 DISTRIBUTED BY HASH(`col1`) BUCKETS 10
 PROPERTIES (
   "replication_num" = "1"
diff --git 
a/regression-test/suites/partition_p2/auto_partition/ddl/stream_load_list_test_table.sql
 
b/regression-test/suites/partition_p2/auto_partition/ddl/stream_load_list_test_table.sql
index 3866d2a81f1..e65207116e8 100644
--- 
a/regression-test/suites/partition_p2/auto_partition/ddl/stream_load_list_test_table.sql
+++ 
b/regression-test/suites/partition_p2/auto_partition/ddl/stream_load_list_test_table.sql
@@ -39,7 +39,7 @@ CREATE TABLE `stream_load_list_test_table`(
   `col38` varchar(128),
   `col39` decimal(9, 3),
   `col40` char(128)
-) UNIQUE KEY(`col1`)
+) DUPLICATE KEY(`col1`)
 AUTO PARTITION BY list(`col1`)
 (
 )
diff --git 
a/regression-test/suites/partition_p2/auto_partition/ddl/stream_load_range_test_table.sql
 
b/regression-test/suites/partition_p2/auto_partition/ddl/stream_load_range_test_table.sql
index 48100691945..28c320aa013 100644
--- 
a/regression-test/suites/partition_p2/auto_partition/ddl/stream_load_range_test_table.sql
+++ 
b/regression-test/suites/partition_p2/auto_partition/ddl/stream_load_range_test_table.sql
@@ -39,7 +39,7 @@ CREATE TABLE `stream_load_range_test_table`(
   `col38` varchar(128),
   `col39` decimal(9, 3),
   `col40` char(128)
-) UNIQUE KEY(`col1`)
+) DUPLICATE KEY(`col1`)
 auto partition by range (date_trunc(`col1`, 'day'))
 (
 )


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

Reply via email to