Describe the bug
The load will stuck in Loading phase when the table is a new created dynamic-partitioned-table
To Reproduce
Steps to reproduce the behavior:
- 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",
);
- 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";
- An error will report in insert statement and the load will stuck in loading phase.