Skip to content

[Bug] The load will stuck in Loading phase when the table is a dynamic-partitioned-table #4657

@xy720

Description

@xy720

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:

  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",
);
  1. 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";
  1. An error will report in insert statement and the load will stuck in loading phase.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions