ClickHouse/src/Functions/toUnixTimestamp64Milli.cpp

15 lines
408 B
C++
Raw Normal View History

#include <Functions/FunctionUnixTimestamp64.h>
#include <Functions/FunctionFactory.h>
namespace DB
{
2020-09-07 18:00:37 +00:00
void registerToUnixTimestamp64Milli(FunctionFactory & factory)
{
factory.registerFunction("toUnixTimestamp64Milli",
[](ContextConstPtr){ return std::make_unique<FunctionToOverloadResolverAdaptor>(
std::make_shared<FunctionToUnixTimestamp64>(3, "toUnixTimestamp64Milli")); });
}
}