Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[test] fix partition prune unstable cases #44976

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading