#include #include #include #include namespace DB { using FunctionToDayOfMonth = FunctionDateOrDateTimeToSomething; void registerFunctionToDayOfMonth(FunctionFactory & factory) { factory.registerFunction(); /// MysQL compatibility alias. factory.registerFunction("DAY", FunctionFactory::CaseInsensitive); factory.registerFunction("DAYOFMONTH", FunctionFactory::CaseInsensitive); } }