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

}