Fixed code review issues

This commit is contained in:
Maksim Kita 2021-07-23 01:03:44 +03:00
parent 1fea19846b
commit 42201d3e30

View File

@ -302,8 +302,6 @@ Aggregator::Aggregator(const Params & params_)
void Aggregator::compileAggregateFunctionsIfNeeded()
{
std::cerr << "Aggregator::compileAggregateFunctions" << std::endl;
static std::unordered_map<UInt128, UInt64, UInt128Hash> aggregate_functions_description_to_count;
static std::mutex mtx;
@ -346,13 +344,6 @@ void Aggregator::compileAggregateFunctionsIfNeeded()
if (functions_to_compile.empty())
return;
std::cerr << "Functions to compile " << functions_to_compile.size() << std::endl;
for (auto & function : functions_to_compile)
{
std::cerr << "Function " << function.function->getDescription() << " offset " << function.aggregate_data_offset << std::endl;
}
SipHash aggregate_functions_description_hash;
aggregate_functions_description_hash.update(functions_description);