mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-01 03:52:15 +00:00
15 lines
403 B
C++
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")); });
|
|
}
|
|
|
|
}
|