diff --git a/dbms/src/Functions/FunctionsComparison.h b/dbms/src/Functions/FunctionsComparison.h index 223dc0ab6c3..851513acae6 100644 --- a/dbms/src/Functions/FunctionsComparison.h +++ b/dbms/src/Functions/FunctionsComparison.h @@ -558,7 +558,8 @@ struct NameStrcmp template < template class Op, - typename Name> + typename Name, + typename DefaultReturnColumnType = ColumnUInt8> class FunctionComparison : public IFunction { public: @@ -803,7 +804,7 @@ class FunctionComparison : public IFunction friend class FunctionStrcmp; - template + template bool executeString(Block & block, size_t result, const IColumn * c0, const IColumn * c1) const { const auto * c0_string = checkAndGetColumn(c0); @@ -1299,7 +1300,7 @@ class FunctionComparison : public IFunction } }; -class FunctionStrcmp : public FunctionComparison +class FunctionStrcmp : public FunctionComparison { public: static FunctionPtr create(const Context &) { return std::make_shared(); };