#include #include #include namespace DB { using FunctionToLastDayOfMonth = FunctionDateOrDateTimeToSomething; void registerFunctionToLastDayOfMonth(FunctionFactory & factory) { factory.registerFunction(); /// MySQL compatibility alias. factory.registerFunction("LAST_DAY", FunctionFactory::CaseInsensitive); } }