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


namespace DB
{

using FunctionSubtractHours = FunctionDateOrDateTimeAddInterval<SubtractHoursImpl>;

REGISTER_FUNCTION(SubtractHours)
{
    factory.registerFunction<FunctionSubtractHours>();
}

}