mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 18:42:26 +00:00
Fix paramters for nulls
This commit is contained in:
parent
03ad81ee72
commit
19dd09ea8e
@ -94,7 +94,8 @@ AggregateFunctionPtr createAggregateFunctionSequenceNextNode(const std::string &
|
||||
|
||||
void registerAggregateFunctionSequenceNextNode(AggregateFunctionFactory & factory)
|
||||
{
|
||||
factory.registerFunction("sequenceNextNode", { createAggregateFunctionSequenceNextNode });
|
||||
AggregateFunctionProperties properties = { .returns_default_when_only_null = true, .is_order_dependent = false };
|
||||
factory.registerFunction("sequenceNextNode", { createAggregateFunctionSequenceNextNode, properties });
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -158,7 +158,7 @@ public:
|
||||
// aggregated events: [A -> B -> C]
|
||||
// events to find: [C -> D]
|
||||
// [C -> D] is not matched to 'A -> B -> C' so that it returns null.
|
||||
return std::make_shared<AggregateFunctionNullVariadic<true, false, true, true>>(nested_function, arguments, params);
|
||||
return std::make_shared<AggregateFunctionNullVariadic<false, false, true, true>>(nested_function, arguments, params);
|
||||
}
|
||||
|
||||
void insert(Data & a, const Node * v, Arena * arena) const
|
||||
|
Loading…
Reference in New Issue
Block a user