You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "dataroaring (via GitHub)" <gi...@apache.org> on 2024/10/10 02:25:05 UTC
Re: [PR] [fix](cluster key) Cluster key skip non vertical compact [doris]
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-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org