#include #include namespace DB { namespace { struct IsNaNImpl { static constexpr auto name = "isNaN"; template static bool execute(const T t) { return t != t; } }; using FunctionIsNaN = FunctionNumericPredicate; } REGISTER_FUNCTION(IsNaN) { factory.registerFunction(); } }