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 5e65e6445ef5e5..9d4e2a16490512 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 e8b7621e6d7ff7..4d1e3eb223b1a7 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 0cfe4963f27b2a..a5b3a4375c12bc 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"),