ClickHouse/src/Functions/rand64.cpp

22 lines
344 B
C++
Raw Normal View History

#include <Functions/FunctionFactory.h>
#include <Functions/FunctionsRandom.h>
namespace DB
{
2020-09-07 18:00:37 +00:00
namespace
{
struct NameRand64 { static constexpr auto name = "rand64"; };
using FunctionRand64 = FunctionRandom<UInt64, NameRand64>;
2020-09-07 18:00:37 +00:00
}
void registerFunctionRand64(FunctionFactory & factory)
{
factory.registerFunction<FunctionRand64>();
}
}