Skip to content

Commit

Permalink
[test] fix partition prune unstable cases (#44976) (#45846)
Browse files Browse the repository at this point in the history
cherry-pick #44976 to branch-2.1
  • Loading branch information
feiniaofeiafei authored Dec 24, 2024
1 parent 956138d commit bcc2c15
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down

0 comments on commit bcc2c15

Please sign in to comment.