mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 10:52:30 +00:00
fix documentation
This commit is contained in:
parent
f09a22148e
commit
2e6a48fbcf
@ -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"}});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user