#include #include namespace DB { REGISTER_FUNCTION(Round) { factory.registerFunction("round", FunctionFactory::CaseInsensitive); factory.registerFunction("roundBankers", FunctionFactory::CaseSensitive); factory.registerFunction("floor", FunctionFactory::CaseInsensitive); factory.registerFunction("ceil", FunctionFactory::CaseInsensitive); factory.registerFunction("trunc", FunctionFactory::CaseInsensitive); factory.registerFunction(); /// Compatibility aliases. factory.registerAlias("ceiling", "ceil", FunctionFactory::CaseInsensitive); factory.registerAlias("truncate", "trunc", FunctionFactory::CaseInsensitive); } }