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


namespace DB
{

using FunctionAddYears = FunctionDateOrDateTimeAddInterval<AddYearsImpl>;

REGISTER_FUNCTION(AddYears)
{
    factory.registerFunction<FunctionAddYears>();
}

}