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