ClickHouse/src/Functions/toUnixTimestamp64Milli.cpp
2021-06-01 15:20:52 +03:00

15 lines
403 B
C++

#include <Functions/FunctionUnixTimestamp64.h>
#include <Functions/FunctionFactory.h>
namespace DB
{
void registerToUnixTimestamp64Milli(FunctionFactory & factory)
{
factory.registerFunction("toUnixTimestamp64Milli",
[](ContextPtr){ return std::make_unique<FunctionToOverloadResolverAdaptor>(
std::make_shared<FunctionToUnixTimestamp64>(3, "toUnixTimestamp64Milli")); });
}
}