#include #include #include #include namespace DB { using FunctionToMinute = FunctionDateOrDateTimeToSomething; REGISTER_FUNCTION(ToMinute) { factory.registerFunction(); /// MySQL compatibility alias. factory.registerAlias("MINUTE", "toMinute", FunctionFactory::CaseInsensitive); } }