ClickHouse/src/Functions/toUnixTimestamp64Micro.cpp
Alexander Kuzmenkov 3f57fc085b remove mutable context references from functions interface
Also remove it from some visitors.
2021-05-28 19:45:37 +03:00

15 lines
408 B
C++

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