aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Functions/toUnixTimestamp64Micro.cpp
blob: fd35e2a7a73b19522a8ec9882403ad725526f872 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <Functions/FunctionUnixTimestamp64.h>
#include <Functions/FunctionFactory.h>

namespace DB
{

REGISTER_FUNCTION(ToUnixTimestamp64Micro)
{
    factory.registerFunction("toUnixTimestamp64Micro",
        [](ContextPtr){ return std::make_unique<FunctionToOverloadResolverAdaptor>(
            std::make_shared<FunctionToUnixTimestamp64>(6, "toUnixTimestamp64Micro")); });
}

}