mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-01 20:12:02 +00:00
Skip AggregateFunctionWindowFunnelData::merge() if other.events_list is empty.
This commit is contained in:
parent
7549c575b1
commit
bf1aa44d19
@ -56,6 +56,9 @@ struct AggregateFunctionWindowFunnelData
|
|||||||
|
|
||||||
void merge(const AggregateFunctionWindowFunnelData & other)
|
void merge(const AggregateFunctionWindowFunnelData & other)
|
||||||
{
|
{
|
||||||
|
if (other.events_list.empty())
|
||||||
|
return;
|
||||||
|
|
||||||
const auto size = events_list.size();
|
const auto size = events_list.size();
|
||||||
|
|
||||||
events_list.insert(std::begin(other.events_list), std::end(other.events_list));
|
events_list.insert(std::begin(other.events_list), std::end(other.events_list));
|
||||||
|
Loading…
Reference in New Issue
Block a user