Skip to content

Commit

Permalink
[398]Fixed: groupArray's result could be null (#404)
Browse files Browse the repository at this point in the history
  • Loading branch information
lgbo-ustc authored Apr 13, 2023
1 parent 2b37553 commit ddf2f50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AggregateFunctions/AggregateFunctionGroupArray.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ AggregateFunctionPtr createAggregateFunctionGroupArraySample(

void registerAggregateFunctionGroupArray(AggregateFunctionFactory & factory)
{
AggregateFunctionProperties properties = { .returns_default_when_only_null = false, .is_order_dependent = true };
AggregateFunctionProperties properties = { .returns_default_when_only_null = true, .is_order_dependent = true };

factory.registerFunction("groupArray", { createAggregateFunctionGroupArray<false>, properties });
factory.registerFunction("groupArraySample", { createAggregateFunctionGroupArraySample, properties });
Expand Down

0 comments on commit ddf2f50

Please sign in to comment.