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