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