ClickHouse/src/Functions/rand64.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
315 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
}
REGISTER_FUNCTION(Rand64)
{
factory.registerFunction<FunctionRand64>();
}
}