#include #include #include #include namespace DB { using FunctionToHour = FunctionDateOrDateTimeToSomething; void registerFunctionToHour(FunctionFactory & factory) { factory.registerFunction(); /// MysQL compatibility alias. factory.registerFunction("HOUR", FunctionFactory::CaseInsensitive); } }