zhannngchen commented on code in PR #45383: URL: https://github.com/apache/doris/pull/45383#discussion_r1891445317
########## be/src/olap/schema_change.cpp: ########## @@ -728,8 +732,27 @@ Status VBaseSchemaChangeWithSorting::_external_sorting(vector<RowsetSharedPtr>& } Merger::Statistics stats; - RETURN_IF_ERROR(Merger::vmerge_rowsets(new_tablet, ReaderType::READER_ALTER_TABLE, - *new_tablet_schema, rs_readers, rowset_writer, &stats)); + if (!new_tablet_schema->cluster_key_uids().empty()) { + // schema change read rowsets with delete bitmap, so there should be no duplicated keys + // RETURN_IF_ERROR(Compaction::update_delete_bitmap()); Review Comment: remove this line -- 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. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org 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