cherry-pick #44976 to branch-2.1
This commit is contained in:
@ -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"),
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user