#include #include template T max(T a, T b) { return a > b ? a : b; } namespace DB { namespace { struct Max2Name { static constexpr auto name = "max2"; }; using FunctionMax2 = FunctionMathBinaryFloat64>; } void registerFunctionMax2(FunctionFactory & factory) { factory.registerFunction(FunctionFactory::CaseInsensitive); } }