-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Labels
area/catalogIssues or PRs related to catalog managementIssues or PRs related to catalog management
Description
Describe the bug
Doris supports the creation of dynamic partition tables, but the actual partitions have not been created successfully.
To Reproduce
Steps to reproduce the behavior:
- admin set frontend config ("dynamic_partition_enable" = "false");
- create dynamic partition table
CREATE TABLE dynamic_partition
(
k1 DATE not null,
k2 INT,
k3 SMALLINT,
v1 VARCHAR(2048),
v2 DATETIME DEFAULT "2014-02-04 15:36:00"
)
ENGINE=olap
DUPLICATE KEY(k1, k2, k3)
PARTITION BY RANGE (k1)
(
PARTITION p1 VALUES LESS THAN ("2014-01-01"),
PARTITION p2 VALUES LESS THAN ("2014-06-01"),
PARTITION p3 VALUES LESS THAN ("2014-12-01")
)
DISTRIBUTED BY HASH(k2) BUCKETS 32
PROPERTIES(
"storage_medium" = "SSD",
"dynamic_partition.time_unit" = "DAY",
"dynamic_partition.start" = "-3",
"dynamic_partition.end" = "3",
"dynamic_partition.prefix" = "p",
"dynamic_partition.buckets" = "32",
"replication_num" = "1"
);
- waiting for 10 minutes more, partition is not created.
Expected behavior
Forbidden creating dynamic partition table when dynamic_partition_enable is false.
Metadata
Metadata
Assignees
Labels
area/catalogIssues or PRs related to catalog managementIssues or PRs related to catalog management