xy720 opened a new issue #4657:
URL: https://github.com/apache/incubator-doris/issues/4657
**Describe the bug**
The load will stuck in Loading phase when the table is a
dynamic-partitioned-table
**To Reproduce**
Steps to reproduce the behavior:
1. create a dynamic-partitioned-table
```
CREATE TABLE `test3` (
`k1` int(11) NULL COMMENT "",
`k2` date NULL COMMENT "",
`k3` int(11) SUM NULL COMMENT ""
) ENGINE=OLAP
AGGREGATE KEY(`k1`, `k2`)
COMMENT "OLAP"
PARTITION BY RANGE(`k1`)
()
DISTRIBUTED BY HASH(`k1`) BUCKETS 10
PROPERTIES (
"replication_num" = "3",
"dynamic_partition.enable" = "true",
"dynamic_partition.time_unit" = "DAY",
"dynamic_partition.start" = "-3",
"dynamic_partition.end" = "3",
"dynamic_partition.prefix" = "p",
"dynamic_partition.replication_num" = "3",
"dynamic_partition.buckets" = "5",
);
```
2. start to load data into test3
```
insert into test3 values (20200924,'2019-10-10',100);
```
or
```
load label test_db.label3
(
data infile ("hdfs://host:port/path/to/data/table3") into table test3
COLUMNS TERMINATED BY "|"
(k1, k2, k3)
) with broker "doris";
```
3. An error will report in insert statement and the load will stuck in
loading phase.
----------------------------------------------------------------
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]