diff --git a/src/AggregateFunctions/AggregateFunctionSumCount.h b/src/AggregateFunctions/AggregateFunctionSumCount.h index a1f04fda83a..1026b6272ba 100644 --- a/src/AggregateFunctions/AggregateFunctionSumCount.h +++ b/src/AggregateFunctions/AggregateFunctionSumCount.h @@ -10,10 +10,10 @@ namespace DB template using DecimalOrNumberDataType = std::conditional_t, DataTypeDecimal>, DataTypeNumber>>; template -class AggregateFunctionSumCount final : public AggregateFunctionAvgBase, UInt64, AggregateFunctionAvg> +class AggregateFunctionSumCount final : public AggregateFunctionAvgBase, UInt64, AggregateFunctionSumCount> { public: - using Base = AggregateFunctionAvgBase, UInt64, AggregateFunctionAvg>; + using Base = AggregateFunctionAvgBase, UInt64, AggregateFunctionSumCount>; AggregateFunctionSumCount(const DataTypes & argument_types_, UInt32 num_scale_ = 0) : Base(argument_types_, num_scale_), scale(num_scale_) {}