diff --git a/be/src/exprs/create_predicate_function.h b/be/src/exprs/create_predicate_function.h index 7d89141c443b37..011270cd09e3cb 100644 --- a/be/src/exprs/create_predicate_function.h +++ b/be/src/exprs/create_predicate_function.h @@ -34,10 +34,7 @@ class MinmaxFunctionTraits { using BasePtr = MinMaxFuncBase*; template static BasePtr get_function() { - return new MinMaxNumFunc::CppType>, - typename PrimitiveTypeTraits::CppType>>(); + return new MinMaxNumFunc::CppType>(); } };