Coverage Report

Created: 2026-07-24 10:02

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
be/src/exprs/aggregate/aggregate_function_avg.h
Line
Count
Source
1
// Licensed to the Apache Software Foundation (ASF) under one
2
// or more contributor license agreements.  See the NOTICE file
3
// distributed with this work for additional information
4
// regarding copyright ownership.  The ASF licenses this file
5
// to you under the Apache License, Version 2.0 (the
6
// "License"); you may not use this file except in compliance
7
// with the License.  You may obtain a copy of the License at
8
//
9
//   http://www.apache.org/licenses/LICENSE-2.0
10
//
11
// Unless required by applicable law or agreed to in writing,
12
// software distributed under the License is distributed on an
13
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
// KIND, either express or implied.  See the License for the
15
// specific language governing permissions and limitations
16
// under the License.
17
// This file is copied from
18
// https://github.com/ClickHouse/ClickHouse/blob/master/src/AggregateFunctions/AggregateFunctionAvg.h
19
// and modified by Doris
20
21
#pragma once
22
23
#include <glog/logging.h>
24
#include <string.h>
25
26
#include <limits>
27
#include <memory>
28
#include <ostream>
29
#include <type_traits>
30
#include <vector>
31
32
#include "common/compiler_util.h"
33
#include "core/assert_cast.h"
34
#include "core/column/column.h"
35
#include "core/column/column_fixed_length_object.h"
36
#include "core/data_type/data_type.h"
37
#include "core/data_type/data_type_decimal.h"
38
#include "core/data_type/data_type_fixed_length_object.h"
39
#include "core/data_type/primitive_type.h"
40
#include "core/types.h"
41
#include "core/value/decimalv2_value.h"
42
#include "exprs/aggregate/aggregate_function.h"
43
44
namespace doris {
45
class Arena;
46
class BufferReadable;
47
class BufferWritable;
48
template <PrimitiveType T>
49
class ColumnDecimal;
50
template <PrimitiveType T>
51
class DataTypeNumber;
52
template <PrimitiveType T>
53
class ColumnVector;
54
55
template <PrimitiveType T>
56
struct AggregateFunctionAvgData {
57
    using ResultType = typename PrimitiveTypeTraits<T>::CppType;
58
    static constexpr PrimitiveType ResultPType = T;
59
    ResultType sum {};
60
    UInt64 count = 0;
61
62
    AggregateFunctionAvgData& operator=(const AggregateFunctionAvgData<T>& src) = default;
63
64
    template <typename ResultT>
65
2.78k
    ResultT result(ResultType multiplier) const {
66
2.78k
        if (!count) {
67
            // null is handled in AggregationNode::_get_without_key_result
68
1
            return static_cast<ResultT>(sum);
69
1
        }
70
        // DecimalV2 has fixed internal scale=9; its arithmetic operators already
71
        // handle scale correctly, so no external multiplier is needed.
72
2.78k
        if constexpr (T == TYPE_DECIMALV2 && IsDecimalV2<ResultT>) {
73
0
            DecimalV2Value decimal_val_count(count, 0);
74
0
            DecimalV2Value cal_ret = sum / decimal_val_count;
75
0
            return cal_ret;
76
2.78k
        } else {
77
2.78k
            if constexpr (T == TYPE_DECIMAL256) {
78
184
                return static_cast<ResultT>(sum * multiplier /
79
184
                                            typename PrimitiveTypeTraits<T>::CppType(count));
80
2.60k
            } else {
81
2.60k
                return static_cast<ResultT>(sum * multiplier) / static_cast<ResultT>(count);
82
2.60k
            }
83
2.78k
        }
84
2.78k
    }
Unexecuted instantiation: _ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE28EE6resultINS_7DecimalIiEEEET_S5_
Unexecuted instantiation: _ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE29EE6resultINS_7DecimalIlEEEET_S5_
_ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE30EE6resultINS_12Decimal128V3EEET_S4_
Line
Count
Source
65
2.60k
    ResultT result(ResultType multiplier) const {
66
2.60k
        if (!count) {
67
            // null is handled in AggregationNode::_get_without_key_result
68
1
            return static_cast<ResultT>(sum);
69
1
        }
70
        // DecimalV2 has fixed internal scale=9; its arithmetic operators already
71
        // handle scale correctly, so no external multiplier is needed.
72
        if constexpr (T == TYPE_DECIMALV2 && IsDecimalV2<ResultT>) {
73
            DecimalV2Value decimal_val_count(count, 0);
74
            DecimalV2Value cal_ret = sum / decimal_val_count;
75
            return cal_ret;
76
2.60k
        } else {
77
            if constexpr (T == TYPE_DECIMAL256) {
78
                return static_cast<ResultT>(sum * multiplier /
79
                                            typename PrimitiveTypeTraits<T>::CppType(count));
80
2.60k
            } else {
81
2.60k
                return static_cast<ResultT>(sum * multiplier) / static_cast<ResultT>(count);
82
2.60k
            }
83
2.60k
        }
84
2.60k
    }
_ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE35EE6resultINS_7DecimalIN4wide7integerILm256EiEEEEEET_S8_
Line
Count
Source
65
184
    ResultT result(ResultType multiplier) const {
66
184
        if (!count) {
67
            // null is handled in AggregationNode::_get_without_key_result
68
0
            return static_cast<ResultT>(sum);
69
0
        }
70
        // DecimalV2 has fixed internal scale=9; its arithmetic operators already
71
        // handle scale correctly, so no external multiplier is needed.
72
        if constexpr (T == TYPE_DECIMALV2 && IsDecimalV2<ResultT>) {
73
            DecimalV2Value decimal_val_count(count, 0);
74
            DecimalV2Value cal_ret = sum / decimal_val_count;
75
            return cal_ret;
76
184
        } else {
77
184
            if constexpr (T == TYPE_DECIMAL256) {
78
184
                return static_cast<ResultT>(sum * multiplier /
79
184
                                            typename PrimitiveTypeTraits<T>::CppType(count));
80
            } else {
81
                return static_cast<ResultT>(sum * multiplier) / static_cast<ResultT>(count);
82
            }
83
184
        }
84
184
    }
Unexecuted instantiation: _ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE20EE6resultINS_14DecimalV2ValueEEET_S4_
85
86
    template <typename ResultT>
87
2.84k
    ResultT result() const {
88
2.84k
        if constexpr (std::is_floating_point_v<ResultT>) {
89
2.84k
            if constexpr (std::numeric_limits<ResultT>::is_iec559) {
90
2.84k
                return static_cast<ResultT>(sum) /
91
2.84k
                       static_cast<ResultT>(count); /// allow division by zero
92
2.84k
            }
93
2.84k
        }
94
95
2.84k
        if (!count) {
96
            // null is handled in AggregationNode::_get_without_key_result
97
0
            return static_cast<ResultT>(sum);
98
0
        }
99
2.84k
        return static_cast<ResultT>(sum) / static_cast<ResultT>(count);
100
2.84k
    }
_ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE6EE6resultIdEET_v
Line
Count
Source
87
618
    ResultT result() const {
88
618
        if constexpr (std::is_floating_point_v<ResultT>) {
89
618
            if constexpr (std::numeric_limits<ResultT>::is_iec559) {
90
618
                return static_cast<ResultT>(sum) /
91
618
                       static_cast<ResultT>(count); /// allow division by zero
92
618
            }
93
618
        }
94
95
618
        if (!count) {
96
            // null is handled in AggregationNode::_get_without_key_result
97
0
            return static_cast<ResultT>(sum);
98
0
        }
99
618
        return static_cast<ResultT>(sum) / static_cast<ResultT>(count);
100
618
    }
_ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE7EE6resultIdEET_v
Line
Count
Source
87
697
    ResultT result() const {
88
697
        if constexpr (std::is_floating_point_v<ResultT>) {
89
697
            if constexpr (std::numeric_limits<ResultT>::is_iec559) {
90
697
                return static_cast<ResultT>(sum) /
91
697
                       static_cast<ResultT>(count); /// allow division by zero
92
697
            }
93
697
        }
94
95
697
        if (!count) {
96
            // null is handled in AggregationNode::_get_without_key_result
97
0
            return static_cast<ResultT>(sum);
98
0
        }
99
697
        return static_cast<ResultT>(sum) / static_cast<ResultT>(count);
100
697
    }
_ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE9EE6resultIdEET_v
Line
Count
Source
87
1.53k
    ResultT result() const {
88
1.53k
        if constexpr (std::is_floating_point_v<ResultT>) {
89
1.53k
            if constexpr (std::numeric_limits<ResultT>::is_iec559) {
90
1.53k
                return static_cast<ResultT>(sum) /
91
1.53k
                       static_cast<ResultT>(count); /// allow division by zero
92
1.53k
            }
93
1.53k
        }
94
95
1.53k
        if (!count) {
96
            // null is handled in AggregationNode::_get_without_key_result
97
0
            return static_cast<ResultT>(sum);
98
0
        }
99
1.53k
        return static_cast<ResultT>(sum) / static_cast<ResultT>(count);
100
1.53k
    }
101
102
198
    void write(BufferWritable& buf) const {
103
198
        buf.write_binary(sum);
104
198
        buf.write_binary(count);
105
198
    }
Unexecuted instantiation: _ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE28EE5writeERNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE29EE5writeERNS_14BufferWritableE
_ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE30EE5writeERNS_14BufferWritableE
Line
Count
Source
102
11
    void write(BufferWritable& buf) const {
103
11
        buf.write_binary(sum);
104
11
        buf.write_binary(count);
105
11
    }
_ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE35EE5writeERNS_14BufferWritableE
Line
Count
Source
102
11
    void write(BufferWritable& buf) const {
103
11
        buf.write_binary(sum);
104
11
        buf.write_binary(count);
105
11
    }
_ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE6EE5writeERNS_14BufferWritableE
Line
Count
Source
102
149
    void write(BufferWritable& buf) const {
103
149
        buf.write_binary(sum);
104
149
        buf.write_binary(count);
105
149
    }
_ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE7EE5writeERNS_14BufferWritableE
Line
Count
Source
102
27
    void write(BufferWritable& buf) const {
103
27
        buf.write_binary(sum);
104
27
        buf.write_binary(count);
105
27
    }
Unexecuted instantiation: _ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE9EE5writeERNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE20EE5writeERNS_14BufferWritableE
106
107
216
    void read(BufferReadable& buf) {
108
216
        buf.read_binary(sum);
109
216
        buf.read_binary(count);
110
216
    }
Unexecuted instantiation: _ZN5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE28EE4readERNS_14BufferReadableE
Unexecuted instantiation: _ZN5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE29EE4readERNS_14BufferReadableE
_ZN5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE30EE4readERNS_14BufferReadableE
Line
Count
Source
107
11
    void read(BufferReadable& buf) {
108
11
        buf.read_binary(sum);
109
11
        buf.read_binary(count);
110
11
    }
_ZN5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE35EE4readERNS_14BufferReadableE
Line
Count
Source
107
11
    void read(BufferReadable& buf) {
108
11
        buf.read_binary(sum);
109
11
        buf.read_binary(count);
110
11
    }
_ZN5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE6EE4readERNS_14BufferReadableE
Line
Count
Source
107
155
    void read(BufferReadable& buf) {
108
155
        buf.read_binary(sum);
109
155
        buf.read_binary(count);
110
155
    }
_ZN5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE7EE4readERNS_14BufferReadableE
Line
Count
Source
107
39
    void read(BufferReadable& buf) {
108
39
        buf.read_binary(sum);
109
39
        buf.read_binary(count);
110
39
    }
Unexecuted instantiation: _ZN5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE9EE4readERNS_14BufferReadableE
Unexecuted instantiation: _ZN5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE20EE4readERNS_14BufferReadableE
111
};
112
113
template <PrimitiveType T, PrimitiveType TResult, typename Data>
114
class AggregateFunctionAvg;
115
116
template <PrimitiveType T, PrimitiveType TResult>
117
constexpr static bool is_valid_avg_types =
118
        (is_same_or_wider_decimalv3(T, TResult) || (is_decimalv2(T) && is_decimalv2(TResult)) ||
119
         (is_float_or_double(T) && is_float_or_double(TResult)) ||
120
         (is_int_or_bool(T) && (is_double(TResult) || is_int(TResult))));
121
/// Calculates arithmetic mean of numbers.
122
template <PrimitiveType T, PrimitiveType TResult, typename Data>
123
    requires(is_valid_avg_types<T, TResult>)
124
class AggregateFunctionAvg<T, TResult, Data> final
125
        : public IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>,
126
          UnaryExpression,
127
          NullableAggregateFunction {
128
public:
129
    using ResultType = typename PrimitiveTypeTraits<TResult>::CppType;
130
    using ResultDataType = typename PrimitiveTypeTraits<TResult>::DataType;
131
    using ColVecType = typename PrimitiveTypeTraits<T>::ColumnType;
132
    using ColVecResult = typename PrimitiveTypeTraits<TResult>::ColumnType;
133
    // The result calculated by PercentileApprox is an approximate value,
134
    // so the underlying storage uses float. The following calls will involve
135
    // an implicit cast to float.
136
137
    using DataType = typename Data::ResultType;
138
139
    // consistent with fe/fe-common/src/main/java/org/apache/doris/catalog/ScalarType.java
140
    static constexpr uint32_t DEFAULT_MIN_AVG_DECIMAL128_SCALE = 4;
141
142
    /// ctor for native types
143
    AggregateFunctionAvg(const DataTypes& argument_types_)
144
3.29k
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
3.29k
                      argument_types_),
146
3.29k
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
3.29k
                                    get_decimal_scale(*argument_types_[0]))) {
148
3.29k
        if constexpr (is_decimal(T)) {
149
962
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
150
962
                    output_scale - get_decimal_scale(*argument_types_[0])));
151
962
        }
152
3.29k
    }
Unexecuted instantiation: _ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionAvgDataILS1_28EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Unexecuted instantiation: _ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
144
89
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
89
                      argument_types_),
146
89
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
89
                                    get_decimal_scale(*argument_types_[0]))) {
148
89
        if constexpr (is_decimal(T)) {
149
89
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
150
89
                    output_scale - get_decimal_scale(*argument_types_[0])));
151
89
        }
152
89
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
144
8
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
8
                      argument_types_),
146
8
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
8
                                    get_decimal_scale(*argument_types_[0]))) {
148
8
        if constexpr (is_decimal(T)) {
149
8
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
150
8
                    output_scale - get_decimal_scale(*argument_types_[0])));
151
8
        }
152
8
    }
Unexecuted instantiation: _ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
144
641
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
641
                      argument_types_),
146
641
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
641
                                    get_decimal_scale(*argument_types_[0]))) {
148
641
        if constexpr (is_decimal(T)) {
149
641
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
150
641
                    output_scale - get_decimal_scale(*argument_types_[0])));
151
641
        }
152
641
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
144
9
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
9
                      argument_types_),
146
9
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
9
                                    get_decimal_scale(*argument_types_[0]))) {
148
9
        if constexpr (is_decimal(T)) {
149
9
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
150
9
                    output_scale - get_decimal_scale(*argument_types_[0])));
151
9
        }
152
9
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
144
93
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
93
                      argument_types_),
146
93
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
93
                                    get_decimal_scale(*argument_types_[0]))) {
148
93
        if constexpr (is_decimal(T)) {
149
93
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
150
93
                    output_scale - get_decimal_scale(*argument_types_[0])));
151
93
        }
152
93
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
144
24
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
24
                      argument_types_),
146
24
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
24
                                    get_decimal_scale(*argument_types_[0]))) {
148
24
        if constexpr (is_decimal(T)) {
149
24
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
150
24
                    output_scale - get_decimal_scale(*argument_types_[0])));
151
24
        }
152
24
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
144
98
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
98
                      argument_types_),
146
98
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
98
                                    get_decimal_scale(*argument_types_[0]))) {
148
98
        if constexpr (is_decimal(T)) {
149
98
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
150
98
                    output_scale - get_decimal_scale(*argument_types_[0])));
151
98
        }
152
98
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
144
82
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
82
                      argument_types_),
146
82
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
82
                                    get_decimal_scale(*argument_types_[0]))) {
148
        if constexpr (is_decimal(T)) {
149
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
150
                    output_scale - get_decimal_scale(*argument_types_[0])));
151
        }
152
82
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
144
28
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
28
                      argument_types_),
146
28
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
28
                                    get_decimal_scale(*argument_types_[0]))) {
148
        if constexpr (is_decimal(T)) {
149
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
150
                    output_scale - get_decimal_scale(*argument_types_[0])));
151
        }
152
28
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
144
1.26k
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
1.26k
                      argument_types_),
146
1.26k
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
1.26k
                                    get_decimal_scale(*argument_types_[0]))) {
148
        if constexpr (is_decimal(T)) {
149
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
150
                    output_scale - get_decimal_scale(*argument_types_[0])));
151
        }
152
1.26k
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
144
433
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
433
                      argument_types_),
146
433
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
433
                                    get_decimal_scale(*argument_types_[0]))) {
148
        if constexpr (is_decimal(T)) {
149
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
150
                    output_scale - get_decimal_scale(*argument_types_[0])));
151
        }
152
433
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
144
2
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
2
                      argument_types_),
146
2
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
2
                                    get_decimal_scale(*argument_types_[0]))) {
148
        if constexpr (is_decimal(T)) {
149
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
150
                    output_scale - get_decimal_scale(*argument_types_[0])));
151
        }
152
2
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
144
271
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
271
                      argument_types_),
146
271
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
271
                                    get_decimal_scale(*argument_types_[0]))) {
148
        if constexpr (is_decimal(T)) {
149
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
150
                    output_scale - get_decimal_scale(*argument_types_[0])));
151
        }
152
271
    }
Unexecuted instantiation: _ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
144
50
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
50
                      argument_types_),
146
50
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
50
                                    get_decimal_scale(*argument_types_[0]))) {
148
        if constexpr (is_decimal(T)) {
149
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
150
                    output_scale - get_decimal_scale(*argument_types_[0])));
151
        }
152
50
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
144
38
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
38
                      argument_types_),
146
38
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
38
                                    get_decimal_scale(*argument_types_[0]))) {
148
        if constexpr (is_decimal(T)) {
149
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
150
                    output_scale - get_decimal_scale(*argument_types_[0])));
151
        }
152
38
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
144
46
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
46
                      argument_types_),
146
46
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
46
                                    get_decimal_scale(*argument_types_[0]))) {
148
        if constexpr (is_decimal(T)) {
149
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
150
                    output_scale - get_decimal_scale(*argument_types_[0])));
151
        }
152
46
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
144
38
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
38
                      argument_types_),
146
38
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
38
                                    get_decimal_scale(*argument_types_[0]))) {
148
        if constexpr (is_decimal(T)) {
149
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
150
                    output_scale - get_decimal_scale(*argument_types_[0])));
151
        }
152
38
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
144
38
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
38
                      argument_types_),
146
38
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
38
                                    get_decimal_scale(*argument_types_[0]))) {
148
        if constexpr (is_decimal(T)) {
149
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
150
                    output_scale - get_decimal_scale(*argument_types_[0])));
151
        }
152
38
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
144
42
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
42
                      argument_types_),
146
42
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
42
                                    get_decimal_scale(*argument_types_[0]))) {
148
        if constexpr (is_decimal(T)) {
149
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
150
                    output_scale - get_decimal_scale(*argument_types_[0])));
151
        }
152
42
    }
153
154
405
    String get_name() const override { return "avg"; }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionAvgDataILS1_28EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE8get_nameB5cxx11Ev
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE8get_nameB5cxx11Ev
Line
Count
Source
154
40
    String get_name() const override { return "avg"; }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE8get_nameB5cxx11Ev
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE8get_nameB5cxx11Ev
Line
Count
Source
154
15
    String get_name() const override { return "avg"; }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE8get_nameB5cxx11Ev
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE8get_nameB5cxx11Ev
Line
Count
Source
154
2
    String get_name() const override { return "avg"; }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE8get_nameB5cxx11Ev
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE8get_nameB5cxx11Ev
Line
Count
Source
154
2
    String get_name() const override { return "avg"; }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE8get_nameB5cxx11Ev
Line
Count
Source
154
1
    String get_name() const override { return "avg"; }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE8get_nameB5cxx11Ev
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE8get_nameB5cxx11Ev
Line
Count
Source
154
132
    String get_name() const override { return "avg"; }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE8get_nameB5cxx11Ev
Line
Count
Source
154
183
    String get_name() const override { return "avg"; }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE8get_nameB5cxx11Ev
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE8get_nameB5cxx11Ev
Line
Count
Source
154
30
    String get_name() const override { return "avg"; }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE8get_nameB5cxx11Ev
155
156
9.42k
    DataTypePtr get_return_type() const override {
157
9.42k
        if constexpr (is_decimal(T)) {
158
3.94k
            return std::make_shared<ResultDataType>(
159
3.94k
                    ResultDataType::max_precision(),
160
3.94k
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
5.48k
        } else {
162
5.48k
            return std::make_shared<ResultDataType>();
163
5.48k
        }
164
9.42k
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionAvgDataILS1_28EEEE15get_return_typeEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE15get_return_typeEv
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE15get_return_typeEv
Line
Count
Source
156
408
    DataTypePtr get_return_type() const override {
157
408
        if constexpr (is_decimal(T)) {
158
408
            return std::make_shared<ResultDataType>(
159
408
                    ResultDataType::max_precision(),
160
408
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
        } else {
162
            return std::make_shared<ResultDataType>();
163
        }
164
408
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE15get_return_typeEv
Line
Count
Source
156
18
    DataTypePtr get_return_type() const override {
157
18
        if constexpr (is_decimal(T)) {
158
18
            return std::make_shared<ResultDataType>(
159
18
                    ResultDataType::max_precision(),
160
18
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
        } else {
162
            return std::make_shared<ResultDataType>();
163
        }
164
18
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE15get_return_typeEv
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE15get_return_typeEv
Line
Count
Source
156
2.76k
    DataTypePtr get_return_type() const override {
157
2.76k
        if constexpr (is_decimal(T)) {
158
2.76k
            return std::make_shared<ResultDataType>(
159
2.76k
                    ResultDataType::max_precision(),
160
2.76k
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
        } else {
162
            return std::make_shared<ResultDataType>();
163
        }
164
2.76k
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE15get_return_typeEv
Line
Count
Source
156
20
    DataTypePtr get_return_type() const override {
157
20
        if constexpr (is_decimal(T)) {
158
20
            return std::make_shared<ResultDataType>(
159
20
                    ResultDataType::max_precision(),
160
20
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
        } else {
162
            return std::make_shared<ResultDataType>();
163
        }
164
20
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE15get_return_typeEv
Line
Count
Source
156
307
    DataTypePtr get_return_type() const override {
157
307
        if constexpr (is_decimal(T)) {
158
307
            return std::make_shared<ResultDataType>(
159
307
                    ResultDataType::max_precision(),
160
307
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
        } else {
162
            return std::make_shared<ResultDataType>();
163
        }
164
307
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE15get_return_typeEv
Line
Count
Source
156
116
    DataTypePtr get_return_type() const override {
157
116
        if constexpr (is_decimal(T)) {
158
116
            return std::make_shared<ResultDataType>(
159
116
                    ResultDataType::max_precision(),
160
116
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
        } else {
162
            return std::make_shared<ResultDataType>();
163
        }
164
116
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE15get_return_typeEv
Line
Count
Source
156
310
    DataTypePtr get_return_type() const override {
157
310
        if constexpr (is_decimal(T)) {
158
310
            return std::make_shared<ResultDataType>(
159
310
                    ResultDataType::max_precision(),
160
310
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
        } else {
162
            return std::make_shared<ResultDataType>();
163
        }
164
310
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE15get_return_typeEv
Line
Count
Source
156
294
    DataTypePtr get_return_type() const override {
157
        if constexpr (is_decimal(T)) {
158
            return std::make_shared<ResultDataType>(
159
                    ResultDataType::max_precision(),
160
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
294
        } else {
162
294
            return std::make_shared<ResultDataType>();
163
294
        }
164
294
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE15get_return_typeEv
Line
Count
Source
156
115
    DataTypePtr get_return_type() const override {
157
        if constexpr (is_decimal(T)) {
158
            return std::make_shared<ResultDataType>(
159
                    ResultDataType::max_precision(),
160
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
115
        } else {
162
115
            return std::make_shared<ResultDataType>();
163
115
        }
164
115
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE15get_return_typeEv
Line
Count
Source
156
1.75k
    DataTypePtr get_return_type() const override {
157
        if constexpr (is_decimal(T)) {
158
            return std::make_shared<ResultDataType>(
159
                    ResultDataType::max_precision(),
160
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
1.75k
        } else {
162
1.75k
            return std::make_shared<ResultDataType>();
163
1.75k
        }
164
1.75k
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE15get_return_typeEv
Line
Count
Source
156
1.08k
    DataTypePtr get_return_type() const override {
157
        if constexpr (is_decimal(T)) {
158
            return std::make_shared<ResultDataType>(
159
                    ResultDataType::max_precision(),
160
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
1.08k
        } else {
162
1.08k
            return std::make_shared<ResultDataType>();
163
1.08k
        }
164
1.08k
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE15get_return_typeEv
Line
Count
Source
156
6
    DataTypePtr get_return_type() const override {
157
        if constexpr (is_decimal(T)) {
158
            return std::make_shared<ResultDataType>(
159
                    ResultDataType::max_precision(),
160
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
6
        } else {
162
6
            return std::make_shared<ResultDataType>();
163
6
        }
164
6
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE15get_return_typeEv
Line
Count
Source
156
1.79k
    DataTypePtr get_return_type() const override {
157
        if constexpr (is_decimal(T)) {
158
            return std::make_shared<ResultDataType>(
159
                    ResultDataType::max_precision(),
160
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
1.79k
        } else {
162
1.79k
            return std::make_shared<ResultDataType>();
163
1.79k
        }
164
1.79k
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE15get_return_typeEv
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE15get_return_typeEv
Line
Count
Source
156
84
    DataTypePtr get_return_type() const override {
157
        if constexpr (is_decimal(T)) {
158
            return std::make_shared<ResultDataType>(
159
                    ResultDataType::max_precision(),
160
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
84
        } else {
162
84
            return std::make_shared<ResultDataType>();
163
84
        }
164
84
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE15get_return_typeEv
Line
Count
Source
156
66
    DataTypePtr get_return_type() const override {
157
        if constexpr (is_decimal(T)) {
158
            return std::make_shared<ResultDataType>(
159
                    ResultDataType::max_precision(),
160
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
66
        } else {
162
66
            return std::make_shared<ResultDataType>();
163
66
        }
164
66
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE15get_return_typeEv
Line
Count
Source
156
78
    DataTypePtr get_return_type() const override {
157
        if constexpr (is_decimal(T)) {
158
            return std::make_shared<ResultDataType>(
159
                    ResultDataType::max_precision(),
160
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
78
        } else {
162
78
            return std::make_shared<ResultDataType>();
163
78
        }
164
78
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE15get_return_typeEv
Line
Count
Source
156
66
    DataTypePtr get_return_type() const override {
157
        if constexpr (is_decimal(T)) {
158
            return std::make_shared<ResultDataType>(
159
                    ResultDataType::max_precision(),
160
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
66
        } else {
162
66
            return std::make_shared<ResultDataType>();
163
66
        }
164
66
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE15get_return_typeEv
Line
Count
Source
156
66
    DataTypePtr get_return_type() const override {
157
        if constexpr (is_decimal(T)) {
158
            return std::make_shared<ResultDataType>(
159
                    ResultDataType::max_precision(),
160
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
66
        } else {
162
66
            return std::make_shared<ResultDataType>();
163
66
        }
164
66
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE15get_return_typeEv
Line
Count
Source
156
72
    DataTypePtr get_return_type() const override {
157
        if constexpr (is_decimal(T)) {
158
            return std::make_shared<ResultDataType>(
159
                    ResultDataType::max_precision(),
160
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
72
        } else {
162
72
            return std::make_shared<ResultDataType>();
163
72
        }
164
72
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE15get_return_typeEv
165
166
0
    bool is_trivial() const override { return true; }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionAvgDataILS1_28EEEE10is_trivialEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE10is_trivialEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE10is_trivialEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE10is_trivialEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE10is_trivialEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE10is_trivialEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE10is_trivialEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE10is_trivialEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE10is_trivialEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE10is_trivialEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE10is_trivialEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE10is_trivialEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE10is_trivialEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE10is_trivialEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE10is_trivialEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE10is_trivialEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE10is_trivialEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE10is_trivialEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE10is_trivialEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE10is_trivialEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE10is_trivialEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE10is_trivialEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE10is_trivialEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE10is_trivialEv
167
168
    template <bool is_add>
169
    NO_SANITIZE_UNDEFINED void update_value(AggregateDataPtr __restrict place,
170
113M
                                            const IColumn** columns, ssize_t row_num) const {
171
113M
        ALLOW_FP_REASSOCIATION
172
113M
        const auto& column =
173
113M
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
113M
        if constexpr (is_add) {
175
113M
            if constexpr (T == TYPE_DECIMALV2) {
176
0
                this->data(place).sum += column.get_data()[row_num];
177
111M
            } else if constexpr (is_decimal(T)) {
178
111M
                this->data(place).sum += column.get_data()[row_num].value;
179
111M
            } else {
180
1.79M
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
1.79M
            }
182
113M
            ++this->data(place).count;
183
113M
        } else {
184
132
            if constexpr (T == TYPE_DECIMALV2) {
185
0
                this->data(place).sum += -column.get_data()[row_num];
186
20
            } else if constexpr (is_decimal(T)) {
187
20
                this->data(place).sum -= column.get_data()[row_num].value;
188
112
            } else {
189
112
                this->data(place).sum -= (DataType)column.get_data()[row_num];
190
112
            }
191
132
            --this->data(place).count;
192
132
        }
193
113M
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionAvgDataILS1_28EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionAvgDataILS1_28EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
170
2.19M
                                            const IColumn** columns, ssize_t row_num) const {
171
2.19M
        ALLOW_FP_REASSOCIATION
172
2.19M
        const auto& column =
173
2.19M
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
2.19M
        if constexpr (is_add) {
175
            if constexpr (T == TYPE_DECIMALV2) {
176
                this->data(place).sum += column.get_data()[row_num];
177
2.19M
            } else if constexpr (is_decimal(T)) {
178
2.19M
                this->data(place).sum += column.get_data()[row_num].value;
179
            } else {
180
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
            }
182
2.19M
            ++this->data(place).count;
183
        } else {
184
            if constexpr (T == TYPE_DECIMALV2) {
185
                this->data(place).sum += -column.get_data()[row_num];
186
            } else if constexpr (is_decimal(T)) {
187
                this->data(place).sum -= column.get_data()[row_num].value;
188
            } else {
189
                this->data(place).sum -= (DataType)column.get_data()[row_num];
190
            }
191
            --this->data(place).count;
192
        }
193
2.19M
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
Line
Count
Source
170
20
                                            const IColumn** columns, ssize_t row_num) const {
171
20
        ALLOW_FP_REASSOCIATION
172
20
        const auto& column =
173
20
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
        if constexpr (is_add) {
175
            if constexpr (T == TYPE_DECIMALV2) {
176
                this->data(place).sum += column.get_data()[row_num];
177
            } else if constexpr (is_decimal(T)) {
178
                this->data(place).sum += column.get_data()[row_num].value;
179
            } else {
180
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
            }
182
            ++this->data(place).count;
183
20
        } else {
184
            if constexpr (T == TYPE_DECIMALV2) {
185
                this->data(place).sum += -column.get_data()[row_num];
186
20
            } else if constexpr (is_decimal(T)) {
187
20
                this->data(place).sum -= column.get_data()[row_num].value;
188
            } else {
189
                this->data(place).sum -= (DataType)column.get_data()[row_num];
190
            }
191
20
            --this->data(place).count;
192
20
        }
193
20
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
170
11
                                            const IColumn** columns, ssize_t row_num) const {
171
11
        ALLOW_FP_REASSOCIATION
172
11
        const auto& column =
173
11
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
11
        if constexpr (is_add) {
175
            if constexpr (T == TYPE_DECIMALV2) {
176
                this->data(place).sum += column.get_data()[row_num];
177
11
            } else if constexpr (is_decimal(T)) {
178
11
                this->data(place).sum += column.get_data()[row_num].value;
179
            } else {
180
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
            }
182
11
            ++this->data(place).count;
183
        } else {
184
            if constexpr (T == TYPE_DECIMALV2) {
185
                this->data(place).sum += -column.get_data()[row_num];
186
            } else if constexpr (is_decimal(T)) {
187
                this->data(place).sum -= column.get_data()[row_num].value;
188
            } else {
189
                this->data(place).sum -= (DataType)column.get_data()[row_num];
190
            }
191
            --this->data(place).count;
192
        }
193
11
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
170
109M
                                            const IColumn** columns, ssize_t row_num) const {
171
109M
        ALLOW_FP_REASSOCIATION
172
109M
        const auto& column =
173
109M
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
109M
        if constexpr (is_add) {
175
            if constexpr (T == TYPE_DECIMALV2) {
176
                this->data(place).sum += column.get_data()[row_num];
177
109M
            } else if constexpr (is_decimal(T)) {
178
109M
                this->data(place).sum += column.get_data()[row_num].value;
179
            } else {
180
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
            }
182
109M
            ++this->data(place).count;
183
        } else {
184
            if constexpr (T == TYPE_DECIMALV2) {
185
                this->data(place).sum += -column.get_data()[row_num];
186
            } else if constexpr (is_decimal(T)) {
187
                this->data(place).sum -= column.get_data()[row_num].value;
188
            } else {
189
                this->data(place).sum -= (DataType)column.get_data()[row_num];
190
            }
191
            --this->data(place).count;
192
        }
193
109M
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
170
48
                                            const IColumn** columns, ssize_t row_num) const {
171
48
        ALLOW_FP_REASSOCIATION
172
48
        const auto& column =
173
48
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
48
        if constexpr (is_add) {
175
            if constexpr (T == TYPE_DECIMALV2) {
176
                this->data(place).sum += column.get_data()[row_num];
177
48
            } else if constexpr (is_decimal(T)) {
178
48
                this->data(place).sum += column.get_data()[row_num].value;
179
            } else {
180
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
            }
182
48
            ++this->data(place).count;
183
        } else {
184
            if constexpr (T == TYPE_DECIMALV2) {
185
                this->data(place).sum += -column.get_data()[row_num];
186
            } else if constexpr (is_decimal(T)) {
187
                this->data(place).sum -= column.get_data()[row_num].value;
188
            } else {
189
                this->data(place).sum -= (DataType)column.get_data()[row_num];
190
            }
191
            --this->data(place).count;
192
        }
193
48
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
170
111
                                            const IColumn** columns, ssize_t row_num) const {
171
111
        ALLOW_FP_REASSOCIATION
172
111
        const auto& column =
173
111
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
111
        if constexpr (is_add) {
175
            if constexpr (T == TYPE_DECIMALV2) {
176
                this->data(place).sum += column.get_data()[row_num];
177
111
            } else if constexpr (is_decimal(T)) {
178
111
                this->data(place).sum += column.get_data()[row_num].value;
179
            } else {
180
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
            }
182
111
            ++this->data(place).count;
183
        } else {
184
            if constexpr (T == TYPE_DECIMALV2) {
185
                this->data(place).sum += -column.get_data()[row_num];
186
            } else if constexpr (is_decimal(T)) {
187
                this->data(place).sum -= column.get_data()[row_num].value;
188
            } else {
189
                this->data(place).sum -= (DataType)column.get_data()[row_num];
190
            }
191
            --this->data(place).count;
192
        }
193
111
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
170
233
                                            const IColumn** columns, ssize_t row_num) const {
171
233
        ALLOW_FP_REASSOCIATION
172
233
        const auto& column =
173
233
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
233
        if constexpr (is_add) {
175
            if constexpr (T == TYPE_DECIMALV2) {
176
                this->data(place).sum += column.get_data()[row_num];
177
233
            } else if constexpr (is_decimal(T)) {
178
233
                this->data(place).sum += column.get_data()[row_num].value;
179
            } else {
180
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
            }
182
233
            ++this->data(place).count;
183
        } else {
184
            if constexpr (T == TYPE_DECIMALV2) {
185
                this->data(place).sum += -column.get_data()[row_num];
186
            } else if constexpr (is_decimal(T)) {
187
                this->data(place).sum -= column.get_data()[row_num].value;
188
            } else {
189
                this->data(place).sum -= (DataType)column.get_data()[row_num];
190
            }
191
            --this->data(place).count;
192
        }
193
233
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
170
419
                                            const IColumn** columns, ssize_t row_num) const {
171
419
        ALLOW_FP_REASSOCIATION
172
419
        const auto& column =
173
419
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
419
        if constexpr (is_add) {
175
            if constexpr (T == TYPE_DECIMALV2) {
176
                this->data(place).sum += column.get_data()[row_num];
177
419
            } else if constexpr (is_decimal(T)) {
178
419
                this->data(place).sum += column.get_data()[row_num].value;
179
            } else {
180
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
            }
182
419
            ++this->data(place).count;
183
        } else {
184
            if constexpr (T == TYPE_DECIMALV2) {
185
                this->data(place).sum += -column.get_data()[row_num];
186
            } else if constexpr (is_decimal(T)) {
187
                this->data(place).sum -= column.get_data()[row_num].value;
188
            } else {
189
                this->data(place).sum -= (DataType)column.get_data()[row_num];
190
            }
191
            --this->data(place).count;
192
        }
193
419
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
170
169
                                            const IColumn** columns, ssize_t row_num) const {
171
169
        ALLOW_FP_REASSOCIATION
172
169
        const auto& column =
173
169
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
169
        if constexpr (is_add) {
175
            if constexpr (T == TYPE_DECIMALV2) {
176
                this->data(place).sum += column.get_data()[row_num];
177
            } else if constexpr (is_decimal(T)) {
178
                this->data(place).sum += column.get_data()[row_num].value;
179
169
            } else {
180
169
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
169
            }
182
169
            ++this->data(place).count;
183
        } else {
184
            if constexpr (T == TYPE_DECIMALV2) {
185
                this->data(place).sum += -column.get_data()[row_num];
186
            } else if constexpr (is_decimal(T)) {
187
                this->data(place).sum -= column.get_data()[row_num].value;
188
            } else {
189
                this->data(place).sum -= (DataType)column.get_data()[row_num];
190
            }
191
            --this->data(place).count;
192
        }
193
169
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
170
152
                                            const IColumn** columns, ssize_t row_num) const {
171
152
        ALLOW_FP_REASSOCIATION
172
152
        const auto& column =
173
152
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
152
        if constexpr (is_add) {
175
            if constexpr (T == TYPE_DECIMALV2) {
176
                this->data(place).sum += column.get_data()[row_num];
177
            } else if constexpr (is_decimal(T)) {
178
                this->data(place).sum += column.get_data()[row_num].value;
179
152
            } else {
180
152
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
152
            }
182
152
            ++this->data(place).count;
183
        } else {
184
            if constexpr (T == TYPE_DECIMALV2) {
185
                this->data(place).sum += -column.get_data()[row_num];
186
            } else if constexpr (is_decimal(T)) {
187
                this->data(place).sum -= column.get_data()[row_num].value;
188
            } else {
189
                this->data(place).sum -= (DataType)column.get_data()[row_num];
190
            }
191
            --this->data(place).count;
192
        }
193
152
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
170
10.9k
                                            const IColumn** columns, ssize_t row_num) const {
171
10.9k
        ALLOW_FP_REASSOCIATION
172
10.9k
        const auto& column =
173
10.9k
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
10.9k
        if constexpr (is_add) {
175
            if constexpr (T == TYPE_DECIMALV2) {
176
                this->data(place).sum += column.get_data()[row_num];
177
            } else if constexpr (is_decimal(T)) {
178
                this->data(place).sum += column.get_data()[row_num].value;
179
10.9k
            } else {
180
10.9k
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
10.9k
            }
182
10.9k
            ++this->data(place).count;
183
        } else {
184
            if constexpr (T == TYPE_DECIMALV2) {
185
                this->data(place).sum += -column.get_data()[row_num];
186
            } else if constexpr (is_decimal(T)) {
187
                this->data(place).sum -= column.get_data()[row_num].value;
188
            } else {
189
                this->data(place).sum -= (DataType)column.get_data()[row_num];
190
            }
191
            --this->data(place).count;
192
        }
193
10.9k
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
Line
Count
Source
170
12
                                            const IColumn** columns, ssize_t row_num) const {
171
12
        ALLOW_FP_REASSOCIATION
172
12
        const auto& column =
173
12
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
        if constexpr (is_add) {
175
            if constexpr (T == TYPE_DECIMALV2) {
176
                this->data(place).sum += column.get_data()[row_num];
177
            } else if constexpr (is_decimal(T)) {
178
                this->data(place).sum += column.get_data()[row_num].value;
179
            } else {
180
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
            }
182
            ++this->data(place).count;
183
12
        } else {
184
            if constexpr (T == TYPE_DECIMALV2) {
185
                this->data(place).sum += -column.get_data()[row_num];
186
            } else if constexpr (is_decimal(T)) {
187
                this->data(place).sum -= column.get_data()[row_num].value;
188
12
            } else {
189
12
                this->data(place).sum -= (DataType)column.get_data()[row_num];
190
12
            }
191
12
            --this->data(place).count;
192
12
        }
193
12
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
170
1.35k
                                            const IColumn** columns, ssize_t row_num) const {
171
1.35k
        ALLOW_FP_REASSOCIATION
172
1.35k
        const auto& column =
173
1.35k
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
1.35k
        if constexpr (is_add) {
175
            if constexpr (T == TYPE_DECIMALV2) {
176
                this->data(place).sum += column.get_data()[row_num];
177
            } else if constexpr (is_decimal(T)) {
178
                this->data(place).sum += column.get_data()[row_num].value;
179
1.35k
            } else {
180
1.35k
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
1.35k
            }
182
1.35k
            ++this->data(place).count;
183
        } else {
184
            if constexpr (T == TYPE_DECIMALV2) {
185
                this->data(place).sum += -column.get_data()[row_num];
186
            } else if constexpr (is_decimal(T)) {
187
                this->data(place).sum -= column.get_data()[row_num].value;
188
            } else {
189
                this->data(place).sum -= (DataType)column.get_data()[row_num];
190
            }
191
            --this->data(place).count;
192
        }
193
1.35k
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
Line
Count
Source
170
100
                                            const IColumn** columns, ssize_t row_num) const {
171
100
        ALLOW_FP_REASSOCIATION
172
100
        const auto& column =
173
100
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
        if constexpr (is_add) {
175
            if constexpr (T == TYPE_DECIMALV2) {
176
                this->data(place).sum += column.get_data()[row_num];
177
            } else if constexpr (is_decimal(T)) {
178
                this->data(place).sum += column.get_data()[row_num].value;
179
            } else {
180
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
            }
182
            ++this->data(place).count;
183
100
        } else {
184
            if constexpr (T == TYPE_DECIMALV2) {
185
                this->data(place).sum += -column.get_data()[row_num];
186
            } else if constexpr (is_decimal(T)) {
187
                this->data(place).sum -= column.get_data()[row_num].value;
188
100
            } else {
189
100
                this->data(place).sum -= (DataType)column.get_data()[row_num];
190
100
            }
191
100
            --this->data(place).count;
192
100
        }
193
100
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
170
1
                                            const IColumn** columns, ssize_t row_num) const {
171
1
        ALLOW_FP_REASSOCIATION
172
1
        const auto& column =
173
1
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
1
        if constexpr (is_add) {
175
            if constexpr (T == TYPE_DECIMALV2) {
176
                this->data(place).sum += column.get_data()[row_num];
177
            } else if constexpr (is_decimal(T)) {
178
                this->data(place).sum += column.get_data()[row_num].value;
179
1
            } else {
180
1
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
1
            }
182
1
            ++this->data(place).count;
183
        } else {
184
            if constexpr (T == TYPE_DECIMALV2) {
185
                this->data(place).sum += -column.get_data()[row_num];
186
            } else if constexpr (is_decimal(T)) {
187
                this->data(place).sum -= column.get_data()[row_num].value;
188
            } else {
189
                this->data(place).sum -= (DataType)column.get_data()[row_num];
190
            }
191
            --this->data(place).count;
192
        }
193
1
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
170
1.77M
                                            const IColumn** columns, ssize_t row_num) const {
171
1.77M
        ALLOW_FP_REASSOCIATION
172
1.77M
        const auto& column =
173
1.77M
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
1.77M
        if constexpr (is_add) {
175
            if constexpr (T == TYPE_DECIMALV2) {
176
                this->data(place).sum += column.get_data()[row_num];
177
            } else if constexpr (is_decimal(T)) {
178
                this->data(place).sum += column.get_data()[row_num].value;
179
1.77M
            } else {
180
1.77M
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
1.77M
            }
182
1.77M
            ++this->data(place).count;
183
        } else {
184
            if constexpr (T == TYPE_DECIMALV2) {
185
                this->data(place).sum += -column.get_data()[row_num];
186
            } else if constexpr (is_decimal(T)) {
187
                this->data(place).sum -= column.get_data()[row_num].value;
188
            } else {
189
                this->data(place).sum -= (DataType)column.get_data()[row_num];
190
            }
191
            --this->data(place).count;
192
        }
193
1.77M
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
170
385
                                            const IColumn** columns, ssize_t row_num) const {
171
385
        ALLOW_FP_REASSOCIATION
172
385
        const auto& column =
173
385
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
385
        if constexpr (is_add) {
175
            if constexpr (T == TYPE_DECIMALV2) {
176
                this->data(place).sum += column.get_data()[row_num];
177
            } else if constexpr (is_decimal(T)) {
178
                this->data(place).sum += column.get_data()[row_num].value;
179
385
            } else {
180
385
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
385
            }
182
385
            ++this->data(place).count;
183
        } else {
184
            if constexpr (T == TYPE_DECIMALV2) {
185
                this->data(place).sum += -column.get_data()[row_num];
186
            } else if constexpr (is_decimal(T)) {
187
                this->data(place).sum -= column.get_data()[row_num].value;
188
            } else {
189
                this->data(place).sum -= (DataType)column.get_data()[row_num];
190
            }
191
            --this->data(place).count;
192
        }
193
385
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
170
329
                                            const IColumn** columns, ssize_t row_num) const {
171
329
        ALLOW_FP_REASSOCIATION
172
329
        const auto& column =
173
329
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
329
        if constexpr (is_add) {
175
            if constexpr (T == TYPE_DECIMALV2) {
176
                this->data(place).sum += column.get_data()[row_num];
177
            } else if constexpr (is_decimal(T)) {
178
                this->data(place).sum += column.get_data()[row_num].value;
179
329
            } else {
180
329
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
329
            }
182
329
            ++this->data(place).count;
183
        } else {
184
            if constexpr (T == TYPE_DECIMALV2) {
185
                this->data(place).sum += -column.get_data()[row_num];
186
            } else if constexpr (is_decimal(T)) {
187
                this->data(place).sum -= column.get_data()[row_num].value;
188
            } else {
189
                this->data(place).sum -= (DataType)column.get_data()[row_num];
190
            }
191
            --this->data(place).count;
192
        }
193
329
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
170
327
                                            const IColumn** columns, ssize_t row_num) const {
171
327
        ALLOW_FP_REASSOCIATION
172
327
        const auto& column =
173
327
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
327
        if constexpr (is_add) {
175
            if constexpr (T == TYPE_DECIMALV2) {
176
                this->data(place).sum += column.get_data()[row_num];
177
            } else if constexpr (is_decimal(T)) {
178
                this->data(place).sum += column.get_data()[row_num].value;
179
327
            } else {
180
327
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
327
            }
182
327
            ++this->data(place).count;
183
        } else {
184
            if constexpr (T == TYPE_DECIMALV2) {
185
                this->data(place).sum += -column.get_data()[row_num];
186
            } else if constexpr (is_decimal(T)) {
187
                this->data(place).sum -= column.get_data()[row_num].value;
188
            } else {
189
                this->data(place).sum -= (DataType)column.get_data()[row_num];
190
            }
191
            --this->data(place).count;
192
        }
193
327
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
170
421
                                            const IColumn** columns, ssize_t row_num) const {
171
421
        ALLOW_FP_REASSOCIATION
172
421
        const auto& column =
173
421
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
421
        if constexpr (is_add) {
175
            if constexpr (T == TYPE_DECIMALV2) {
176
                this->data(place).sum += column.get_data()[row_num];
177
            } else if constexpr (is_decimal(T)) {
178
                this->data(place).sum += column.get_data()[row_num].value;
179
421
            } else {
180
421
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
421
            }
182
421
            ++this->data(place).count;
183
        } else {
184
            if constexpr (T == TYPE_DECIMALV2) {
185
                this->data(place).sum += -column.get_data()[row_num];
186
            } else if constexpr (is_decimal(T)) {
187
                this->data(place).sum -= column.get_data()[row_num].value;
188
            } else {
189
                this->data(place).sum -= (DataType)column.get_data()[row_num];
190
            }
191
            --this->data(place).count;
192
        }
193
421
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
170
202
                                            const IColumn** columns, ssize_t row_num) const {
171
202
        ALLOW_FP_REASSOCIATION
172
202
        const auto& column =
173
202
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
202
        if constexpr (is_add) {
175
            if constexpr (T == TYPE_DECIMALV2) {
176
                this->data(place).sum += column.get_data()[row_num];
177
            } else if constexpr (is_decimal(T)) {
178
                this->data(place).sum += column.get_data()[row_num].value;
179
202
            } else {
180
202
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
202
            }
182
202
            ++this->data(place).count;
183
        } else {
184
            if constexpr (T == TYPE_DECIMALV2) {
185
                this->data(place).sum += -column.get_data()[row_num];
186
            } else if constexpr (is_decimal(T)) {
187
                this->data(place).sum -= column.get_data()[row_num].value;
188
            } else {
189
                this->data(place).sum -= (DataType)column.get_data()[row_num];
190
            }
191
            --this->data(place).count;
192
        }
193
202
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
170
315
                                            const IColumn** columns, ssize_t row_num) const {
171
315
        ALLOW_FP_REASSOCIATION
172
315
        const auto& column =
173
315
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
315
        if constexpr (is_add) {
175
            if constexpr (T == TYPE_DECIMALV2) {
176
                this->data(place).sum += column.get_data()[row_num];
177
            } else if constexpr (is_decimal(T)) {
178
                this->data(place).sum += column.get_data()[row_num].value;
179
315
            } else {
180
315
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
315
            }
182
315
            ++this->data(place).count;
183
        } else {
184
            if constexpr (T == TYPE_DECIMALV2) {
185
                this->data(place).sum += -column.get_data()[row_num];
186
            } else if constexpr (is_decimal(T)) {
187
                this->data(place).sum -= column.get_data()[row_num].value;
188
            } else {
189
                this->data(place).sum -= (DataType)column.get_data()[row_num];
190
            }
191
            --this->data(place).count;
192
        }
193
315
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
194
195
    void add(AggregateDataPtr __restrict place, const IColumn** columns, ssize_t row_num,
196
113M
             Arena&) const override {
197
113M
        update_value<true>(place, columns, row_num);
198
113M
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionAvgDataILS1_28EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
196
2.19M
             Arena&) const override {
197
2.19M
        update_value<true>(place, columns, row_num);
198
2.19M
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
196
11
             Arena&) const override {
197
11
        update_value<true>(place, columns, row_num);
198
11
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
196
109M
             Arena&) const override {
197
109M
        update_value<true>(place, columns, row_num);
198
109M
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
196
48
             Arena&) const override {
197
48
        update_value<true>(place, columns, row_num);
198
48
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
196
111
             Arena&) const override {
197
111
        update_value<true>(place, columns, row_num);
198
111
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
196
233
             Arena&) const override {
197
233
        update_value<true>(place, columns, row_num);
198
233
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
196
419
             Arena&) const override {
197
419
        update_value<true>(place, columns, row_num);
198
419
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
196
168
             Arena&) const override {
197
168
        update_value<true>(place, columns, row_num);
198
168
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
196
152
             Arena&) const override {
197
152
        update_value<true>(place, columns, row_num);
198
152
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
196
10.8k
             Arena&) const override {
197
10.8k
        update_value<true>(place, columns, row_num);
198
10.8k
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
196
951
             Arena&) const override {
197
951
        update_value<true>(place, columns, row_num);
198
951
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
196
1
             Arena&) const override {
197
1
        update_value<true>(place, columns, row_num);
198
1
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
196
1.77M
             Arena&) const override {
197
1.77M
        update_value<true>(place, columns, row_num);
198
1.77M
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
196
385
             Arena&) const override {
197
385
        update_value<true>(place, columns, row_num);
198
385
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
196
329
             Arena&) const override {
197
329
        update_value<true>(place, columns, row_num);
198
329
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
196
327
             Arena&) const override {
197
327
        update_value<true>(place, columns, row_num);
198
327
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
196
421
             Arena&) const override {
197
421
        update_value<true>(place, columns, row_num);
198
421
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
196
202
             Arena&) const override {
197
202
        update_value<true>(place, columns, row_num);
198
202
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
196
315
             Arena&) const override {
197
315
        update_value<true>(place, columns, row_num);
198
315
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
199
200
1.02k
    void reset(AggregateDataPtr place) const override {
201
1.02k
        this->data(place).sum = {};
202
1.02k
        this->data(place).count = 0;
203
1.02k
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionAvgDataILS1_28EEEE5resetEPc
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE5resetEPc
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE5resetEPc
Line
Count
Source
200
8
    void reset(AggregateDataPtr place) const override {
201
8
        this->data(place).sum = {};
202
8
        this->data(place).count = 0;
203
8
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE5resetEPc
Line
Count
Source
200
4
    void reset(AggregateDataPtr place) const override {
201
4
        this->data(place).sum = {};
202
4
        this->data(place).count = 0;
203
4
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE5resetEPc
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE5resetEPc
Line
Count
Source
200
63
    void reset(AggregateDataPtr place) const override {
201
63
        this->data(place).sum = {};
202
63
        this->data(place).count = 0;
203
63
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE5resetEPc
Line
Count
Source
200
17
    void reset(AggregateDataPtr place) const override {
201
17
        this->data(place).sum = {};
202
17
        this->data(place).count = 0;
203
17
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE5resetEPc
Line
Count
Source
200
31
    void reset(AggregateDataPtr place) const override {
201
31
        this->data(place).sum = {};
202
31
        this->data(place).count = 0;
203
31
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE5resetEPc
Line
Count
Source
200
20
    void reset(AggregateDataPtr place) const override {
201
20
        this->data(place).sum = {};
202
20
        this->data(place).count = 0;
203
20
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE5resetEPc
Line
Count
Source
200
121
    void reset(AggregateDataPtr place) const override {
201
121
        this->data(place).sum = {};
202
121
        this->data(place).count = 0;
203
121
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE5resetEPc
Line
Count
Source
200
1
    void reset(AggregateDataPtr place) const override {
201
1
        this->data(place).sum = {};
202
1
        this->data(place).count = 0;
203
1
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE5resetEPc
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE5resetEPc
Line
Count
Source
200
144
    void reset(AggregateDataPtr place) const override {
201
144
        this->data(place).sum = {};
202
144
        this->data(place).count = 0;
203
144
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE5resetEPc
Line
Count
Source
200
114
    void reset(AggregateDataPtr place) const override {
201
114
        this->data(place).sum = {};
202
114
        this->data(place).count = 0;
203
114
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE5resetEPc
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5resetEPc
Line
Count
Source
200
87
    void reset(AggregateDataPtr place) const override {
201
87
        this->data(place).sum = {};
202
87
        this->data(place).count = 0;
203
87
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE5resetEPc
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5resetEPc
Line
Count
Source
200
73
    void reset(AggregateDataPtr place) const override {
201
73
        this->data(place).sum = {};
202
73
        this->data(place).count = 0;
203
73
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5resetEPc
Line
Count
Source
200
75
    void reset(AggregateDataPtr place) const override {
201
75
        this->data(place).sum = {};
202
75
        this->data(place).count = 0;
203
75
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5resetEPc
Line
Count
Source
200
76
    void reset(AggregateDataPtr place) const override {
201
76
        this->data(place).sum = {};
202
76
        this->data(place).count = 0;
203
76
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5resetEPc
Line
Count
Source
200
67
    void reset(AggregateDataPtr place) const override {
201
67
        this->data(place).sum = {};
202
67
        this->data(place).count = 0;
203
67
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5resetEPc
Line
Count
Source
200
56
    void reset(AggregateDataPtr place) const override {
201
56
        this->data(place).sum = {};
202
56
        this->data(place).count = 0;
203
56
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5resetEPc
Line
Count
Source
200
68
    void reset(AggregateDataPtr place) const override {
201
68
        this->data(place).sum = {};
202
68
        this->data(place).count = 0;
203
68
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5resetEPc
204
205
    NO_SANITIZE_UNDEFINED void merge(AggregateDataPtr __restrict place, ConstAggregateDataPtr rhs,
206
3.19k
                                     Arena&) const override {
207
3.19k
        if constexpr (T == TYPE_DECIMALV2) {
208
0
            this->data(place).sum += this->data(rhs).sum;
209
1.42k
        } else if constexpr (is_decimal(T)) {
210
1.42k
            this->data(place).sum += this->data(rhs).sum.value;
211
1.77k
        } else {
212
1.77k
            this->data(place).sum += this->data(rhs).sum;
213
1.77k
        }
214
3.19k
        this->data(place).count += this->data(rhs).count;
215
3.19k
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionAvgDataILS1_28EEEE5mergeEPcPKcRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE5mergeEPcPKcRNS_5ArenaE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
206
33
                                     Arena&) const override {
207
        if constexpr (T == TYPE_DECIMALV2) {
208
            this->data(place).sum += this->data(rhs).sum;
209
33
        } else if constexpr (is_decimal(T)) {
210
33
            this->data(place).sum += this->data(rhs).sum.value;
211
        } else {
212
            this->data(place).sum += this->data(rhs).sum;
213
        }
214
33
        this->data(place).count += this->data(rhs).count;
215
33
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE5mergeEPcPKcRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE5mergeEPcPKcRNS_5ArenaE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
206
1.32k
                                     Arena&) const override {
207
        if constexpr (T == TYPE_DECIMALV2) {
208
            this->data(place).sum += this->data(rhs).sum;
209
1.32k
        } else if constexpr (is_decimal(T)) {
210
1.32k
            this->data(place).sum += this->data(rhs).sum.value;
211
        } else {
212
            this->data(place).sum += this->data(rhs).sum;
213
        }
214
1.32k
        this->data(place).count += this->data(rhs).count;
215
1.32k
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE5mergeEPcPKcRNS_5ArenaE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
206
48
                                     Arena&) const override {
207
        if constexpr (T == TYPE_DECIMALV2) {
208
            this->data(place).sum += this->data(rhs).sum;
209
48
        } else if constexpr (is_decimal(T)) {
210
48
            this->data(place).sum += this->data(rhs).sum.value;
211
        } else {
212
            this->data(place).sum += this->data(rhs).sum;
213
        }
214
48
        this->data(place).count += this->data(rhs).count;
215
48
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE5mergeEPcPKcRNS_5ArenaE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
206
16
                                     Arena&) const override {
207
        if constexpr (T == TYPE_DECIMALV2) {
208
            this->data(place).sum += this->data(rhs).sum;
209
16
        } else if constexpr (is_decimal(T)) {
210
16
            this->data(place).sum += this->data(rhs).sum.value;
211
        } else {
212
            this->data(place).sum += this->data(rhs).sum;
213
        }
214
16
        this->data(place).count += this->data(rhs).count;
215
16
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
206
43
                                     Arena&) const override {
207
        if constexpr (T == TYPE_DECIMALV2) {
208
            this->data(place).sum += this->data(rhs).sum;
209
        } else if constexpr (is_decimal(T)) {
210
            this->data(place).sum += this->data(rhs).sum.value;
211
43
        } else {
212
43
            this->data(place).sum += this->data(rhs).sum;
213
43
        }
214
43
        this->data(place).count += this->data(rhs).count;
215
43
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
206
31
                                     Arena&) const override {
207
        if constexpr (T == TYPE_DECIMALV2) {
208
            this->data(place).sum += this->data(rhs).sum;
209
        } else if constexpr (is_decimal(T)) {
210
            this->data(place).sum += this->data(rhs).sum.value;
211
31
        } else {
212
31
            this->data(place).sum += this->data(rhs).sum;
213
31
        }
214
31
        this->data(place).count += this->data(rhs).count;
215
31
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
206
532
                                     Arena&) const override {
207
        if constexpr (T == TYPE_DECIMALV2) {
208
            this->data(place).sum += this->data(rhs).sum;
209
        } else if constexpr (is_decimal(T)) {
210
            this->data(place).sum += this->data(rhs).sum.value;
211
532
        } else {
212
532
            this->data(place).sum += this->data(rhs).sum;
213
532
        }
214
532
        this->data(place).count += this->data(rhs).count;
215
532
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
206
258
                                     Arena&) const override {
207
        if constexpr (T == TYPE_DECIMALV2) {
208
            this->data(place).sum += this->data(rhs).sum;
209
        } else if constexpr (is_decimal(T)) {
210
            this->data(place).sum += this->data(rhs).sum.value;
211
258
        } else {
212
258
            this->data(place).sum += this->data(rhs).sum;
213
258
        }
214
258
        this->data(place).count += this->data(rhs).count;
215
258
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE5mergeEPcPKcRNS_5ArenaE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
206
909
                                     Arena&) const override {
207
        if constexpr (T == TYPE_DECIMALV2) {
208
            this->data(place).sum += this->data(rhs).sum;
209
        } else if constexpr (is_decimal(T)) {
210
            this->data(place).sum += this->data(rhs).sum.value;
211
909
        } else {
212
909
            this->data(place).sum += this->data(rhs).sum;
213
909
        }
214
909
        this->data(place).count += this->data(rhs).count;
215
909
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE5mergeEPcPKcRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5mergeEPcPKcRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5mergeEPcPKcRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5mergeEPcPKcRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5mergeEPcPKcRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5mergeEPcPKcRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5mergeEPcPKcRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5mergeEPcPKcRNS_5ArenaE
216
217
198
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
218
198
        this->data(place).write(buf);
219
198
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionAvgDataILS1_28EEEE9serializeEPKcRNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE9serializeEPKcRNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE9serializeEPKcRNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE9serializeEPKcRNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE9serializeEPKcRNS_14BufferWritableE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
217
3
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
218
3
        this->data(place).write(buf);
219
3
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE9serializeEPKcRNS_14BufferWritableE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
217
8
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
218
8
        this->data(place).write(buf);
219
8
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE9serializeEPKcRNS_14BufferWritableE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
217
11
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
218
11
        this->data(place).write(buf);
219
11
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE9serializeEPKcRNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE9serializeEPKcRNS_14BufferWritableE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
217
149
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
218
149
        this->data(place).write(buf);
219
149
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
217
27
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
218
27
        this->data(place).write(buf);
219
27
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE9serializeEPKcRNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE9serializeEPKcRNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE9serializeEPKcRNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE9serializeEPKcRNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE9serializeEPKcRNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE9serializeEPKcRNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE9serializeEPKcRNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE9serializeEPKcRNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE9serializeEPKcRNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE9serializeEPKcRNS_14BufferWritableE
220
221
    void deserialize(AggregateDataPtr __restrict place, BufferReadable& buf,
222
216
                     Arena&) const override {
223
216
        this->data(place).read(buf);
224
216
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionAvgDataILS1_28EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
222
3
                     Arena&) const override {
223
3
        this->data(place).read(buf);
224
3
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
222
8
                     Arena&) const override {
223
8
        this->data(place).read(buf);
224
8
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
222
11
                     Arena&) const override {
223
11
        this->data(place).read(buf);
224
11
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
222
155
                     Arena&) const override {
223
155
        this->data(place).read(buf);
224
155
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
222
39
                     Arena&) const override {
223
39
        this->data(place).read(buf);
224
39
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
225
226
5.63k
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
227
5.63k
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
228
5.63k
        if constexpr (is_decimal(T)) {
229
2.78k
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
230
2.84k
        } else {
231
2.84k
            column.get_data().push_back(this->data(place).template result<ResultType>());
232
2.84k
        }
233
5.63k
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionAvgDataILS1_28EEEE18insert_result_intoEPKcRNS_7IColumnE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE18insert_result_intoEPKcRNS_7IColumnE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
226
108
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
227
108
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
228
108
        if constexpr (is_decimal(T)) {
229
108
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
230
        } else {
231
            column.get_data().push_back(this->data(place).template result<ResultType>());
232
        }
233
108
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
226
5
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
227
5
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
228
5
        if constexpr (is_decimal(T)) {
229
5
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
230
        } else {
231
            column.get_data().push_back(this->data(place).template result<ResultType>());
232
        }
233
5
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE18insert_result_intoEPKcRNS_7IColumnE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
226
2.44k
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
227
2.44k
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
228
2.44k
        if constexpr (is_decimal(T)) {
229
2.44k
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
230
        } else {
231
            column.get_data().push_back(this->data(place).template result<ResultType>());
232
        }
233
2.44k
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
226
18
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
227
18
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
228
18
        if constexpr (is_decimal(T)) {
229
18
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
230
        } else {
231
            column.get_data().push_back(this->data(place).template result<ResultType>());
232
        }
233
18
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
226
52
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
227
52
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
228
52
        if constexpr (is_decimal(T)) {
229
52
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
230
        } else {
231
            column.get_data().push_back(this->data(place).template result<ResultType>());
232
        }
233
52
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
226
20
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
227
20
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
228
20
        if constexpr (is_decimal(T)) {
229
20
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
230
        } else {
231
            column.get_data().push_back(this->data(place).template result<ResultType>());
232
        }
233
20
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
226
141
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
227
141
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
228
141
        if constexpr (is_decimal(T)) {
229
141
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
230
        } else {
231
            column.get_data().push_back(this->data(place).template result<ResultType>());
232
        }
233
141
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
226
76
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
227
76
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
228
        if constexpr (is_decimal(T)) {
229
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
230
76
        } else {
231
76
            column.get_data().push_back(this->data(place).template result<ResultType>());
232
76
        }
233
76
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
226
52
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
227
52
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
228
        if constexpr (is_decimal(T)) {
229
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
230
52
        } else {
231
52
            column.get_data().push_back(this->data(place).template result<ResultType>());
232
52
        }
233
52
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
226
490
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
227
490
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
228
        if constexpr (is_decimal(T)) {
229
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
230
490
        } else {
231
490
            column.get_data().push_back(this->data(place).template result<ResultType>());
232
490
        }
233
490
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
226
696
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
227
696
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
228
        if constexpr (is_decimal(T)) {
229
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
230
696
        } else {
231
696
            column.get_data().push_back(this->data(place).template result<ResultType>());
232
696
        }
233
696
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
226
1
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
227
1
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
228
        if constexpr (is_decimal(T)) {
229
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
230
1
        } else {
231
1
            column.get_data().push_back(this->data(place).template result<ResultType>());
232
1
        }
233
1
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
226
1.15k
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
227
1.15k
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
228
        if constexpr (is_decimal(T)) {
229
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
230
1.15k
        } else {
231
1.15k
            column.get_data().push_back(this->data(place).template result<ResultType>());
232
1.15k
        }
233
1.15k
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE18insert_result_intoEPKcRNS_7IColumnE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
226
68
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
227
68
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
228
        if constexpr (is_decimal(T)) {
229
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
230
68
        } else {
231
68
            column.get_data().push_back(this->data(place).template result<ResultType>());
232
68
        }
233
68
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
226
66
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
227
66
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
228
        if constexpr (is_decimal(T)) {
229
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
230
66
        } else {
231
66
            column.get_data().push_back(this->data(place).template result<ResultType>());
232
66
        }
233
66
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
226
71
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
227
71
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
228
        if constexpr (is_decimal(T)) {
229
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
230
71
        } else {
231
71
            column.get_data().push_back(this->data(place).template result<ResultType>());
232
71
        }
233
71
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
226
62
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
227
62
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
228
        if constexpr (is_decimal(T)) {
229
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
230
62
        } else {
231
62
            column.get_data().push_back(this->data(place).template result<ResultType>());
232
62
        }
233
62
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
226
51
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
227
51
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
228
        if constexpr (is_decimal(T)) {
229
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
230
51
        } else {
231
51
            column.get_data().push_back(this->data(place).template result<ResultType>());
232
51
        }
233
51
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
226
63
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
227
63
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
228
        if constexpr (is_decimal(T)) {
229
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
230
63
        } else {
231
63
            column.get_data().push_back(this->data(place).template result<ResultType>());
232
63
        }
233
63
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE18insert_result_intoEPKcRNS_7IColumnE
234
235
    void serialize_to_column(const std::vector<AggregateDataPtr>& places, size_t offset,
236
2.31k
                             MutableColumnPtr& dst, const size_t num_rows) const override {
237
2.31k
        auto& col = assert_cast<ColumnFixedLengthObject&>(*dst);
238
2.31k
        col.set_item_size(sizeof(Data));
239
2.31k
        col.resize(num_rows);
240
2.31k
        auto* data = col.get_data().data();
241
5.46k
        for (size_t i = 0; i != num_rows; ++i) {
242
3.14k
            *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) =
243
3.14k
                    *reinterpret_cast<Data*>(places[i] + offset);
244
3.14k
        }
245
2.31k
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionAvgDataILS1_28EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm
Line
Count
Source
236
22
                             MutableColumnPtr& dst, const size_t num_rows) const override {
237
22
        auto& col = assert_cast<ColumnFixedLengthObject&>(*dst);
238
22
        col.set_item_size(sizeof(Data));
239
22
        col.resize(num_rows);
240
22
        auto* data = col.get_data().data();
241
80
        for (size_t i = 0; i != num_rows; ++i) {
242
58
            *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) =
243
58
                    *reinterpret_cast<Data*>(places[i] + offset);
244
58
        }
245
22
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm
Line
Count
Source
236
1.25k
                             MutableColumnPtr& dst, const size_t num_rows) const override {
237
1.25k
        auto& col = assert_cast<ColumnFixedLengthObject&>(*dst);
238
1.25k
        col.set_item_size(sizeof(Data));
239
1.25k
        col.resize(num_rows);
240
1.25k
        auto* data = col.get_data().data();
241
2.56k
        for (size_t i = 0; i != num_rows; ++i) {
242
1.31k
            *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) =
243
1.31k
                    *reinterpret_cast<Data*>(places[i] + offset);
244
1.31k
        }
245
1.25k
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm
Line
Count
Source
236
64
                             MutableColumnPtr& dst, const size_t num_rows) const override {
237
64
        auto& col = assert_cast<ColumnFixedLengthObject&>(*dst);
238
64
        col.set_item_size(sizeof(Data));
239
64
        col.resize(num_rows);
240
64
        auto* data = col.get_data().data();
241
104
        for (size_t i = 0; i != num_rows; ++i) {
242
40
            *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) =
243
40
                    *reinterpret_cast<Data*>(places[i] + offset);
244
40
        }
245
64
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm
Line
Count
Source
236
10
                             MutableColumnPtr& dst, const size_t num_rows) const override {
237
10
        auto& col = assert_cast<ColumnFixedLengthObject&>(*dst);
238
10
        col.set_item_size(sizeof(Data));
239
10
        col.resize(num_rows);
240
10
        auto* data = col.get_data().data();
241
12
        for (size_t i = 0; i != num_rows; ++i) {
242
2
            *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) =
243
2
                    *reinterpret_cast<Data*>(places[i] + offset);
244
2
        }
245
10
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm
Line
Count
Source
236
47
                             MutableColumnPtr& dst, const size_t num_rows) const override {
237
47
        auto& col = assert_cast<ColumnFixedLengthObject&>(*dst);
238
47
        col.set_item_size(sizeof(Data));
239
47
        col.resize(num_rows);
240
47
        auto* data = col.get_data().data();
241
118
        for (size_t i = 0; i != num_rows; ++i) {
242
71
            *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) =
243
71
                    *reinterpret_cast<Data*>(places[i] + offset);
244
71
        }
245
47
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm
Line
Count
Source
236
25
                             MutableColumnPtr& dst, const size_t num_rows) const override {
237
25
        auto& col = assert_cast<ColumnFixedLengthObject&>(*dst);
238
25
        col.set_item_size(sizeof(Data));
239
25
        col.resize(num_rows);
240
25
        auto* data = col.get_data().data();
241
97
        for (size_t i = 0; i != num_rows; ++i) {
242
72
            *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) =
243
72
                    *reinterpret_cast<Data*>(places[i] + offset);
244
72
        }
245
25
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm
Line
Count
Source
236
398
                             MutableColumnPtr& dst, const size_t num_rows) const override {
237
398
        auto& col = assert_cast<ColumnFixedLengthObject&>(*dst);
238
398
        col.set_item_size(sizeof(Data));
239
398
        col.resize(num_rows);
240
398
        auto* data = col.get_data().data();
241
812
        for (size_t i = 0; i != num_rows; ++i) {
242
414
            *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) =
243
414
                    *reinterpret_cast<Data*>(places[i] + offset);
244
414
        }
245
398
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm
Line
Count
Source
236
39
                             MutableColumnPtr& dst, const size_t num_rows) const override {
237
39
        auto& col = assert_cast<ColumnFixedLengthObject&>(*dst);
238
39
        col.set_item_size(sizeof(Data));
239
39
        col.resize(num_rows);
240
39
        auto* data = col.get_data().data();
241
284
        for (size_t i = 0; i != num_rows; ++i) {
242
245
            *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) =
243
245
                    *reinterpret_cast<Data*>(places[i] + offset);
244
245
        }
245
39
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm
Line
Count
Source
236
451
                             MutableColumnPtr& dst, const size_t num_rows) const override {
237
451
        auto& col = assert_cast<ColumnFixedLengthObject&>(*dst);
238
451
        col.set_item_size(sizeof(Data));
239
451
        col.resize(num_rows);
240
451
        auto* data = col.get_data().data();
241
1.38k
        for (size_t i = 0; i != num_rows; ++i) {
242
934
            *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) =
243
934
                    *reinterpret_cast<Data*>(places[i] + offset);
244
934
        }
245
451
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm
246
247
    void streaming_agg_serialize_to_column(const IColumn** columns, MutableColumnPtr& dst,
248
81
                                           const size_t num_rows, Arena&) const override {
249
81
        auto* src_data = assert_cast<const ColVecType&>(*columns[0]).get_data().data();
250
81
        auto& dst_col = assert_cast<ColumnFixedLengthObject&>(*dst);
251
81
        dst_col.set_item_size(sizeof(Data));
252
81
        dst_col.resize(num_rows);
253
81
        auto* data = dst_col.get_data().data();
254
8.36k
        for (size_t i = 0; i != num_rows; ++i) {
255
8.28k
            auto& state = *reinterpret_cast<Data*>(&data[sizeof(Data) * i]);
256
8.28k
            state.sum = typename Data::ResultType(src_data[i]);
257
8.28k
            state.count = 1;
258
8.28k
        }
259
81
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionAvgDataILS1_28EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE
Line
Count
Source
248
1
                                           const size_t num_rows, Arena&) const override {
249
1
        auto* src_data = assert_cast<const ColVecType&>(*columns[0]).get_data().data();
250
1
        auto& dst_col = assert_cast<ColumnFixedLengthObject&>(*dst);
251
1
        dst_col.set_item_size(sizeof(Data));
252
1
        dst_col.resize(num_rows);
253
1
        auto* data = dst_col.get_data().data();
254
2
        for (size_t i = 0; i != num_rows; ++i) {
255
1
            auto& state = *reinterpret_cast<Data*>(&data[sizeof(Data) * i]);
256
1
            state.sum = typename Data::ResultType(src_data[i]);
257
1
            state.count = 1;
258
1
        }
259
1
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE
Line
Count
Source
248
79
                                           const size_t num_rows, Arena&) const override {
249
79
        auto* src_data = assert_cast<const ColVecType&>(*columns[0]).get_data().data();
250
79
        auto& dst_col = assert_cast<ColumnFixedLengthObject&>(*dst);
251
79
        dst_col.set_item_size(sizeof(Data));
252
79
        dst_col.resize(num_rows);
253
79
        auto* data = dst_col.get_data().data();
254
8.35k
        for (size_t i = 0; i != num_rows; ++i) {
255
8.27k
            auto& state = *reinterpret_cast<Data*>(&data[sizeof(Data) * i]);
256
8.27k
            state.sum = typename Data::ResultType(src_data[i]);
257
8.27k
            state.count = 1;
258
8.27k
        }
259
79
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE
Line
Count
Source
248
1
                                           const size_t num_rows, Arena&) const override {
249
1
        auto* src_data = assert_cast<const ColVecType&>(*columns[0]).get_data().data();
250
1
        auto& dst_col = assert_cast<ColumnFixedLengthObject&>(*dst);
251
1
        dst_col.set_item_size(sizeof(Data));
252
1
        dst_col.resize(num_rows);
253
1
        auto* data = dst_col.get_data().data();
254
4
        for (size_t i = 0; i != num_rows; ++i) {
255
3
            auto& state = *reinterpret_cast<Data*>(&data[sizeof(Data) * i]);
256
3
            state.sum = typename Data::ResultType(src_data[i]);
257
3
            state.count = 1;
258
3
        }
259
1
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE
260
261
    NO_SANITIZE_UNDEFINED void deserialize_and_merge_from_column_range(
262
            AggregateDataPtr __restrict place, const IColumn& column, size_t begin, size_t end,
263
8.66k
            Arena&) const override {
264
8.66k
        ALLOW_FP_REASSOCIATION
265
18.4E
        DCHECK(end <= column.size() && begin <= end)
266
18.4E
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
8.66k
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
8.66k
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
17.4k
        for (size_t i = begin; i <= end; ++i) {
270
8.76k
            this->data(place).sum += data[i].sum;
271
8.76k
            this->data(place).count += data[i].count;
272
8.76k
        }
273
8.66k
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionAvgDataILS1_28EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
263
119
            Arena&) const override {
264
119
        ALLOW_FP_REASSOCIATION
265
119
        DCHECK(end <= column.size() && begin <= end)
266
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
119
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
119
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
246
        for (size_t i = begin; i <= end; ++i) {
270
127
            this->data(place).sum += data[i].sum;
271
127
            this->data(place).count += data[i].count;
272
127
        }
273
119
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
263
1
            Arena&) const override {
264
1
        ALLOW_FP_REASSOCIATION
265
1
        DCHECK(end <= column.size() && begin <= end)
266
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
1
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
1
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
2
        for (size_t i = begin; i <= end; ++i) {
270
1
            this->data(place).sum += data[i].sum;
271
1
            this->data(place).count += data[i].count;
272
1
        }
273
1
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
263
183
            Arena&) const override {
264
183
        ALLOW_FP_REASSOCIATION
265
183
        DCHECK(end <= column.size() && begin <= end)
266
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
183
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
183
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
366
        for (size_t i = begin; i <= end; ++i) {
270
183
            this->data(place).sum += data[i].sum;
271
183
            this->data(place).count += data[i].count;
272
183
        }
273
183
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
263
1
            Arena&) const override {
264
1
        ALLOW_FP_REASSOCIATION
265
1
        DCHECK(end <= column.size() && begin <= end)
266
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
1
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
1
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
2
        for (size_t i = begin; i <= end; ++i) {
270
1
            this->data(place).sum += data[i].sum;
271
1
            this->data(place).count += data[i].count;
272
1
        }
273
1
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
263
7
            Arena&) const override {
264
7
        ALLOW_FP_REASSOCIATION
265
7
        DCHECK(end <= column.size() && begin <= end)
266
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
7
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
7
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
14
        for (size_t i = begin; i <= end; ++i) {
270
7
            this->data(place).sum += data[i].sum;
271
7
            this->data(place).count += data[i].count;
272
7
        }
273
7
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
263
7
            Arena&) const override {
264
7
        ALLOW_FP_REASSOCIATION
265
7
        DCHECK(end <= column.size() && begin <= end)
266
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
7
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
7
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
14
        for (size_t i = begin; i <= end; ++i) {
270
7
            this->data(place).sum += data[i].sum;
271
7
            this->data(place).count += data[i].count;
272
7
        }
273
7
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
263
51
            Arena&) const override {
264
51
        ALLOW_FP_REASSOCIATION
265
51
        DCHECK(end <= column.size() && begin <= end)
266
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
51
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
51
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
110
        for (size_t i = begin; i <= end; ++i) {
270
59
            this->data(place).sum += data[i].sum;
271
59
            this->data(place).count += data[i].count;
272
59
        }
273
51
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
263
52
            Arena&) const override {
264
52
        ALLOW_FP_REASSOCIATION
265
52
        DCHECK(end <= column.size() && begin <= end)
266
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
52
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
52
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
112
        for (size_t i = begin; i <= end; ++i) {
270
60
            this->data(place).sum += data[i].sum;
271
60
            this->data(place).count += data[i].count;
272
60
        }
273
52
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
263
8.14k
            Arena&) const override {
264
8.14k
        ALLOW_FP_REASSOCIATION
265
18.4E
        DCHECK(end <= column.size() && begin <= end)
266
18.4E
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
8.14k
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
8.14k
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
16.3k
        for (size_t i = begin; i <= end; ++i) {
270
8.19k
            this->data(place).sum += data[i].sum;
271
8.19k
            this->data(place).count += data[i].count;
272
8.19k
        }
273
8.14k
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
263
46
            Arena&) const override {
264
46
        ALLOW_FP_REASSOCIATION
265
46
        DCHECK(end <= column.size() && begin <= end)
266
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
46
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
46
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
102
        for (size_t i = begin; i <= end; ++i) {
270
56
            this->data(place).sum += data[i].sum;
271
56
            this->data(place).count += data[i].count;
272
56
        }
273
46
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
263
1
            Arena&) const override {
264
1
        ALLOW_FP_REASSOCIATION
265
1
        DCHECK(end <= column.size() && begin <= end)
266
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
1
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
1
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
2
        for (size_t i = begin; i <= end; ++i) {
270
1
            this->data(place).sum += data[i].sum;
271
1
            this->data(place).count += data[i].count;
272
1
        }
273
1
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
263
58
            Arena&) const override {
264
58
        ALLOW_FP_REASSOCIATION
265
58
        DCHECK(end <= column.size() && begin <= end)
266
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
58
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
58
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
124
        for (size_t i = begin; i <= end; ++i) {
270
66
            this->data(place).sum += data[i].sum;
271
66
            this->data(place).count += data[i].count;
272
66
        }
273
58
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
274
275
    void deserialize_and_merge_vec(const AggregateDataPtr* places, size_t offset,
276
                                   AggregateDataPtr rhs, const IColumn* column, Arena& arena,
277
1.03k
                                   const size_t num_rows) const override {
278
1.03k
        const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column);
279
1.03k
        const auto* data = col.get_data().data();
280
1.03k
        this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows);
281
1.03k
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionAvgDataILS1_28EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
277
13
                                   const size_t num_rows) const override {
278
13
        const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column);
279
13
        const auto* data = col.get_data().data();
280
13
        this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows);
281
13
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
277
393
                                   const size_t num_rows) const override {
278
393
        const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column);
279
393
        const auto* data = col.get_data().data();
280
393
        this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows);
281
393
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
277
34
                                   const size_t num_rows) const override {
278
34
        const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column);
279
34
        const auto* data = col.get_data().data();
280
34
        this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows);
281
34
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
277
2
                                   const size_t num_rows) const override {
278
2
        const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column);
279
2
        const auto* data = col.get_data().data();
280
2
        this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows);
281
2
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
277
24
                                   const size_t num_rows) const override {
278
24
        const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column);
279
24
        const auto* data = col.get_data().data();
280
24
        this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows);
281
24
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
277
12
                                   const size_t num_rows) const override {
278
12
        const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column);
279
12
        const auto* data = col.get_data().data();
280
12
        this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows);
281
12
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
277
152
                                   const size_t num_rows) const override {
278
152
        const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column);
279
152
        const auto* data = col.get_data().data();
280
152
        this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows);
281
152
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
277
62
                                   const size_t num_rows) const override {
278
62
        const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column);
279
62
        const auto* data = col.get_data().data();
280
62
        this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows);
281
62
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
277
339
                                   const size_t num_rows) const override {
278
339
        const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column);
279
339
        const auto* data = col.get_data().data();
280
339
        this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows);
281
339
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
282
283
    void deserialize_and_merge_vec_selected(const AggregateDataPtr* places, size_t offset,
284
                                            AggregateDataPtr rhs, const IColumn* column,
285
1
                                            Arena& arena, const size_t num_rows) const override {
286
1
        const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column);
287
1
        const auto* data = col.get_data().data();
288
1
        this->merge_vec_selected(places, offset, AggregateDataPtr(data), arena, num_rows);
289
1
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionAvgDataILS1_28EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
285
1
                                            Arena& arena, const size_t num_rows) const override {
286
1
        const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column);
287
1
        const auto* data = col.get_data().data();
288
1
        this->merge_vec_selected(places, offset, AggregateDataPtr(data), arena, num_rows);
289
1
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
290
291
    void serialize_without_key_to_column(ConstAggregateDataPtr __restrict place,
292
555
                                         IColumn& to) const override {
293
555
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
555
        col.set_item_size(sizeof(Data));
295
555
        size_t old_size = col.size();
296
555
        col.resize(old_size + 1);
297
555
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
555
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionAvgDataILS1_28EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
292
103
                                         IColumn& to) const override {
293
103
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
103
        col.set_item_size(sizeof(Data));
295
103
        size_t old_size = col.size();
296
103
        col.resize(old_size + 1);
297
103
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
103
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
292
1
                                         IColumn& to) const override {
293
1
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
1
        col.set_item_size(sizeof(Data));
295
1
        size_t old_size = col.size();
296
1
        col.resize(old_size + 1);
297
1
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
1
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
292
182
                                         IColumn& to) const override {
293
182
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
182
        col.set_item_size(sizeof(Data));
295
182
        size_t old_size = col.size();
296
182
        col.resize(old_size + 1);
297
182
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
182
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
292
1
                                         IColumn& to) const override {
293
1
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
1
        col.set_item_size(sizeof(Data));
295
1
        size_t old_size = col.size();
296
1
        col.resize(old_size + 1);
297
1
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
1
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
292
7
                                         IColumn& to) const override {
293
7
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
7
        col.set_item_size(sizeof(Data));
295
7
        size_t old_size = col.size();
296
7
        col.resize(old_size + 1);
297
7
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
7
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
292
7
                                         IColumn& to) const override {
293
7
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
7
        col.set_item_size(sizeof(Data));
295
7
        size_t old_size = col.size();
296
7
        col.resize(old_size + 1);
297
7
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
7
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
292
32
                                         IColumn& to) const override {
293
32
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
32
        col.set_item_size(sizeof(Data));
295
32
        size_t old_size = col.size();
296
32
        col.resize(old_size + 1);
297
32
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
32
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
292
21
                                         IColumn& to) const override {
293
21
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
21
        col.set_item_size(sizeof(Data));
295
21
        size_t old_size = col.size();
296
21
        col.resize(old_size + 1);
297
21
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
21
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
292
129
                                         IColumn& to) const override {
293
129
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
129
        col.set_item_size(sizeof(Data));
295
129
        size_t old_size = col.size();
296
129
        col.resize(old_size + 1);
297
129
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
129
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
292
29
                                         IColumn& to) const override {
293
29
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
29
        col.set_item_size(sizeof(Data));
295
29
        size_t old_size = col.size();
296
29
        col.resize(old_size + 1);
297
29
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
29
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
292
1
                                         IColumn& to) const override {
293
1
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
1
        col.set_item_size(sizeof(Data));
295
1
        size_t old_size = col.size();
296
1
        col.resize(old_size + 1);
297
1
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
1
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
292
42
                                         IColumn& to) const override {
293
42
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
42
        col.set_item_size(sizeof(Data));
295
42
        size_t old_size = col.size();
296
42
        col.resize(old_size + 1);
297
42
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
42
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
299
300
3.30k
    MutableColumnPtr create_serialize_column() const override {
301
3.30k
        return ColumnFixedLengthObject::create(sizeof(Data));
302
3.30k
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionAvgDataILS1_28EEEE23create_serialize_columnEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE23create_serialize_columnEv
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE23create_serialize_columnEv
Line
Count
Source
300
125
    MutableColumnPtr create_serialize_column() const override {
301
125
        return ColumnFixedLengthObject::create(sizeof(Data));
302
125
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE23create_serialize_columnEv
Line
Count
Source
300
1
    MutableColumnPtr create_serialize_column() const override {
301
1
        return ColumnFixedLengthObject::create(sizeof(Data));
302
1
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE23create_serialize_columnEv
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE23create_serialize_columnEv
Line
Count
Source
300
1.43k
    MutableColumnPtr create_serialize_column() const override {
301
1.43k
        return ColumnFixedLengthObject::create(sizeof(Data));
302
1.43k
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE23create_serialize_columnEv
Line
Count
Source
300
1
    MutableColumnPtr create_serialize_column() const override {
301
1
        return ColumnFixedLengthObject::create(sizeof(Data));
302
1
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE23create_serialize_columnEv
Line
Count
Source
300
64
    MutableColumnPtr create_serialize_column() const override {
301
64
        return ColumnFixedLengthObject::create(sizeof(Data));
302
64
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE23create_serialize_columnEv
Line
Count
Source
300
7
    MutableColumnPtr create_serialize_column() const override {
301
7
        return ColumnFixedLengthObject::create(sizeof(Data));
302
7
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE23create_serialize_columnEv
Line
Count
Source
300
17
    MutableColumnPtr create_serialize_column() const override {
301
17
        return ColumnFixedLengthObject::create(sizeof(Data));
302
17
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE23create_serialize_columnEv
Line
Count
Source
300
84
    MutableColumnPtr create_serialize_column() const override {
301
84
        return ColumnFixedLengthObject::create(sizeof(Data));
302
84
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE23create_serialize_columnEv
Line
Count
Source
300
48
    MutableColumnPtr create_serialize_column() const override {
301
48
        return ColumnFixedLengthObject::create(sizeof(Data));
302
48
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE23create_serialize_columnEv
Line
Count
Source
300
963
    MutableColumnPtr create_serialize_column() const override {
301
963
        return ColumnFixedLengthObject::create(sizeof(Data));
302
963
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE23create_serialize_columnEv
Line
Count
Source
300
69
    MutableColumnPtr create_serialize_column() const override {
301
69
        return ColumnFixedLengthObject::create(sizeof(Data));
302
69
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE23create_serialize_columnEv
Line
Count
Source
300
1
    MutableColumnPtr create_serialize_column() const override {
301
1
        return ColumnFixedLengthObject::create(sizeof(Data));
302
1
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE23create_serialize_columnEv
Line
Count
Source
300
490
    MutableColumnPtr create_serialize_column() const override {
301
490
        return ColumnFixedLengthObject::create(sizeof(Data));
302
490
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE23create_serialize_columnEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE23create_serialize_columnEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE23create_serialize_columnEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE23create_serialize_columnEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE23create_serialize_columnEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE23create_serialize_columnEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE23create_serialize_columnEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE23create_serialize_columnEv
303
304
3.52k
    DataTypePtr get_serialized_type() const override {
305
3.52k
        return std::make_shared<DataTypeFixedLengthObject>();
306
3.52k
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionAvgDataILS1_28EEEE19get_serialized_typeEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE19get_serialized_typeEv
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE19get_serialized_typeEv
Line
Count
Source
304
125
    DataTypePtr get_serialized_type() const override {
305
125
        return std::make_shared<DataTypeFixedLengthObject>();
306
125
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE19get_serialized_typeEv
Line
Count
Source
304
1
    DataTypePtr get_serialized_type() const override {
305
1
        return std::make_shared<DataTypeFixedLengthObject>();
306
1
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE19get_serialized_typeEv
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE19get_serialized_typeEv
Line
Count
Source
304
1.43k
    DataTypePtr get_serialized_type() const override {
305
1.43k
        return std::make_shared<DataTypeFixedLengthObject>();
306
1.43k
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE19get_serialized_typeEv
Line
Count
Source
304
1
    DataTypePtr get_serialized_type() const override {
305
1
        return std::make_shared<DataTypeFixedLengthObject>();
306
1
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE19get_serialized_typeEv
Line
Count
Source
304
64
    DataTypePtr get_serialized_type() const override {
305
64
        return std::make_shared<DataTypeFixedLengthObject>();
306
64
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE19get_serialized_typeEv
Line
Count
Source
304
7
    DataTypePtr get_serialized_type() const override {
305
7
        return std::make_shared<DataTypeFixedLengthObject>();
306
7
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE19get_serialized_typeEv
Line
Count
Source
304
17
    DataTypePtr get_serialized_type() const override {
305
17
        return std::make_shared<DataTypeFixedLengthObject>();
306
17
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE19get_serialized_typeEv
Line
Count
Source
304
84
    DataTypePtr get_serialized_type() const override {
305
84
        return std::make_shared<DataTypeFixedLengthObject>();
306
84
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE19get_serialized_typeEv
Line
Count
Source
304
48
    DataTypePtr get_serialized_type() const override {
305
48
        return std::make_shared<DataTypeFixedLengthObject>();
306
48
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE19get_serialized_typeEv
Line
Count
Source
304
1.18k
    DataTypePtr get_serialized_type() const override {
305
1.18k
        return std::make_shared<DataTypeFixedLengthObject>();
306
1.18k
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE19get_serialized_typeEv
Line
Count
Source
304
64
    DataTypePtr get_serialized_type() const override {
305
64
        return std::make_shared<DataTypeFixedLengthObject>();
306
64
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE19get_serialized_typeEv
Line
Count
Source
304
1
    DataTypePtr get_serialized_type() const override {
305
1
        return std::make_shared<DataTypeFixedLengthObject>();
306
1
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE19get_serialized_typeEv
Line
Count
Source
304
491
    DataTypePtr get_serialized_type() const override {
305
491
        return std::make_shared<DataTypeFixedLengthObject>();
306
491
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE19get_serialized_typeEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE19get_serialized_typeEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE19get_serialized_typeEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE19get_serialized_typeEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE19get_serialized_typeEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE19get_serialized_typeEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE19get_serialized_typeEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE19get_serialized_typeEv
307
308
284
    bool supported_incremental_mode() const override { return true; }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionAvgDataILS1_28EEEE26supported_incremental_modeEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE26supported_incremental_modeEv
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE26supported_incremental_modeEv
Line
Count
Source
308
40
    bool supported_incremental_mode() const override { return true; }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE26supported_incremental_modeEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE26supported_incremental_modeEv
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE26supported_incremental_modeEv
Line
Count
Source
308
15
    bool supported_incremental_mode() const override { return true; }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE26supported_incremental_modeEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE26supported_incremental_modeEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE26supported_incremental_modeEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE26supported_incremental_modeEv
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE26supported_incremental_modeEv
Line
Count
Source
308
1
    bool supported_incremental_mode() const override { return true; }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE26supported_incremental_modeEv
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE26supported_incremental_modeEv
Line
Count
Source
308
53
    bool supported_incremental_mode() const override { return true; }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE26supported_incremental_modeEv
Line
Count
Source
308
145
    bool supported_incremental_mode() const override { return true; }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE26supported_incremental_modeEv
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE26supported_incremental_modeEv
Line
Count
Source
308
30
    bool supported_incremental_mode() const override { return true; }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE26supported_incremental_modeEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE26supported_incremental_modeEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE26supported_incremental_modeEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE26supported_incremental_modeEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE26supported_incremental_modeEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE26supported_incremental_modeEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE26supported_incremental_modeEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE26supported_incremental_modeEv
309
310
    void execute_function_with_incremental(int64_t partition_start, int64_t partition_end,
311
                                           int64_t frame_start, int64_t frame_end,
312
                                           AggregateDataPtr place, const IColumn** columns,
313
                                           Arena& arena, bool previous_is_nul, bool end_is_nul,
314
                                           bool has_null, UInt8* use_null_result,
315
200
                                           UInt8* could_use_previous_result) const override {
316
200
        int64_t current_frame_start = std::max<int64_t>(frame_start, partition_start);
317
200
        int64_t current_frame_end = std::min<int64_t>(frame_end, partition_end);
318
200
        if (current_frame_start >= current_frame_end) {
319
0
            *use_null_result = true;
320
0
            return;
321
0
        }
322
200
        if (*could_use_previous_result) {
323
180
            auto outcoming_pos = frame_start - 1;
324
180
            auto incoming_pos = frame_end - 1;
325
180
            if (!previous_is_nul && outcoming_pos >= partition_start &&
326
180
                outcoming_pos < partition_end) {
327
132
                update_value<false>(place, columns, outcoming_pos);
328
132
            }
329
180
            if (!end_is_nul && incoming_pos >= partition_start && incoming_pos < partition_end) {
330
142
                update_value<true>(place, columns, incoming_pos);
331
142
            }
332
180
        } else {
333
20
            this->add_range_single_place(partition_start, partition_end, frame_start, frame_end,
334
20
                                         place, columns, arena, use_null_result,
335
20
                                         could_use_previous_result);
336
20
        }
337
200
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionAvgDataILS1_28EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Line
Count
Source
315
24
                                           UInt8* could_use_previous_result) const override {
316
24
        int64_t current_frame_start = std::max<int64_t>(frame_start, partition_start);
317
24
        int64_t current_frame_end = std::min<int64_t>(frame_end, partition_end);
318
24
        if (current_frame_start >= current_frame_end) {
319
0
            *use_null_result = true;
320
0
            return;
321
0
        }
322
24
        if (*could_use_previous_result) {
323
24
            auto outcoming_pos = frame_start - 1;
324
24
            auto incoming_pos = frame_end - 1;
325
24
            if (!previous_is_nul && outcoming_pos >= partition_start &&
326
24
                outcoming_pos < partition_end) {
327
20
                update_value<false>(place, columns, outcoming_pos);
328
20
            }
329
24
            if (!end_is_nul && incoming_pos >= partition_start && incoming_pos < partition_end) {
330
20
                update_value<true>(place, columns, incoming_pos);
331
20
            }
332
24
        } else {
333
0
            this->add_range_single_place(partition_start, partition_end, frame_start, frame_end,
334
0
                                         place, columns, arena, use_null_result,
335
0
                                         could_use_previous_result);
336
0
        }
337
24
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Line
Count
Source
315
15
                                           UInt8* could_use_previous_result) const override {
316
15
        int64_t current_frame_start = std::max<int64_t>(frame_start, partition_start);
317
15
        int64_t current_frame_end = std::min<int64_t>(frame_end, partition_end);
318
15
        if (current_frame_start >= current_frame_end) {
319
0
            *use_null_result = true;
320
0
            return;
321
0
        }
322
15
        if (*could_use_previous_result) {
323
15
            auto outcoming_pos = frame_start - 1;
324
15
            auto incoming_pos = frame_end - 1;
325
15
            if (!previous_is_nul && outcoming_pos >= partition_start &&
326
15
                outcoming_pos < partition_end) {
327
12
                update_value<false>(place, columns, outcoming_pos);
328
12
            }
329
15
            if (!end_is_nul && incoming_pos >= partition_start && incoming_pos < partition_end) {
330
13
                update_value<true>(place, columns, incoming_pos);
331
13
            }
332
15
        } else {
333
0
            this->add_range_single_place(partition_start, partition_end, frame_start, frame_end,
334
0
                                         place, columns, arena, use_null_result,
335
0
                                         could_use_previous_result);
336
0
        }
337
15
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Line
Count
Source
315
161
                                           UInt8* could_use_previous_result) const override {
316
161
        int64_t current_frame_start = std::max<int64_t>(frame_start, partition_start);
317
161
        int64_t current_frame_end = std::min<int64_t>(frame_end, partition_end);
318
161
        if (current_frame_start >= current_frame_end) {
319
0
            *use_null_result = true;
320
0
            return;
321
0
        }
322
161
        if (*could_use_previous_result) {
323
141
            auto outcoming_pos = frame_start - 1;
324
141
            auto incoming_pos = frame_end - 1;
325
141
            if (!previous_is_nul && outcoming_pos >= partition_start &&
326
141
                outcoming_pos < partition_end) {
327
100
                update_value<false>(place, columns, outcoming_pos);
328
100
            }
329
141
            if (!end_is_nul && incoming_pos >= partition_start && incoming_pos < partition_end) {
330
109
                update_value<true>(place, columns, incoming_pos);
331
109
            }
332
141
        } else {
333
20
            this->add_range_single_place(partition_start, partition_end, frame_start, frame_end,
334
20
                                         place, columns, arena, use_null_result,
335
20
                                         could_use_previous_result);
336
20
        }
337
161
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
338
339
    void add_range_single_place(int64_t partition_start, int64_t partition_end, int64_t frame_start,
340
                                int64_t frame_end, AggregateDataPtr place, const IColumn** columns,
341
                                Arena& arena, UInt8* use_null_result,
342
524
                                UInt8* could_use_previous_result) const override {
343
524
        auto current_frame_start = std::max<int64_t>(frame_start, partition_start);
344
524
        auto current_frame_end = std::min<int64_t>(frame_end, partition_end);
345
524
        if (current_frame_start >= current_frame_end) {
346
20
            if (!*could_use_previous_result) {
347
0
                *use_null_result = true;
348
0
            }
349
504
        } else {
350
2.77k
            for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) {
351
2.26k
                update_value<true>(place, columns, row_num);
352
2.26k
            }
353
504
            *use_null_result = false;
354
504
            *could_use_previous_result = true;
355
504
        }
356
524
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionAvgDataILS1_28EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
Line
Count
Source
342
4
                                UInt8* could_use_previous_result) const override {
343
4
        auto current_frame_start = std::max<int64_t>(frame_start, partition_start);
344
4
        auto current_frame_end = std::min<int64_t>(frame_end, partition_end);
345
4
        if (current_frame_start >= current_frame_end) {
346
0
            if (!*could_use_previous_result) {
347
0
                *use_null_result = true;
348
0
            }
349
4
        } else {
350
12
            for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) {
351
8
                update_value<true>(place, columns, row_num);
352
8
            }
353
4
            *use_null_result = false;
354
4
            *could_use_previous_result = true;
355
4
        }
356
4
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
Line
Count
Source
342
77
                                UInt8* could_use_previous_result) const override {
343
77
        auto current_frame_start = std::max<int64_t>(frame_start, partition_start);
344
77
        auto current_frame_end = std::min<int64_t>(frame_end, partition_end);
345
77
        if (current_frame_start >= current_frame_end) {
346
0
            if (!*could_use_previous_result) {
347
0
                *use_null_result = true;
348
0
            }
349
77
        } else {
350
1.77k
            for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) {
351
1.69k
                update_value<true>(place, columns, row_num);
352
1.69k
            }
353
77
            *use_null_result = false;
354
77
            *could_use_previous_result = true;
355
77
        }
356
77
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
Line
Count
Source
342
1
                                UInt8* could_use_previous_result) const override {
343
1
        auto current_frame_start = std::max<int64_t>(frame_start, partition_start);
344
1
        auto current_frame_end = std::min<int64_t>(frame_end, partition_end);
345
1
        if (current_frame_start >= current_frame_end) {
346
0
            if (!*could_use_previous_result) {
347
0
                *use_null_result = true;
348
0
            }
349
1
        } else {
350
2
            for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) {
351
1
                update_value<true>(place, columns, row_num);
352
1
            }
353
1
            *use_null_result = false;
354
1
            *could_use_previous_result = true;
355
1
        }
356
1
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
Line
Count
Source
342
89
                                UInt8* could_use_previous_result) const override {
343
89
        auto current_frame_start = std::max<int64_t>(frame_start, partition_start);
344
89
        auto current_frame_end = std::min<int64_t>(frame_end, partition_end);
345
89
        if (current_frame_start >= current_frame_end) {
346
0
            if (!*could_use_previous_result) {
347
0
                *use_null_result = true;
348
0
            }
349
89
        } else {
350
241
            for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) {
351
152
                update_value<true>(place, columns, row_num);
352
152
            }
353
89
            *use_null_result = false;
354
89
            *could_use_previous_result = true;
355
89
        }
356
89
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
Line
Count
Source
342
237
                                UInt8* could_use_previous_result) const override {
343
237
        auto current_frame_start = std::max<int64_t>(frame_start, partition_start);
344
237
        auto current_frame_end = std::min<int64_t>(frame_end, partition_end);
345
237
        if (current_frame_start >= current_frame_end) {
346
20
            if (!*could_use_previous_result) {
347
0
                *use_null_result = true;
348
0
            }
349
217
        } else {
350
511
            for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) {
351
294
                update_value<true>(place, columns, row_num);
352
294
            }
353
217
            *use_null_result = false;
354
217
            *could_use_previous_result = true;
355
217
        }
356
237
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
Line
Count
Source
342
116
                                UInt8* could_use_previous_result) const override {
343
116
        auto current_frame_start = std::max<int64_t>(frame_start, partition_start);
344
116
        auto current_frame_end = std::min<int64_t>(frame_end, partition_end);
345
116
        if (current_frame_start >= current_frame_end) {
346
0
            if (!*could_use_previous_result) {
347
0
                *use_null_result = true;
348
0
            }
349
116
        } else {
350
232
            for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) {
351
116
                update_value<true>(place, columns, row_num);
352
116
            }
353
116
            *use_null_result = false;
354
116
            *could_use_previous_result = true;
355
116
        }
356
116
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
357
358
private:
359
    uint32_t output_scale;
360
    ResultType multiplier;
361
};
362
363
} // namespace doris