aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Functions/subtractQuarters.cpp
blob: 295e1ad37e056ffe69dea80d4152f45d0e6ba5f0 (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 FunctionSubtractQuarters = FunctionDateOrDateTimeAddInterval<SubtractQuartersImpl>;

REGISTER_FUNCTION(SubtractQuarters)
{
    factory.registerFunction<FunctionSubtractQuarters>();
}

}