Skip to content

Txn is not cleared when load been cancelled. #3767

@chaoyli

Description

@chaoyli

You can reproduce the bug like this.

CREATE TABLE `table1` (
  `siteid` tinyint(4) NULL DEFAULT "10" COMMENT "",
  `citycode` smallint(6) NULL COMMENT "",
  `username` varchar(32) NULL DEFAULT "" COMMENT "",
  `pv` bigint(20) SUM NULL DEFAULT "0" COMMENT ""
) ENGINE=OLAP
AGGREGATE KEY(`siteid`, `citycode`, `username`)
COMMENT "OLAP"
DISTRIBUTED BY HASH(`siteid`) BUCKETS 1
PROPERTIES (
"replication_num" = "1",
"in_memory" = "false",
"storage_format" = "DEFAULT"
);

Data is like this

1111	1	'jim'	2
2222	1	'grace'	2
3333	2	'tom'	2
4444	3	'bush'	3
5555	3	'helen'	3

Metadata

Metadata

Assignees

Labels

kind/fixCategorizes issue or PR as related to a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions