Fix error

This commit is contained in:
Alexey Milovidov 2022-09-18 01:17:22 +02:00
parent c424ad12aa
commit 6f1878b12a

View File

@ -182,7 +182,8 @@ AggregateFunctionPtr createAggregateFunctionCategoricalIV(
void registerAggregateFunctionCategoricalIV(AggregateFunctionFactory & factory) void registerAggregateFunctionCategoricalIV(AggregateFunctionFactory & factory)
{ {
factory.registerFunction("categoricalInformationValue", createAggregateFunctionCategoricalIV); AggregateFunctionProperties properties = { .returns_default_when_only_null = true };
factory.registerFunction("categoricalInformationValue", { createAggregateFunctionCategoricalIV, properties });
} }
} }