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

huajianlan 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 ed674c7fe8f [test](nereids)fix prune partitions test case (#56892)
ed674c7fe8f is described below

commit ed674c7fe8fccf40bec9cc077423acb9407c1b07
Author: zfr95 <[email protected]>
AuthorDate: Tue Oct 14 10:51:07 2025 +0800

    [test](nereids)fix prune partitions test case (#56892)
    
    The constant folding on the BE (Backend) can affect the partition
    pruning function on the FE (Frontend). Please disable the corresponding
    configuration item to test the FE's partition pruning feature.
---
 .../nereids_rules_p0/partition_prune/one_key_list_part_test.groovy     | 1 +
 .../partition_prune/one_key_list_part_update_test.groovy               | 1 +
 .../nereids_rules_p0/partition_prune/one_key_range_part_test.groovy    | 1 +
 .../partition_prune/one_key_range_part_update_test.groovy              | 3 ++-
 4 files changed, 5 insertions(+), 1 deletion(-)

diff --git 
a/regression-test/suites/nereids_rules_p0/partition_prune/one_key_list_part_test.groovy
 
b/regression-test/suites/nereids_rules_p0/partition_prune/one_key_list_part_test.groovy
index eda6f07c487..11b1c02c8b1 100644
--- 
a/regression-test/suites/nereids_rules_p0/partition_prune/one_key_list_part_test.groovy
+++ 
b/regression-test/suites/nereids_rules_p0/partition_prune/one_key_list_part_test.groovy
@@ -20,6 +20,7 @@ suite("one_key_list_part_test") {
     String dbName = context.config.getDbNameByFile(context.file)
     sql """set partition_pruning_expand_threshold=1000;"""
     sql """SET enable_insert_strict = false;"""
+    sql """set enable_fold_constant_by_be=false;"""
 
     sql """drop table if exists key_1_fixed_list_int_part"""
     sql """create table key_1_fixed_list_int_part (a int, dt datetime, c 
varchar(100)) duplicate key(a)
diff --git 
a/regression-test/suites/nereids_rules_p0/partition_prune/one_key_list_part_update_test.groovy
 
b/regression-test/suites/nereids_rules_p0/partition_prune/one_key_list_part_update_test.groovy
index 8257a594226..581df6c4e54 100644
--- 
a/regression-test/suites/nereids_rules_p0/partition_prune/one_key_list_part_update_test.groovy
+++ 
b/regression-test/suites/nereids_rules_p0/partition_prune/one_key_list_part_update_test.groovy
@@ -20,6 +20,7 @@ suite("one_key_list_part_update_test") {
     String dbName = context.config.getDbNameByFile(context.file)
     sql """set partition_pruning_expand_threshold=1000;"""
     sql """SET enable_insert_strict = false;"""
+    sql """set enable_fold_constant_by_be=false;"""
 
     sql """drop table if exists key_1_fixed_list_int_part_update"""
     sql """create table key_1_fixed_list_int_part_update (a int, dt datetime, 
c varchar(100)) duplicate key(a)
diff --git 
a/regression-test/suites/nereids_rules_p0/partition_prune/one_key_range_part_test.groovy
 
b/regression-test/suites/nereids_rules_p0/partition_prune/one_key_range_part_test.groovy
index c3abf6044e4..b9d4d189153 100644
--- 
a/regression-test/suites/nereids_rules_p0/partition_prune/one_key_range_part_test.groovy
+++ 
b/regression-test/suites/nereids_rules_p0/partition_prune/one_key_range_part_test.groovy
@@ -19,6 +19,7 @@ suite("one_key_range_part_test") {
 
     String dbName = context.config.getDbNameByFile(context.file)
     sql """set partition_pruning_expand_threshold=1000;"""
+    sql """set enable_fold_constant_by_be=false;"""
 
     sql """drop table if exists key_1_fixed_range_date_part;"""
     sql """create table key_1_fixed_range_date_part (a int, dt datetime, c 
varchar(100)) duplicate key(a)
diff --git 
a/regression-test/suites/nereids_rules_p0/partition_prune/one_key_range_part_update_test.groovy
 
b/regression-test/suites/nereids_rules_p0/partition_prune/one_key_range_part_update_test.groovy
index 0fefd23b241..31438c8452d 100644
--- 
a/regression-test/suites/nereids_rules_p0/partition_prune/one_key_range_part_update_test.groovy
+++ 
b/regression-test/suites/nereids_rules_p0/partition_prune/one_key_range_part_update_test.groovy
@@ -17,8 +17,9 @@
 
 suite("one_key_range_part_update_test") {
 
-    sql """set partition_pruning_expand_threshold=1000;"""
     String dbName = context.config.getDbNameByFile(context.file)
+    sql """set partition_pruning_expand_threshold=1000;"""
+    sql """set enable_fold_constant_by_be=false;"""
 
     sql """drop table if exists key_1_special_fixed_range_date_part_update"""
     sql """create table key_1_special_fixed_range_date_part_update (a int, dt 
datetime, c varchar(100)) duplicate key(a)


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

Reply via email to