From 23dec236c23d23e396b74b129f0d29634bb030e0 Mon Sep 17 00:00:00 2001 From: Lirikl Date: Fri, 12 May 2023 12:20:52 +0300 Subject: [PATCH] add description --- src/Functions/array/arrayFold.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Functions/array/arrayFold.cpp b/src/Functions/array/arrayFold.cpp index 7ae764104de..51a1fb50322 100644 --- a/src/Functions/array/arrayFold.cpp +++ b/src/Functions/array/arrayFold.cpp @@ -219,7 +219,12 @@ private: REGISTER_FUNCTION(ArrayFold) { - factory.registerFunction(); + + factory.registerFunction(R"( + 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. + )"); + }