#include #include namespace DB { namespace { struct Min2Name { static constexpr auto name = "min2"; }; template T min(T a, T b) { return a < b ? a : b; } using FunctionMin2 = FunctionMathBinaryFloat64>; } REGISTER_FUNCTION(Min2) { factory.registerFunction({}, FunctionFactory::CaseInsensitive); } }