Skip to content

Commit

Permalink
[fix](rf) fix minmax runtime filter
Browse files Browse the repository at this point in the history
  • Loading branch information
jacktengg committed Oct 20, 2023
1 parent 642c149 commit f696c79
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions be/src/exprs/create_predicate_function.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,7 @@ class MinmaxFunctionTraits {
using BasePtr = MinMaxFuncBase*;
template <PrimitiveType type, size_t N>
static BasePtr get_function() {
return new MinMaxNumFunc<std::conditional_t<
type == TYPE_DECIMAL32 || type == TYPE_DECIMAL64 || type == TYPE_DECIMAL128I,
vectorized::Decimal<typename PrimitiveTypeTraits<type>::CppType>,
typename PrimitiveTypeTraits<type>::CppType>>();
return new MinMaxNumFunc<typename PrimitiveTypeTraits<type>::CppType>();
}
};

Expand Down

0 comments on commit f696c79

Please sign in to comment.