[Enhancement](array-type) Support Floating/Decimal type for array aggregation functions (#12271)

This commit is contained in:
xy720
2022-09-03 09:55:56 +08:00
committed by GitHub
parent 5d0b1868c2
commit e7303c12c7
4 changed files with 103 additions and 1 deletions

View File

@ -106,7 +106,7 @@ struct AggregateFunctionImpl<AggregateOperation::PRODUCT> {
template <typename Element>
struct TypeTraits {
using ResultType = ArrayAggregateResult<Element, AggregateOperation::PRODUCT>;
using AggregateDataType = AggregateFunctionProductData<Element>;
using AggregateDataType = AggregateFunctionProductData<ResultType>;
using Function = AggregateFunctionProduct<Element, ResultType, AggregateDataType>;
};
};