Coverage Report

Created: 2026-07-27 15:57

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.88k
    ResultT result() const {
88
2.88k
        if constexpr (std::is_floating_point_v<ResultT>) {
89
2.88k
            if constexpr (std::numeric_limits<ResultT>::is_iec559) {
90
2.88k
                return static_cast<ResultT>(sum) /
91
2.88k
                       static_cast<ResultT>(count); /// allow division by zero
92
2.88k
            }
93
2.88k
        }
94
95
2.88k
        if (!count) {
96
            // null is handled in AggregationNode::_get_without_key_result
97
0
            return static_cast<ResultT>(sum);
98
0
        }
99
2.88k
        return static_cast<ResultT>(sum) / static_cast<ResultT>(count);
100
2.88k
    }
_ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE6EE6resultIdEET_v
Line
Count
Source
87
644
    ResultT result() const {
88
644
        if constexpr (std::is_floating_point_v<ResultT>) {
89
644
            if constexpr (std::numeric_limits<ResultT>::is_iec559) {
90
644
                return static_cast<ResultT>(sum) /
91
644
                       static_cast<ResultT>(count); /// allow division by zero
92
644
            }
93
644
        }
94
95
644
        if (!count) {
96
            // null is handled in AggregationNode::_get_without_key_result
97
0
            return static_cast<ResultT>(sum);
98
0
        }
99
644
        return static_cast<ResultT>(sum) / static_cast<ResultT>(count);
100
644
    }
_ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE7EE6resultIdEET_v
Line
Count
Source
87
707
    ResultT result() const {
88
707
        if constexpr (std::is_floating_point_v<ResultT>) {
89
707
            if constexpr (std::numeric_limits<ResultT>::is_iec559) {
90
707
                return static_cast<ResultT>(sum) /
91
707
                       static_cast<ResultT>(count); /// allow division by zero
92
707
            }
93
707
        }
94
95
707
        if (!count) {
96
            // null is handled in AggregationNode::_get_without_key_result
97
0
            return static_cast<ResultT>(sum);
98
0
        }
99
707
        return static_cast<ResultT>(sum) / static_cast<ResultT>(count);
100
707
    }
_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
173
    void write(BufferWritable& buf) const {
103
173
        buf.write_binary(sum);
104
173
        buf.write_binary(count);
105
173
    }
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
135
    void write(BufferWritable& buf) const {
103
135
        buf.write_binary(sum);
104
135
        buf.write_binary(count);
105
135
    }
_ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE7EE5writeERNS_14BufferWritableE
Line
Count
Source
102
16
    void write(BufferWritable& buf) const {
103
16
        buf.write_binary(sum);
104
16
        buf.write_binary(count);
105
16
    }
Unexecuted instantiation: _ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE9EE5writeERNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE20EE5writeERNS_14BufferWritableE
106
107
191
    void read(BufferReadable& buf) {
108
191
        buf.read_binary(sum);
109
191
        buf.read_binary(count);
110
191
    }
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
141
    void read(BufferReadable& buf) {
108
141
        buf.read_binary(sum);
109
141
        buf.read_binary(count);
110
141
    }
_ZN5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE7EE4readERNS_14BufferReadableE
Line
Count
Source
107
28
    void read(BufferReadable& buf) {
108
28
        buf.read_binary(sum);
109
28
        buf.read_binary(count);
110
28
    }
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.31k
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
3.31k
                      argument_types_),
146
3.31k
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
3.31k
                                    get_decimal_scale(*argument_types_[0]))) {
148
3.31k
        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.31k
    }
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
88
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
88
                      argument_types_),
146
88
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
88
                                    get_decimal_scale(*argument_types_[0]))) {
148
88
        if constexpr (is_decimal(T)) {
149
88
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
150
88
                    output_scale - get_decimal_scale(*argument_types_[0])));
151
88
        }
152
88
    }
_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
642
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
642
                      argument_types_),
146
642
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
642
                                    get_decimal_scale(*argument_types_[0]))) {
148
642
        if constexpr (is_decimal(T)) {
149
642
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
150
642
                    output_scale - get_decimal_scale(*argument_types_[0])));
151
642
        }
152
642
    }
_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
94
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
94
                      argument_types_),
146
94
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
94
                                    get_decimal_scale(*argument_types_[0]))) {
148
94
        if constexpr (is_decimal(T)) {
149
94
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
150
94
                    output_scale - get_decimal_scale(*argument_types_[0])));
151
94
        }
152
94
    }
_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
97
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
97
                      argument_types_),
146
97
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
97
                                    get_decimal_scale(*argument_types_[0]))) {
148
97
        if constexpr (is_decimal(T)) {
149
97
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
150
97
                    output_scale - get_decimal_scale(*argument_types_[0])));
151
97
        }
152
97
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
144
80
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
80
                      argument_types_),
146
80
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
80
                                    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
80
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
144
29
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
29
                      argument_types_),
146
29
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
29
                                    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
29
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
144
1.32k
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
1.32k
                      argument_types_),
146
1.32k
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
1.32k
                                    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.32k
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
144
383
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
383
                      argument_types_),
146
383
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
383
                                    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
383
    }
_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
274
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
274
                      argument_types_),
146
274
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
274
                                    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
274
    }
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
363
    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
28
    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
129
    String get_name() const override { return "avg"; }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE8get_nameB5cxx11Ev
Line
Count
Source
154
137
    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
24
    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.82k
    DataTypePtr get_return_type() const override {
157
9.82k
        if constexpr (is_decimal(T)) {
158
4.48k
            return std::make_shared<ResultDataType>(
159
4.48k
                    ResultDataType::max_precision(),
160
4.48k
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
5.34k
        } else {
162
5.34k
            return std::make_shared<ResultDataType>();
163
5.34k
        }
164
9.82k
    }
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
403
    DataTypePtr get_return_type() const override {
157
403
        if constexpr (is_decimal(T)) {
158
403
            return std::make_shared<ResultDataType>(
159
403
                    ResultDataType::max_precision(),
160
403
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
        } else {
162
            return std::make_shared<ResultDataType>();
163
        }
164
403
    }
_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
3.44k
    DataTypePtr get_return_type() const override {
157
3.44k
        if constexpr (is_decimal(T)) {
158
3.44k
            return std::make_shared<ResultDataType>(
159
3.44k
                    ResultDataType::max_precision(),
160
3.44k
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
        } else {
162
            return std::make_shared<ResultDataType>();
163
        }
164
3.44k
    }
_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
230
    DataTypePtr get_return_type() const override {
157
230
        if constexpr (is_decimal(T)) {
158
230
            return std::make_shared<ResultDataType>(
159
230
                    ResultDataType::max_precision(),
160
230
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
        } else {
162
            return std::make_shared<ResultDataType>();
163
        }
164
230
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE15get_return_typeEv
Line
Count
Source
156
92
    DataTypePtr get_return_type() const override {
157
92
        if constexpr (is_decimal(T)) {
158
92
            return std::make_shared<ResultDataType>(
159
92
                    ResultDataType::max_precision(),
160
92
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
        } else {
162
            return std::make_shared<ResultDataType>();
163
        }
164
92
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE15get_return_typeEv
Line
Count
Source
156
274
    DataTypePtr get_return_type() const override {
157
274
        if constexpr (is_decimal(T)) {
158
274
            return std::make_shared<ResultDataType>(
159
274
                    ResultDataType::max_precision(),
160
274
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
        } else {
162
            return std::make_shared<ResultDataType>();
163
        }
164
274
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE15get_return_typeEv
Line
Count
Source
156
281
    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
281
        } else {
162
281
            return std::make_shared<ResultDataType>();
163
281
        }
164
281
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE15get_return_typeEv
Line
Count
Source
156
118
    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
118
        } else {
162
118
            return std::make_shared<ResultDataType>();
163
118
        }
164
118
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE15get_return_typeEv
Line
Count
Source
156
1.70k
    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.70k
        } else {
162
1.70k
            return std::make_shared<ResultDataType>();
163
1.70k
        }
164
1.70k
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE15get_return_typeEv
Line
Count
Source
156
1.05k
    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.05k
        } else {
162
1.05k
            return std::make_shared<ResultDataType>();
163
1.05k
        }
164
1.05k
    }
_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.74k
    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.74k
        } else {
162
1.74k
            return std::make_shared<ResultDataType>();
163
1.74k
        }
164
1.74k
    }
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
112M
            } else if constexpr (is_decimal(T)) {
178
112M
                this->data(place).sum += column.get_data()[row_num].value;
179
112M
            } 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.15M
                                            const IColumn** columns, ssize_t row_num) const {
171
2.15M
        ALLOW_FP_REASSOCIATION
172
2.15M
        const auto& column =
173
2.15M
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
2.15M
        if constexpr (is_add) {
175
            if constexpr (T == TYPE_DECIMALV2) {
176
                this->data(place).sum += column.get_data()[row_num];
177
2.15M
            } else if constexpr (is_decimal(T)) {
178
2.15M
                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.15M
            ++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.15M
    }
_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
118
                                            const IColumn** columns, ssize_t row_num) const {
171
118
        ALLOW_FP_REASSOCIATION
172
118
        const auto& column =
173
118
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
118
        if constexpr (is_add) {
175
            if constexpr (T == TYPE_DECIMALV2) {
176
                this->data(place).sum += column.get_data()[row_num];
177
118
            } else if constexpr (is_decimal(T)) {
178
118
                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
118
            ++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
118
    }
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
154
                                            const IColumn** columns, ssize_t row_num) const {
171
154
        ALLOW_FP_REASSOCIATION
172
154
        const auto& column =
173
154
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
154
        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
154
            } else {
180
154
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
154
            }
182
154
            ++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
154
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
170
11.0k
                                            const IColumn** columns, ssize_t row_num) const {
171
11.0k
        ALLOW_FP_REASSOCIATION
172
11.0k
        const auto& column =
173
11.0k
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
11.0k
        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
11.0k
            } else {
180
11.0k
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
11.0k
            }
182
11.0k
            ++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.0k
    }
_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.36k
                                            const IColumn** columns, ssize_t row_num) const {
171
1.36k
        ALLOW_FP_REASSOCIATION
172
1.36k
        const auto& column =
173
1.36k
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
1.36k
        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.36k
            } else {
180
1.36k
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
1.36k
            }
182
1.36k
            ++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.36k
    }
_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.15M
             Arena&) const override {
197
2.15M
        update_value<true>(place, columns, row_num);
198
2.15M
    }
_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
119
             Arena&) const override {
197
119
        update_value<true>(place, columns, row_num);
198
119
    }
_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
154
             Arena&) const override {
197
154
        update_value<true>(place, columns, row_num);
198
154
    }
_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
903
             Arena&) const override {
197
903
        update_value<true>(place, columns, row_num);
198
903
    }
_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
146
    void reset(AggregateDataPtr place) const override {
201
146
        this->data(place).sum = {};
202
146
        this->data(place).count = 0;
203
146
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE5resetEPc
Line
Count
Source
200
112
    void reset(AggregateDataPtr place) const override {
201
112
        this->data(place).sum = {};
202
112
        this->data(place).count = 0;
203
112
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE5resetEPc
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5resetEPc
Line
Count
Source
200
89
    void reset(AggregateDataPtr place) const override {
201
89
        this->data(place).sum = {};
202
89
        this->data(place).count = 0;
203
89
    }
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.04k
                                     Arena&) const override {
207
3.04k
        if constexpr (T == TYPE_DECIMALV2) {
208
0
            this->data(place).sum += this->data(rhs).sum;
209
1.43k
        } else if constexpr (is_decimal(T)) {
210
1.43k
            this->data(place).sum += this->data(rhs).sum.value;
211
1.60k
        } else {
212
1.60k
            this->data(place).sum += this->data(rhs).sum;
213
1.60k
        }
214
3.04k
        this->data(place).count += this->data(rhs).count;
215
3.04k
    }
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.33k
                                     Arena&) const override {
207
        if constexpr (T == TYPE_DECIMALV2) {
208
            this->data(place).sum += this->data(rhs).sum;
209
1.33k
        } else if constexpr (is_decimal(T)) {
210
1.33k
            this->data(place).sum += this->data(rhs).sum.value;
211
        } else {
212
            this->data(place).sum += this->data(rhs).sum;
213
        }
214
1.33k
        this->data(place).count += this->data(rhs).count;
215
1.33k
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE5mergeEPcPKcRNS_5ArenaE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
206
52
                                     Arena&) const override {
207
        if constexpr (T == TYPE_DECIMALV2) {
208
            this->data(place).sum += this->data(rhs).sum;
209
52
        } else if constexpr (is_decimal(T)) {
210
52
            this->data(place).sum += this->data(rhs).sum.value;
211
        } else {
212
            this->data(place).sum += this->data(rhs).sum;
213
        }
214
52
        this->data(place).count += this->data(rhs).count;
215
52
    }
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
36
                                     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
36
        } else {
212
36
            this->data(place).sum += this->data(rhs).sum;
213
36
        }
214
36
        this->data(place).count += this->data(rhs).count;
215
36
    }
_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
412
                                     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
412
        } else {
212
412
            this->data(place).sum += this->data(rhs).sum;
213
412
        }
214
412
        this->data(place).count += this->data(rhs).count;
215
412
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
206
249
                                     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
249
        } else {
212
249
            this->data(place).sum += this->data(rhs).sum;
213
249
        }
214
249
        this->data(place).count += this->data(rhs).count;
215
249
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE5mergeEPcPKcRNS_5ArenaE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
206
878
                                     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
878
        } else {
212
878
            this->data(place).sum += this->data(rhs).sum;
213
878
        }
214
878
        this->data(place).count += this->data(rhs).count;
215
878
    }
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
173
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
218
173
        this->data(place).write(buf);
219
173
    }
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
135
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
218
135
        this->data(place).write(buf);
219
135
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
217
16
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
218
16
        this->data(place).write(buf);
219
16
    }
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
191
                     Arena&) const override {
223
191
        this->data(place).read(buf);
224
191
    }
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
141
                     Arena&) const override {
223
141
        this->data(place).read(buf);
224
141
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
222
28
                     Arena&) const override {
223
28
        this->data(place).read(buf);
224
28
    }
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.67k
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
227
5.67k
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
228
5.67k
        if constexpr (is_decimal(T)) {
229
2.78k
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
230
2.88k
        } else {
231
2.88k
            column.get_data().push_back(this->data(place).template result<ResultType>());
232
2.88k
        }
233
5.67k
    }
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
54
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
227
54
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
228
54
        if constexpr (is_decimal(T)) {
229
54
            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
54
    }
_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
516
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
227
516
        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
516
        } else {
231
516
            column.get_data().push_back(this->data(place).template result<ResultType>());
232
516
        }
233
516
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
226
706
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
227
706
        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
706
        } else {
231
706
            column.get_data().push_back(this->data(place).template result<ResultType>());
232
706
        }
233
706
    }
_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.88k
                             MutableColumnPtr& dst, const size_t num_rows) const override {
237
2.88k
        auto& col = assert_cast<ColumnFixedLengthObject&>(*dst);
238
2.88k
        col.set_item_size(sizeof(Data));
239
2.88k
        col.resize(num_rows);
240
2.88k
        auto* data = col.get_data().data();
241
5.88k
        for (size_t i = 0; i != num_rows; ++i) {
242
2.99k
            *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) =
243
2.99k
                    *reinterpret_cast<Data*>(places[i] + offset);
244
2.99k
        }
245
2.88k
    }
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.92k
                             MutableColumnPtr& dst, const size_t num_rows) const override {
237
1.92k
        auto& col = assert_cast<ColumnFixedLengthObject&>(*dst);
238
1.92k
        col.set_item_size(sizeof(Data));
239
1.92k
        col.resize(num_rows);
240
1.92k
        auto* data = col.get_data().data();
241
3.22k
        for (size_t i = 0; i != num_rows; ++i) {
242
1.29k
            *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) =
243
1.29k
                    *reinterpret_cast<Data*>(places[i] + offset);
244
1.29k
        }
245
1.92k
    }
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
42
                             MutableColumnPtr& dst, const size_t num_rows) const override {
237
42
        auto& col = assert_cast<ColumnFixedLengthObject&>(*dst);
238
42
        col.set_item_size(sizeof(Data));
239
42
        col.resize(num_rows);
240
42
        auto* data = col.get_data().data();
241
86
        for (size_t i = 0; i != num_rows; ++i) {
242
44
            *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) =
243
44
                    *reinterpret_cast<Data*>(places[i] + offset);
244
44
        }
245
42
    }
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
38
                             MutableColumnPtr& dst, const size_t num_rows) const override {
237
38
        auto& col = assert_cast<ColumnFixedLengthObject&>(*dst);
238
38
        col.set_item_size(sizeof(Data));
239
38
        col.resize(num_rows);
240
38
        auto* data = col.get_data().data();
241
102
        for (size_t i = 0; i != num_rows; ++i) {
242
64
            *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) =
243
64
                    *reinterpret_cast<Data*>(places[i] + offset);
244
64
        }
245
38
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm
Line
Count
Source
236
28
                             MutableColumnPtr& dst, const size_t num_rows) const override {
237
28
        auto& col = assert_cast<ColumnFixedLengthObject&>(*dst);
238
28
        col.set_item_size(sizeof(Data));
239
28
        col.resize(num_rows);
240
28
        auto* data = col.get_data().data();
241
100
        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
28
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm
Line
Count
Source
236
367
                             MutableColumnPtr& dst, const size_t num_rows) const override {
237
367
        auto& col = assert_cast<ColumnFixedLengthObject&>(*dst);
238
367
        col.set_item_size(sizeof(Data));
239
367
        col.resize(num_rows);
240
367
        auto* data = col.get_data().data();
241
675
        for (size_t i = 0; i != num_rows; ++i) {
242
308
            *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) =
243
308
                    *reinterpret_cast<Data*>(places[i] + offset);
244
308
        }
245
367
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm
Line
Count
Source
236
40
                             MutableColumnPtr& dst, const size_t num_rows) const override {
237
40
        auto& col = assert_cast<ColumnFixedLengthObject&>(*dst);
238
40
        col.set_item_size(sizeof(Data));
239
40
        col.resize(num_rows);
240
40
        auto* data = col.get_data().data();
241
287
        for (size_t i = 0; i != num_rows; ++i) {
242
247
            *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) =
243
247
                    *reinterpret_cast<Data*>(places[i] + offset);
244
247
        }
245
40
    }
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
415
                             MutableColumnPtr& dst, const size_t num_rows) const override {
237
415
        auto& col = assert_cast<ColumnFixedLengthObject&>(*dst);
238
415
        col.set_item_size(sizeof(Data));
239
415
        col.resize(num_rows);
240
415
        auto* data = col.get_data().data();
241
1.31k
        for (size_t i = 0; i != num_rows; ++i) {
242
903
            *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) =
243
903
                    *reinterpret_cast<Data*>(places[i] + offset);
244
903
        }
245
415
    }
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
78
                                           const size_t num_rows, Arena&) const override {
249
78
        auto* src_data = assert_cast<const ColVecType&>(*columns[0]).get_data().data();
250
78
        auto& dst_col = assert_cast<ColumnFixedLengthObject&>(*dst);
251
78
        dst_col.set_item_size(sizeof(Data));
252
78
        dst_col.resize(num_rows);
253
78
        auto* data = dst_col.get_data().data();
254
8.35k
        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
78
    }
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
76
                                           const size_t num_rows, Arena&) const override {
249
76
        auto* src_data = assert_cast<const ColVecType&>(*columns[0]).get_data().data();
250
76
        auto& dst_col = assert_cast<ColumnFixedLengthObject&>(*dst);
251
76
        dst_col.set_item_size(sizeof(Data));
252
76
        dst_col.resize(num_rows);
253
76
        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
76
    }
_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.87k
            Arena&) const override {
264
8.87k
        ALLOW_FP_REASSOCIATION
265
8.87k
        DCHECK(end <= column.size() && begin <= end)
266
12
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
8.87k
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
8.87k
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
17.7k
        for (size_t i = begin; i <= end; ++i) {
270
8.91k
            this->data(place).sum += data[i].sum;
271
8.91k
            this->data(place).count += data[i].count;
272
8.91k
        }
273
8.87k
    }
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
115
            Arena&) const override {
264
115
        ALLOW_FP_REASSOCIATION
265
115
        DCHECK(end <= column.size() && begin <= end)
266
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
115
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
115
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
238
        for (size_t i = begin; i <= end; ++i) {
270
123
            this->data(place).sum += data[i].sum;
271
123
            this->data(place).count += data[i].count;
272
123
        }
273
115
    }
_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
195
            Arena&) const override {
264
195
        ALLOW_FP_REASSOCIATION
265
195
        DCHECK(end <= column.size() && begin <= end)
266
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
195
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
195
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
390
        for (size_t i = begin; i <= end; ++i) {
270
195
            this->data(place).sum += data[i].sum;
271
195
            this->data(place).count += data[i].count;
272
195
        }
273
195
    }
_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
3
            Arena&) const override {
264
3
        ALLOW_FP_REASSOCIATION
265
3
        DCHECK(end <= column.size() && begin <= end)
266
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
3
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
3
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
6
        for (size_t i = begin; i <= end; ++i) {
270
3
            this->data(place).sum += data[i].sum;
271
3
            this->data(place).count += data[i].count;
272
3
        }
273
3
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
263
11
            Arena&) const override {
264
11
        ALLOW_FP_REASSOCIATION
265
11
        DCHECK(end <= column.size() && begin <= end)
266
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
11
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
11
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
22
        for (size_t i = begin; i <= end; ++i) {
270
11
            this->data(place).sum += data[i].sum;
271
11
            this->data(place).count += data[i].count;
272
11
        }
273
11
    }
_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
54
            Arena&) const override {
264
54
        ALLOW_FP_REASSOCIATION
265
54
        DCHECK(end <= column.size() && begin <= end)
266
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
54
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
54
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
116
        for (size_t i = begin; i <= end; ++i) {
270
62
            this->data(place).sum += data[i].sum;
271
62
            this->data(place).count += data[i].count;
272
62
        }
273
54
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
263
8.31k
            Arena&) const override {
264
8.31k
        ALLOW_FP_REASSOCIATION
265
8.31k
        DCHECK(end <= column.size() && begin <= end)
266
12
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
8.31k
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
8.31k
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
16.6k
        for (size_t i = begin; i <= end; ++i) {
270
8.31k
            this->data(place).sum += data[i].sum;
271
8.31k
            this->data(place).count += data[i].count;
272
8.31k
        }
273
8.31k
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
263
47
            Arena&) const override {
264
47
        ALLOW_FP_REASSOCIATION
265
47
        DCHECK(end <= column.size() && begin <= end)
266
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
47
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
47
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
104
        for (size_t i = begin; i <= end; ++i) {
270
57
            this->data(place).sum += data[i].sum;
271
57
            this->data(place).count += data[i].count;
272
57
        }
273
47
    }
_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
74
            Arena&) const override {
264
74
        ALLOW_FP_REASSOCIATION
265
74
        DCHECK(end <= column.size() && begin <= end)
266
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
74
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
74
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
156
        for (size_t i = begin; i <= end; ++i) {
270
82
            this->data(place).sum += data[i].sum;
271
82
            this->data(place).count += data[i].count;
272
82
        }
273
74
    }
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
981
                                   const size_t num_rows) const override {
278
981
        const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column);
279
981
        const auto* data = col.get_data().data();
280
981
        this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows);
281
981
    }
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
16
                                   const size_t num_rows) const override {
278
16
        const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column);
279
16
        const auto* data = col.get_data().data();
280
16
        this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows);
281
16
    }
_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
129
                                   const size_t num_rows) const override {
278
129
        const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column);
279
129
        const auto* data = col.get_data().data();
280
129
        this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows);
281
129
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
277
71
                                   const size_t num_rows) const override {
278
71
        const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column);
279
71
        const auto* data = col.get_data().data();
280
71
        this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows);
281
71
    }
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
311
                                   const size_t num_rows) const override {
278
311
        const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column);
279
311
        const auto* data = col.get_data().data();
280
311
        this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows);
281
311
    }
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
581
                                         IColumn& to) const override {
293
581
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
581
        col.set_item_size(sizeof(Data));
295
581
        size_t old_size = col.size();
296
581
        col.resize(old_size + 1);
297
581
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
581
    }
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
99
                                         IColumn& to) const override {
293
99
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
99
        col.set_item_size(sizeof(Data));
295
99
        size_t old_size = col.size();
296
99
        col.resize(old_size + 1);
297
99
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
99
    }
_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
195
                                         IColumn& to) const override {
293
195
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
195
        col.set_item_size(sizeof(Data));
295
195
        size_t old_size = col.size();
296
195
        col.resize(old_size + 1);
297
195
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
195
    }
_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
3
                                         IColumn& to) const override {
293
3
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
3
        col.set_item_size(sizeof(Data));
295
3
        size_t old_size = col.size();
296
3
        col.resize(old_size + 1);
297
3
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
3
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
292
11
                                         IColumn& to) const override {
293
11
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
11
        col.set_item_size(sizeof(Data));
295
11
        size_t old_size = col.size();
296
11
        col.resize(old_size + 1);
297
11
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
11
    }
_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
23
                                         IColumn& to) const override {
293
23
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
23
        col.set_item_size(sizeof(Data));
295
23
        size_t old_size = col.size();
296
23
        col.resize(old_size + 1);
297
23
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
23
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
292
127
                                         IColumn& to) const override {
293
127
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
127
        col.set_item_size(sizeof(Data));
295
127
        size_t old_size = col.size();
296
127
        col.resize(old_size + 1);
297
127
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
127
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
292
30
                                         IColumn& to) const override {
293
30
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
30
        col.set_item_size(sizeof(Data));
295
30
        size_t old_size = col.size();
296
30
        col.resize(old_size + 1);
297
30
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
30
    }
_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
58
                                         IColumn& to) const override {
293
58
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
58
        col.set_item_size(sizeof(Data));
295
58
        size_t old_size = col.size();
296
58
        col.resize(old_size + 1);
297
58
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
58
    }
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.90k
    MutableColumnPtr create_serialize_column() const override {
301
3.90k
        return ColumnFixedLengthObject::create(sizeof(Data));
302
3.90k
    }
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
121
    MutableColumnPtr create_serialize_column() const override {
301
121
        return ColumnFixedLengthObject::create(sizeof(Data));
302
121
    }
_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
2.11k
    MutableColumnPtr create_serialize_column() const override {
301
2.11k
        return ColumnFixedLengthObject::create(sizeof(Data));
302
2.11k
    }
_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
42
    MutableColumnPtr create_serialize_column() const override {
301
42
        return ColumnFixedLengthObject::create(sizeof(Data));
302
42
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE23create_serialize_columnEv
Line
Count
Source
300
3
    MutableColumnPtr create_serialize_column() const override {
301
3
        return ColumnFixedLengthObject::create(sizeof(Data));
302
3
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE23create_serialize_columnEv
Line
Count
Source
300
21
    MutableColumnPtr create_serialize_column() const override {
301
21
        return ColumnFixedLengthObject::create(sizeof(Data));
302
21
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE23create_serialize_columnEv
Line
Count
Source
300
72
    MutableColumnPtr create_serialize_column() const override {
301
72
        return ColumnFixedLengthObject::create(sizeof(Data));
302
72
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE23create_serialize_columnEv
Line
Count
Source
300
52
    MutableColumnPtr create_serialize_column() const override {
301
52
        return ColumnFixedLengthObject::create(sizeof(Data));
302
52
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE23create_serialize_columnEv
Line
Count
Source
300
940
    MutableColumnPtr create_serialize_column() const override {
301
940
        return ColumnFixedLengthObject::create(sizeof(Data));
302
940
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE23create_serialize_columnEv
Line
Count
Source
300
71
    MutableColumnPtr create_serialize_column() const override {
301
71
        return ColumnFixedLengthObject::create(sizeof(Data));
302
71
    }
_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
471
    MutableColumnPtr create_serialize_column() const override {
301
471
        return ColumnFixedLengthObject::create(sizeof(Data));
302
471
    }
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
4.17k
    DataTypePtr get_serialized_type() const override {
305
4.17k
        return std::make_shared<DataTypeFixedLengthObject>();
306
4.17k
    }
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
121
    DataTypePtr get_serialized_type() const override {
305
121
        return std::make_shared<DataTypeFixedLengthObject>();
306
121
    }
_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
2.11k
    DataTypePtr get_serialized_type() const override {
305
2.11k
        return std::make_shared<DataTypeFixedLengthObject>();
306
2.11k
    }
_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
42
    DataTypePtr get_serialized_type() const override {
305
42
        return std::make_shared<DataTypeFixedLengthObject>();
306
42
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE19get_serialized_typeEv
Line
Count
Source
304
3
    DataTypePtr get_serialized_type() const override {
305
3
        return std::make_shared<DataTypeFixedLengthObject>();
306
3
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE19get_serialized_typeEv
Line
Count
Source
304
21
    DataTypePtr get_serialized_type() const override {
305
21
        return std::make_shared<DataTypeFixedLengthObject>();
306
21
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE19get_serialized_typeEv
Line
Count
Source
304
74
    DataTypePtr get_serialized_type() const override {
305
74
        return std::make_shared<DataTypeFixedLengthObject>();
306
74
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE19get_serialized_typeEv
Line
Count
Source
304
52
    DataTypePtr get_serialized_type() const override {
305
52
        return std::make_shared<DataTypeFixedLengthObject>();
306
52
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE19get_serialized_typeEv
Line
Count
Source
304
1.21k
    DataTypePtr get_serialized_type() const override {
305
1.21k
        return std::make_shared<DataTypeFixedLengthObject>();
306
1.21k
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE19get_serialized_typeEv
Line
Count
Source
304
66
    DataTypePtr get_serialized_type() const override {
305
66
        return std::make_shared<DataTypeFixedLengthObject>();
306
66
    }
_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
473
    DataTypePtr get_serialized_type() const override {
305
473
        return std::make_shared<DataTypeFixedLengthObject>();
306
473
    }
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
249
    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
28
    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
48
    bool supported_incremental_mode() const override { return true; }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE26supported_incremental_modeEv
Line
Count
Source
308
108
    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
24
    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
571
                                UInt8* could_use_previous_result) const override {
343
571
        auto current_frame_start = std::max<int64_t>(frame_start, partition_start);
344
571
        auto current_frame_end = std::min<int64_t>(frame_end, partition_end);
345
571
        if (current_frame_start >= current_frame_end) {
346
24
            if (!*could_use_previous_result) {
347
0
                *use_null_result = true;
348
0
            }
349
547
        } else {
350
2.86k
            for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) {
351
2.31k
                update_value<true>(place, columns, row_num);
352
2.31k
            }
353
547
            *use_null_result = false;
354
547
            *could_use_previous_result = true;
355
547
        }
356
571
    }
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.76k
            for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) {
351
1.68k
                update_value<true>(place, columns, row_num);
352
1.68k
            }
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
284
                                UInt8* could_use_previous_result) const override {
343
284
        auto current_frame_start = std::max<int64_t>(frame_start, partition_start);
344
284
        auto current_frame_end = std::min<int64_t>(frame_end, partition_end);
345
284
        if (current_frame_start >= current_frame_end) {
346
24
            if (!*could_use_previous_result) {
347
0
                *use_null_result = true;
348
0
            }
349
260
        } else {
350
612
            for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) {
351
352
                update_value<true>(place, columns, row_num);
352
352
            }
353
260
            *use_null_result = false;
354
260
            *could_use_previous_result = true;
355
260
        }
356
284
    }
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