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 | |
8 | namespace DB |
9 | { |
10 | |
11 | using FunctionToRelativeHourNum = FunctionDateOrDateTimeToSomething<DataTypeUInt32, ToRelativeHourNumImpl>; |
12 | |
13 | void registerFunctionToRelativeHourNum(FunctionFactory & factory) |
14 | { |
15 | factory.registerFunction<FunctionToRelativeHourNum>(); |
16 | } |
17 | |
18 | } |
19 | |
20 | |
21 |