[function](random_bytes)add random_bytes function (#31547)

SELECT random_bytes(10);

random_bytes(10) |
----------------------+
0x9b8ea00b7d1084bc5b26|
This commit is contained in:
Guangdong Liu
2024-02-29 14:41:25 +08:00
committed by yiguolei
parent 5276cc4db6
commit 9c4708ee74
12 changed files with 255 additions and 2 deletions

View File

@ -1116,6 +1116,7 @@ void register_function_string(SimpleFunctionFactory& factory) {
factory.register_function<FunctionExtractURLParameter>();
factory.register_function<FunctionStringParseUrl>();
factory.register_function<FunctionUrlDecode>();
factory.register_function<FunctionRandomBytes>();
factory.register_function<FunctionMoneyFormat<MoneyFormatDoubleImpl>>();
factory.register_function<FunctionMoneyFormat<MoneyFormatInt64Impl>>();
factory.register_function<FunctionMoneyFormat<MoneyFormatInt128Impl>>();