mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-13 18:02:24 +00:00
22 lines
344 B
C++
22 lines
344 B
C++
#include <Functions/FunctionFactory.h>
|
|
#include <Functions/FunctionsRandom.h>
|
|
|
|
namespace DB
|
|
{
|
|
namespace
|
|
{
|
|
|
|
struct NameRand64 { static constexpr auto name = "rand64"; };
|
|
using FunctionRand64 = FunctionRandom<UInt64, NameRand64>;
|
|
|
|
}
|
|
|
|
void registerFunctionRand64(FunctionFactory & factory)
|
|
{
|
|
factory.registerFunction<FunctionRand64>();
|
|
}
|
|
|
|
}
|
|
|
|
|