1#include <Functions/IFunctionImpl.h>
2#include <Functions/FunctionFactory.h>
3#include <Functions/DateTimeTransforms.h>
4#include <Functions/FunctionDateOrDateTimeToSomething.h>
5#include <DataTypes/DataTypesNumber.h>
6
7
8namespace DB
9{
10
11using FunctionToYYYYMM = FunctionDateOrDateTimeToSomething<DataTypeUInt32, ToYYYYMMImpl>;
12
13void registerFunctionToYYYYMM(FunctionFactory & factory)
14{
15 factory.registerFunction<FunctionToYYYYMM>();
16}
17
18}
19
20
21