fix documentation

This commit is contained in:
Lirikl 2023-05-13 01:05:43 +03:00
parent f09a22148e
commit 2e6a48fbcf

View File

@ -220,6 +220,6 @@ REGISTER_FUNCTION(ArrayFold)
factory.registerFunction<ArrayFold>(FunctionDocumentation{.description=R"( factory.registerFunction<ArrayFold>(FunctionDocumentation{.description=R"(
Function arrayFold(x1,...,xn,accum -> expression, array1,...,arrayn, init_accum) applies lambda function to a number of same sized array columns Function arrayFold(x1,...,xn,accum -> expression, array1,...,arrayn, init_accum) applies lambda function to a number of same sized array columns
and collects result in accumulator. Accumulator can be either constant or column. and collects result in accumulator. Accumulator can be either constant or column.
)", .categories{"Array"}, .examples{{"sum", "SELECT arrayFold(x,acc -> acc + x, [1,2,3,4], toInt64(1));", "11"}}}); )", .examples{{"sum", "SELECT arrayFold(x,acc -> acc + x, [1,2,3,4], toInt64(1));", "11"}}, .categories{"Array"}});
} }
} }