#include #include #include namespace DB { namespace { struct NameUpper { static constexpr auto name = "upper"; }; using FunctionUpper = FunctionStringToString, NameUpper>; } REGISTER_FUNCTION(Upper) { factory.registerFunction({}, FunctionFactory::CaseInsensitive); factory.registerAlias("ucase", FunctionUpper::name, FunctionFactory::CaseInsensitive); } }