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