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