mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
dbms: development [#CONV-2944].
This commit is contained in:
parent
e6cb036898
commit
bf1042c832
@ -58,6 +58,10 @@ public:
|
|||||||
pool.schedule(boost::bind(&ParallelAggregatingBlockInputStream::calculate, this, boost::ref(inputs[i]), boost::ref(*many_data[i]), boost::ref(exceptions[i])));
|
pool.schedule(boost::bind(&ParallelAggregatingBlockInputStream::calculate, this, boost::ref(inputs[i]), boost::ref(*many_data[i]), boost::ref(exceptions[i])));
|
||||||
}
|
}
|
||||||
pool.wait();
|
pool.wait();
|
||||||
|
|
||||||
|
for (size_t i = 0, size = exceptions.size(); i < size; ++i)
|
||||||
|
if (exceptions[i])
|
||||||
|
exceptions[i]->rethrow();
|
||||||
|
|
||||||
AggregatedDataVariantsPtr res = aggregator->merge(many_data);
|
AggregatedDataVariantsPtr res = aggregator->merge(many_data);
|
||||||
return aggregator->convertToBlock(*res);
|
return aggregator->convertToBlock(*res);
|
||||||
|
Loading…
Reference in New Issue
Block a user