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