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 bcc2c155dff [test] fix partition prune unstable cases (#44976) (#45846)
bcc2c155dff is described below

commit bcc2c155dffc768adba347e64a6e0cea8592b951
Author: feiniaofeiafei <[email protected]>
AuthorDate: Tue Dec 24 19:06:26 2024 +0800

    [test] fix partition prune unstable cases (#44976) (#45846)
    
    cherry-pick #44976 to branch-2.1
---
 .../nereids_rules_p0/partition_prune/int_as_date_partition_col.groovy    | 1 +
 .../nereids_rules_p0/partition_prune/one_col_range_partition.groovy      | 1 +
 .../partition_prune/varchar_as_date_partition_col.groovy                 | 1 +
 3 files changed, 3 insertions(+)

diff --git 
a/regression-test/suites/nereids_rules_p0/partition_prune/int_as_date_partition_col.groovy
 
b/regression-test/suites/nereids_rules_p0/partition_prune/int_as_date_partition_col.groovy
index 4554947d5ea..e9afd352727 100644
--- 
a/regression-test/suites/nereids_rules_p0/partition_prune/int_as_date_partition_col.groovy
+++ 
b/regression-test/suites/nereids_rules_p0/partition_prune/int_as_date_partition_col.groovy
@@ -16,6 +16,7 @@
 // under the License.
 
 suite("int_as_date_partition_col") {
+    sql "set ENABLE_FOLD_CONSTANT_BY_BE=false"
     sql "drop table if exists partition_int"
     sql """CREATE TABLE partition_int(a int, dt int) PARTITION BY range(dt) (
             partition p20240101 values less than ("20240101"),
diff --git 
a/regression-test/suites/nereids_rules_p0/partition_prune/one_col_range_partition.groovy
 
b/regression-test/suites/nereids_rules_p0/partition_prune/one_col_range_partition.groovy
index 4e04fed0cc4..a52f2577477 100644
--- 
a/regression-test/suites/nereids_rules_p0/partition_prune/one_col_range_partition.groovy
+++ 
b/regression-test/suites/nereids_rules_p0/partition_prune/one_col_range_partition.groovy
@@ -16,6 +16,7 @@
 // under the License.
 
 suite("one_col_range_partition") {
+    sql "set ENABLE_FOLD_CONSTANT_BY_BE=false"
     sql "drop table if exists one_col_range_partition_date"
     sql """
     create table one_col_range_partition_date(a int, dt datetime, d date, c 
varchar(100)) duplicate key(a)
diff --git 
a/regression-test/suites/nereids_rules_p0/partition_prune/varchar_as_date_partition_col.groovy
 
b/regression-test/suites/nereids_rules_p0/partition_prune/varchar_as_date_partition_col.groovy
index 0cfe4963f27..a5b3a4375c1 100644
--- 
a/regression-test/suites/nereids_rules_p0/partition_prune/varchar_as_date_partition_col.groovy
+++ 
b/regression-test/suites/nereids_rules_p0/partition_prune/varchar_as_date_partition_col.groovy
@@ -16,6 +16,7 @@
 // under the License.
 
 suite("varchar_as_date_partition_col") {
+    sql "set ENABLE_FOLD_CONSTANT_BY_BE=false"
     sql"""drop table if exists partition_varchar;"""
     sql """CREATE TABLE partition_varchar(a int, dt varchar(10), rdt datetime) 
PARTITION BY list(dt) (
     partition p20240101 values in ("20240101","20240102"),


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

Reply via email to