MCPcopy Create free account
hub / github.com/ByConity/ByConity / executeClusterTask

Method executeClusterTask

src/WorkerTasks/MergeTreeDataReclusterMutator.cpp:37–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37MergeTreeMutableDataPartsVector 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
51MergeTreeMutableDataPartsVector MergeTreeDataReclusterMutator::executeOnSinglePart(
52 const MergeTreeDataPartPtr & part,

Callers 1

executeImplMethod · 0.80

Calls 3

insertMethod · 0.45
endMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected