Parallel merge of uniqExactIf states

This commit is contained in:
flynn 2023-05-28 06:04:23 +00:00
parent 0e2156c776
commit ec82c657eb
2 changed files with 10 additions and 0 deletions

View File

@ -152,6 +152,13 @@ public:
nested_func->merge(place, rhs, arena);
}
bool isAbleToParallelizeMerge() const override { return nested_func->isAbleToParallelizeMerge(); }
void merge(AggregateDataPtr __restrict place, ConstAggregateDataPtr rhs, ThreadPool & thread_pool, Arena * arena) const override
{
nested_func->merge(place, rhs, thread_pool, arena);
}
void mergeBatch(
size_t row_begin,
size_t row_end,

View File

@ -0,0 +1,3 @@
<test>
<query>SELECT uniqExactIf(number, ) FROM numbers_mt(1e7)</query>
</test>