1#include <Functions/FunctionFactory.h>
2#include <Functions/FunctionsRandom.h>
3
4namespace DB
5{
6
7struct NameRand { static constexpr auto name = "rand"; };
8using FunctionRand = FunctionRandom<UInt32, NameRand>;
9
10void registerFunctionRand(FunctionFactory & factory)
11{
12 factory.registerFunction<FunctionRand>(FunctionFactory::CaseInsensitive);
13}
14
15}
16
17