aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Functions/toUnixTimestamp64Nano.cpp
blob: 257f011603c68075f050826ccd778280cf0dca41 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <Functions/FunctionUnixTimestamp64.h>
#include <Functions/FunctionFactory.h>

namespace DB
{

REGISTER_FUNCTION(ToUnixTimestamp64Nano)
{
    factory.registerFunction("toUnixTimestamp64Nano",
        [](ContextPtr){ return std::make_unique<FunctionToOverloadResolverAdaptor>(
            std::make_shared<FunctionToUnixTimestamp64>(9, "toUnixTimestamp64Nano")); });
}

}