morningman opened a new pull request #5028: URL: https://github.com/apache/incubator-doris/pull/5028
This reverts commit 9c9992e0aa28ee85364eebf86a6675f1073e08fb. ## Proposed changes The PR #4925 will cause BE crash by following case: ``` CREATE TABLE `tbl1` ( `k1` int(11) NULL COMMENT "", `k2` int(11) NULL COMMENT "" ) ENGINE=OLAP DUPLICATE KEY(`k1`, `k2`) COMMENT "OLAP" DISTRIBUTED BY HASH(`k1`) BUCKETS 1 PROPERTIES ( "replication_num" = "1", "in_memory" = "false", "storage_format" = "V2" ); insert into tbl1 values(1,2); delete from tbl1 where k1=1; alter table tbl1 modify column k2 bigint key; ``` BE will crash when doing schema change with delete condition. ## Types of changes - [x] Bugfix (non-breaking change which fixes an issue) ---------------------------------------------------------------- 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: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org