dataroaring commented on code in PR #41413: URL: https://github.com/apache/doris/pull/41413#discussion_r1794504799
########## be/src/olap/compaction.cpp: ########## @@ -186,7 +186,7 @@ Status Compaction::merge_input_rowsets() { Status res; { SCOPED_TIMER(_merge_rowsets_latency_timer); - if (_is_vertical) { + if (_is_vertical || !_tablet->tablet_schema()->cluster_key_idxes().empty()) { Review Comment: if non-vertical is configed and table has cluster key, just skip compaction by return error. -- 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