mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 03:12:43 +00:00
remove accidental garbage
This commit is contained in:
parent
0334edf35b
commit
c19a13e75b
@ -1,6 +1,7 @@
|
|||||||
#include "FunctionArrayMapped.h"
|
#include "FunctionArrayMapped.h"
|
||||||
#include <Functions/FunctionFactory.h>
|
#include <Functions/FunctionFactory.h>
|
||||||
#include <Common/Exception.h>
|
#include <Common/Exception.h>
|
||||||
|
#include <Common/Documentation.h>
|
||||||
|
|
||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
@ -14,7 +15,6 @@ namespace ErrorCodes
|
|||||||
extern const int TYPE_MISMATCH;
|
extern const int TYPE_MISMATCH;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/** arrayFold(x1,...,xn,accum -> expression, array1,...,arrayn, init_accum) - apply the expression to each element of the array (or set of parallel arrays).
|
/** arrayFold(x1,...,xn,accum -> expression, array1,...,arrayn, init_accum) - apply the expression to each element of the array (or set of parallel arrays).
|
||||||
*/
|
*/
|
||||||
class ArrayFold : public IFunction
|
class ArrayFold : public IFunction
|
||||||
@ -218,17 +218,6 @@ private:
|
|||||||
|
|
||||||
REGISTER_FUNCTION(ArrayFold)
|
REGISTER_FUNCTION(ArrayFold)
|
||||||
{
|
{
|
||||||
{
|
|
||||||
R"(
|
|
||||||
Calculates BLAKE3 hash string and returns the resulting set of bytes as FixedString.
|
|
||||||
This cryptographic hash-function is integrated into ClickHouse with BLAKE3 Rust library.
|
|
||||||
The function is rather fast and shows approximately two times faster performance compared to SHA-2, while generating hashes of the same length as SHA-256.
|
|
||||||
It returns a BLAKE3 hash as a byte array with type FixedString(32).
|
|
||||||
)",
|
|
||||||
Documentation::Examples{
|
|
||||||
{"hash", "SELECT hex(BLAKE3('ABC'))"}},
|
|
||||||
Documentation::Categories{"Hash"}
|
|
||||||
},
|
|
||||||
factory.registerFunction<ArrayFold>("arrayFold", {R"(
|
factory.registerFunction<ArrayFold>("arrayFold", {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.
|
||||||
|
Loading…
Reference in New Issue
Block a user