| 35 | } |
| 36 | |
| 37 | MergeTreeMutableDataPartsVector MergeTreeDataReclusterMutator::executeClusterTask( |
| 38 | const ManipulationTaskParams & params, |
| 39 | ManipulationListEntry & manipulation_entry, |
| 40 | ContextPtr context) |
| 41 | { |
| 42 | MergeTreeMutableDataPartsVector clustered_parts; |
| 43 | for (auto & part : params.source_data_parts) |
| 44 | { |
| 45 | auto new_parts = executeOnSinglePart(part, params, manipulation_entry, context); |
| 46 | clustered_parts.insert(clustered_parts.end(), new_parts.begin(), new_parts.end()); |
| 47 | } |
| 48 | return clustered_parts; |
| 49 | } |
| 50 | |
| 51 | MergeTreeMutableDataPartsVector MergeTreeDataReclusterMutator::executeOnSinglePart( |
| 52 | const MergeTreeDataPartPtr & part, |
no test coverage detected