This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.0 by this push:
new 36abe97a24a [test] fix partition prune unstable cases (#44976) (#45849)
36abe97a24a is described below
commit 36abe97a24affd03b8fdbdeacd0b4747879daa55
Author: feiniaofeiafei <[email protected]>
AuthorDate: Tue Dec 24 19:07:50 2024 +0800
[test] fix partition prune unstable cases (#44976) (#45849)
cherry-pick #44976 to branch-3.0
---
.../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 5e65e6445ef..9d4e2a16490 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 e8b7621e6d7..4d1e3eb223b 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]