aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Functions/toTime.cpp
blob: 2f5f3c9a3cae6b21dccd683a48139e972860a080 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <Functions/FunctionFactory.h>
#include <Functions/DateTimeTransforms.h>
#include <Functions/FunctionDateOrDateTimeToSomething.h>


namespace DB
{

using FunctionToTime = FunctionDateOrDateTimeToSomething<DataTypeDateTime, ToTimeImpl>;

REGISTER_FUNCTION(ToTime)
{
    factory.registerFunction<FunctionToTime>();
}

}