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

}