EmmyMiao87 opened a new issue #5042:
URL: https://github.com/apache/incubator-doris/issues/5042
**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:
1. admin set frontend config ("dynamic_partition_enable" = "false");
2. 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"
);
```
3. waiting for 10 minutes more, partition is not created.
**Expected behavior**
Forbidden creating dynamic partition table when dynamic_partition_enable is
false.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]