aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Functions/rand64.cpp
blob: b8b9d4d2b02f5e5e5c8ef459b2c6532ce5b9e5b4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <Functions/FunctionFactory.h>
#include <Functions/FunctionsRandom.h>

namespace DB
{
namespace
{

struct NameRand64 { static constexpr auto name = "rand64"; };
using FunctionRand64 = FunctionRandom<UInt64, NameRand64>;

}

REGISTER_FUNCTION(Rand64)
{
    factory.registerFunction<FunctionRand64>();
}

}