2020-05-08 14:59:58 +00:00
|
|
|
#include <Functions/FunctionUnixTimestamp64.h>
|
|
|
|
#include <Functions/FunctionFactory.h>
|
|
|
|
|
|
|
|
namespace DB
|
|
|
|
{
|
2020-09-07 18:00:37 +00:00
|
|
|
|
2022-07-04 07:01:39 +00:00
|
|
|
REGISTER_FUNCTION(ToUnixTimestamp64Micro)
|
2020-05-08 14:59:58 +00:00
|
|
|
{
|
2021-05-04 17:26:09 +00:00
|
|
|
factory.registerFunction("toUnixTimestamp64Micro",
|
2021-06-01 12:20:52 +00:00
|
|
|
[](ContextPtr){ return std::make_unique<FunctionToOverloadResolverAdaptor>(
|
2021-05-04 17:26:09 +00:00
|
|
|
std::make_shared<FunctionToUnixTimestamp64>(6, "toUnixTimestamp64Micro")); });
|
2020-05-08 14:59:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|