#include #include #include #include namespace DB { using FunctionToSecond = FunctionDateOrDateTimeToSomething; REGISTER_FUNCTION(ToSecond) { factory.registerFunction(); /// MysQL compatibility alias. factory.registerAlias("SECOND", "toSecond", FunctionFactory::CaseInsensitive); } }