ClickHouse/src/Functions/toUnixTimestamp64Nano.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
379 B
C++
Raw Normal View History

#include <Functions/FunctionUnixTimestamp64.h>
#include <Functions/FunctionFactory.h>
namespace DB
{
2020-09-07 18:00:37 +00:00
REGISTER_FUNCTION(ToUnixTimestamp64Nano)
{
factory.registerFunction("toUnixTimestamp64Nano",
2021-06-01 12:20:52 +00:00
[](ContextPtr){ return std::make_unique<FunctionToOverloadResolverAdaptor>(
std::make_shared<FunctionToUnixTimestamp64>(9, "toUnixTimestamp64Nano")); });
}
}