#include #include namespace DB { void registerFunctionsRound(FunctionFactory & factory) { factory.registerFunction(); factory.registerFunction(); factory.registerFunction(); factory.registerFunction("round", FunctionFactory::CaseInsensitive); factory.registerFunction("floor", FunctionFactory::CaseInsensitive); factory.registerFunction("ceil", FunctionFactory::CaseInsensitive); factory.registerFunction("trunc", FunctionFactory::CaseInsensitive); /// Compatibility aliases. factory.registerFunction("ceiling", FunctionFactory::CaseInsensitive); factory.registerFunction("truncate", FunctionFactory::CaseInsensitive); } }