aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Functions/fromUnixTimestamp64Nano.cpp
blob: 2b5a7addbfcc390b3aea4d83dad48d95183e6fd5 (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(FromUnixTimestamp64Nano)
{
    factory.registerFunction("fromUnixTimestamp64Nano",
        [](ContextPtr context){ return std::make_unique<FunctionToOverloadResolverAdaptor>(
            std::make_shared<FunctionFromUnixTimestamp64>(9, "fromUnixTimestamp64Nano", context)); });
}

}