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