Coverage Report

Created: 2026-07-21 13:38

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 "core/assert_cast.h"
33
#include "core/column/column.h"
34
#include "core/column/column_fixed_length_object.h"
35
#include "core/data_type/data_type.h"
36
#include "core/data_type/data_type_decimal.h"
37
#include "core/data_type/data_type_fixed_length_object.h"
38
#include "core/data_type/primitive_type.h"
39
#include "core/types.h"
40
#include "core/value/decimalv2_value.h"
41
#include "exprs/aggregate/aggregate_function.h"
42
43
namespace doris {
44
class Arena;
45
class BufferReadable;
46
class BufferWritable;
47
template <PrimitiveType T>
48
class ColumnDecimal;
49
template <PrimitiveType T>
50
class DataTypeNumber;
51
template <PrimitiveType T>
52
class ColumnVector;
53
54
template <PrimitiveType T>
55
struct AggregateFunctionAvgData {
56
    using ResultType = typename PrimitiveTypeTraits<T>::CppType;
57
    static constexpr PrimitiveType ResultPType = T;
58
    ResultType sum {};
59
    UInt64 count = 0;
60
61
    AggregateFunctionAvgData& operator=(const AggregateFunctionAvgData<T>& src) = default;
62
63
    template <typename ResultT>
64
2.75k
    ResultT result(ResultType multiplier) const {
65
2.75k
        if (!count) {
66
            // null is handled in AggregationNode::_get_without_key_result
67
1
            return static_cast<ResultT>(sum);
68
1
        }
69
        // DecimalV2 has fixed internal scale=9; its arithmetic operators already
70
        // handle scale correctly, so no external multiplier is needed.
71
2.75k
        if constexpr (T == TYPE_DECIMALV2 && IsDecimalV2<ResultT>) {
72
0
            DecimalV2Value decimal_val_count(count, 0);
73
0
            DecimalV2Value cal_ret = sum / decimal_val_count;
74
0
            return cal_ret;
75
2.75k
        } else {
76
2.75k
            if constexpr (T == TYPE_DECIMAL256) {
77
184
                return static_cast<ResultT>(sum * multiplier /
78
184
                                            typename PrimitiveTypeTraits<T>::CppType(count));
79
2.57k
            } else {
80
2.57k
                return static_cast<ResultT>(sum * multiplier) / static_cast<ResultT>(count);
81
2.57k
            }
82
2.75k
        }
83
2.75k
    }
Unexecuted instantiation: _ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE28EE6resultINS_7DecimalIiEEEET_S5_
Unexecuted instantiation: _ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE29EE6resultINS_7DecimalIlEEEET_S5_
_ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE30EE6resultINS_12Decimal128V3EEET_S4_
Line
Count
Source
64
2.57k
    ResultT result(ResultType multiplier) const {
65
2.57k
        if (!count) {
66
            // null is handled in AggregationNode::_get_without_key_result
67
1
            return static_cast<ResultT>(sum);
68
1
        }
69
        // DecimalV2 has fixed internal scale=9; its arithmetic operators already
70
        // handle scale correctly, so no external multiplier is needed.
71
        if constexpr (T == TYPE_DECIMALV2 && IsDecimalV2<ResultT>) {
72
            DecimalV2Value decimal_val_count(count, 0);
73
            DecimalV2Value cal_ret = sum / decimal_val_count;
74
            return cal_ret;
75
2.57k
        } else {
76
            if constexpr (T == TYPE_DECIMAL256) {
77
                return static_cast<ResultT>(sum * multiplier /
78
                                            typename PrimitiveTypeTraits<T>::CppType(count));
79
2.57k
            } else {
80
2.57k
                return static_cast<ResultT>(sum * multiplier) / static_cast<ResultT>(count);
81
2.57k
            }
82
2.57k
        }
83
2.57k
    }
_ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE35EE6resultINS_7DecimalIN4wide7integerILm256EiEEEEEET_S8_
Line
Count
Source
64
184
    ResultT result(ResultType multiplier) const {
65
184
        if (!count) {
66
            // null is handled in AggregationNode::_get_without_key_result
67
0
            return static_cast<ResultT>(sum);
68
0
        }
69
        // DecimalV2 has fixed internal scale=9; its arithmetic operators already
70
        // handle scale correctly, so no external multiplier is needed.
71
        if constexpr (T == TYPE_DECIMALV2 && IsDecimalV2<ResultT>) {
72
            DecimalV2Value decimal_val_count(count, 0);
73
            DecimalV2Value cal_ret = sum / decimal_val_count;
74
            return cal_ret;
75
184
        } else {
76
184
            if constexpr (T == TYPE_DECIMAL256) {
77
184
                return static_cast<ResultT>(sum * multiplier /
78
184
                                            typename PrimitiveTypeTraits<T>::CppType(count));
79
            } else {
80
                return static_cast<ResultT>(sum * multiplier) / static_cast<ResultT>(count);
81
            }
82
184
        }
83
184
    }
Unexecuted instantiation: _ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE20EE6resultINS_14DecimalV2ValueEEET_S4_
84
85
    template <typename ResultT>
86
2.84k
    ResultT result() const {
87
2.84k
        if constexpr (std::is_floating_point_v<ResultT>) {
88
2.84k
            if constexpr (std::numeric_limits<ResultT>::is_iec559) {
89
2.84k
                return static_cast<ResultT>(sum) /
90
2.84k
                       static_cast<ResultT>(count); /// allow division by zero
91
2.84k
            }
92
2.84k
        }
93
94
2.84k
        if (!count) {
95
            // null is handled in AggregationNode::_get_without_key_result
96
0
            return static_cast<ResultT>(sum);
97
0
        }
98
2.84k
        return static_cast<ResultT>(sum) / static_cast<ResultT>(count);
99
2.84k
    }
_ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE6EE6resultIdEET_v
Line
Count
Source
86
617
    ResultT result() const {
87
617
        if constexpr (std::is_floating_point_v<ResultT>) {
88
617
            if constexpr (std::numeric_limits<ResultT>::is_iec559) {
89
617
                return static_cast<ResultT>(sum) /
90
617
                       static_cast<ResultT>(count); /// allow division by zero
91
617
            }
92
617
        }
93
94
617
        if (!count) {
95
            // null is handled in AggregationNode::_get_without_key_result
96
0
            return static_cast<ResultT>(sum);
97
0
        }
98
617
        return static_cast<ResultT>(sum) / static_cast<ResultT>(count);
99
617
    }
_ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE7EE6resultIdEET_v
Line
Count
Source
86
697
    ResultT result() const {
87
697
        if constexpr (std::is_floating_point_v<ResultT>) {
88
697
            if constexpr (std::numeric_limits<ResultT>::is_iec559) {
89
697
                return static_cast<ResultT>(sum) /
90
697
                       static_cast<ResultT>(count); /// allow division by zero
91
697
            }
92
697
        }
93
94
697
        if (!count) {
95
            // null is handled in AggregationNode::_get_without_key_result
96
0
            return static_cast<ResultT>(sum);
97
0
        }
98
697
        return static_cast<ResultT>(sum) / static_cast<ResultT>(count);
99
697
    }
_ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE9EE6resultIdEET_v
Line
Count
Source
86
1.53k
    ResultT result() const {
87
1.53k
        if constexpr (std::is_floating_point_v<ResultT>) {
88
1.53k
            if constexpr (std::numeric_limits<ResultT>::is_iec559) {
89
1.53k
                return static_cast<ResultT>(sum) /
90
1.53k
                       static_cast<ResultT>(count); /// allow division by zero
91
1.53k
            }
92
1.53k
        }
93
94
1.53k
        if (!count) {
95
            // null is handled in AggregationNode::_get_without_key_result
96
0
            return static_cast<ResultT>(sum);
97
0
        }
98
1.53k
        return static_cast<ResultT>(sum) / static_cast<ResultT>(count);
99
1.53k
    }
100
101
179
    void write(BufferWritable& buf) const {
102
179
        buf.write_binary(sum);
103
179
        buf.write_binary(count);
104
179
    }
Unexecuted instantiation: _ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE28EE5writeERNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE29EE5writeERNS_14BufferWritableE
_ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE30EE5writeERNS_14BufferWritableE
Line
Count
Source
101
13
    void write(BufferWritable& buf) const {
102
13
        buf.write_binary(sum);
103
13
        buf.write_binary(count);
104
13
    }
_ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE35EE5writeERNS_14BufferWritableE
Line
Count
Source
101
13
    void write(BufferWritable& buf) const {
102
13
        buf.write_binary(sum);
103
13
        buf.write_binary(count);
104
13
    }
_ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE6EE5writeERNS_14BufferWritableE
Line
Count
Source
101
130
    void write(BufferWritable& buf) const {
102
130
        buf.write_binary(sum);
103
130
        buf.write_binary(count);
104
130
    }
_ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE7EE5writeERNS_14BufferWritableE
Line
Count
Source
101
23
    void write(BufferWritable& buf) const {
102
23
        buf.write_binary(sum);
103
23
        buf.write_binary(count);
104
23
    }
Unexecuted instantiation: _ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE9EE5writeERNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE20EE5writeERNS_14BufferWritableE
105
106
197
    void read(BufferReadable& buf) {
107
197
        buf.read_binary(sum);
108
197
        buf.read_binary(count);
109
197
    }
Unexecuted instantiation: _ZN5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE28EE4readERNS_14BufferReadableE
Unexecuted instantiation: _ZN5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE29EE4readERNS_14BufferReadableE
_ZN5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE30EE4readERNS_14BufferReadableE
Line
Count
Source
106
13
    void read(BufferReadable& buf) {
107
13
        buf.read_binary(sum);
108
13
        buf.read_binary(count);
109
13
    }
_ZN5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE35EE4readERNS_14BufferReadableE
Line
Count
Source
106
13
    void read(BufferReadable& buf) {
107
13
        buf.read_binary(sum);
108
13
        buf.read_binary(count);
109
13
    }
_ZN5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE6EE4readERNS_14BufferReadableE
Line
Count
Source
106
136
    void read(BufferReadable& buf) {
107
136
        buf.read_binary(sum);
108
136
        buf.read_binary(count);
109
136
    }
_ZN5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE7EE4readERNS_14BufferReadableE
Line
Count
Source
106
35
    void read(BufferReadable& buf) {
107
35
        buf.read_binary(sum);
108
35
        buf.read_binary(count);
109
35
    }
Unexecuted instantiation: _ZN5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE9EE4readERNS_14BufferReadableE
Unexecuted instantiation: _ZN5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE20EE4readERNS_14BufferReadableE
110
};
111
112
template <PrimitiveType T, PrimitiveType TResult, typename Data>
113
class AggregateFunctionAvg;
114
115
template <PrimitiveType T, PrimitiveType TResult>
116
constexpr static bool is_valid_avg_types =
117
        (is_same_or_wider_decimalv3(T, TResult) || (is_decimalv2(T) && is_decimalv2(TResult)) ||
118
         (is_float_or_double(T) && is_float_or_double(TResult)) ||
119
         (is_int_or_bool(T) && (is_double(TResult) || is_int(TResult))));
120
/// Calculates arithmetic mean of numbers.
121
template <PrimitiveType T, PrimitiveType TResult, typename Data>
122
    requires(is_valid_avg_types<T, TResult>)
123
class AggregateFunctionAvg<T, TResult, Data> final
124
        : public IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>,
125
          UnaryExpression,
126
          NullableAggregateFunction {
127
public:
128
    using ResultType = typename PrimitiveTypeTraits<TResult>::CppType;
129
    using ResultDataType = typename PrimitiveTypeTraits<TResult>::DataType;
130
    using ColVecType = typename PrimitiveTypeTraits<T>::ColumnType;
131
    using ColVecResult = typename PrimitiveTypeTraits<TResult>::ColumnType;
132
    // The result calculated by PercentileApprox is an approximate value,
133
    // so the underlying storage uses float. The following calls will involve
134
    // an implicit cast to float.
135
136
    using DataType = typename Data::ResultType;
137
138
    // consistent with fe/fe-common/src/main/java/org/apache/doris/catalog/ScalarType.java
139
    static constexpr uint32_t DEFAULT_MIN_AVG_DECIMAL128_SCALE = 4;
140
141
    /// ctor for native types
142
    AggregateFunctionAvg(const DataTypes& argument_types_)
143
3.25k
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
144
3.25k
                      argument_types_),
145
3.25k
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
146
3.25k
                                    get_decimal_scale(*argument_types_[0]))) {
147
3.25k
        if constexpr (is_decimal(T)) {
148
964
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
149
964
                    output_scale - get_decimal_scale(*argument_types_[0])));
150
964
        }
151
3.25k
    }
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
143
88
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
144
88
                      argument_types_),
145
88
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
146
88
                                    get_decimal_scale(*argument_types_[0]))) {
147
88
        if constexpr (is_decimal(T)) {
148
88
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
149
88
                    output_scale - get_decimal_scale(*argument_types_[0])));
150
88
        }
151
88
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
143
8
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
144
8
                      argument_types_),
145
8
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
146
8
                                    get_decimal_scale(*argument_types_[0]))) {
147
8
        if constexpr (is_decimal(T)) {
148
8
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
149
8
                    output_scale - get_decimal_scale(*argument_types_[0])));
150
8
        }
151
8
    }
Unexecuted instantiation: _ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
143
643
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
144
643
                      argument_types_),
145
643
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
146
643
                                    get_decimal_scale(*argument_types_[0]))) {
147
643
        if constexpr (is_decimal(T)) {
148
643
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
149
643
                    output_scale - get_decimal_scale(*argument_types_[0])));
150
643
        }
151
643
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
143
9
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
144
9
                      argument_types_),
145
9
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
146
9
                                    get_decimal_scale(*argument_types_[0]))) {
147
9
        if constexpr (is_decimal(T)) {
148
9
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
149
9
                    output_scale - get_decimal_scale(*argument_types_[0])));
150
9
        }
151
9
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
143
93
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
144
93
                      argument_types_),
145
93
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
146
93
                                    get_decimal_scale(*argument_types_[0]))) {
147
93
        if constexpr (is_decimal(T)) {
148
93
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
149
93
                    output_scale - get_decimal_scale(*argument_types_[0])));
150
93
        }
151
93
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
143
24
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
144
24
                      argument_types_),
145
24
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
146
24
                                    get_decimal_scale(*argument_types_[0]))) {
147
24
        if constexpr (is_decimal(T)) {
148
24
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
149
24
                    output_scale - get_decimal_scale(*argument_types_[0])));
150
24
        }
151
24
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
143
99
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
144
99
                      argument_types_),
145
99
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
146
99
                                    get_decimal_scale(*argument_types_[0]))) {
147
99
        if constexpr (is_decimal(T)) {
148
99
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
149
99
                    output_scale - get_decimal_scale(*argument_types_[0])));
150
99
        }
151
99
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
143
81
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
144
81
                      argument_types_),
145
81
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
146
81
                                    get_decimal_scale(*argument_types_[0]))) {
147
        if constexpr (is_decimal(T)) {
148
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
149
                    output_scale - get_decimal_scale(*argument_types_[0])));
150
        }
151
81
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
143
29
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
144
29
                      argument_types_),
145
29
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
146
29
                                    get_decimal_scale(*argument_types_[0]))) {
147
        if constexpr (is_decimal(T)) {
148
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
149
                    output_scale - get_decimal_scale(*argument_types_[0])));
150
        }
151
29
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
143
1.27k
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
144
1.27k
                      argument_types_),
145
1.27k
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
146
1.27k
                                    get_decimal_scale(*argument_types_[0]))) {
147
        if constexpr (is_decimal(T)) {
148
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
149
                    output_scale - get_decimal_scale(*argument_types_[0])));
150
        }
151
1.27k
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
143
376
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
144
376
                      argument_types_),
145
376
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
146
376
                                    get_decimal_scale(*argument_types_[0]))) {
147
        if constexpr (is_decimal(T)) {
148
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
149
                    output_scale - get_decimal_scale(*argument_types_[0])));
150
        }
151
376
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
143
2
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
144
2
                      argument_types_),
145
2
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
146
2
                                    get_decimal_scale(*argument_types_[0]))) {
147
        if constexpr (is_decimal(T)) {
148
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
149
                    output_scale - get_decimal_scale(*argument_types_[0])));
150
        }
151
2
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
143
273
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
144
273
                      argument_types_),
145
273
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
146
273
                                    get_decimal_scale(*argument_types_[0]))) {
147
        if constexpr (is_decimal(T)) {
148
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
149
                    output_scale - get_decimal_scale(*argument_types_[0])));
150
        }
151
273
    }
Unexecuted instantiation: _ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
143
50
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
144
50
                      argument_types_),
145
50
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
146
50
                                    get_decimal_scale(*argument_types_[0]))) {
147
        if constexpr (is_decimal(T)) {
148
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
149
                    output_scale - get_decimal_scale(*argument_types_[0])));
150
        }
151
50
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
143
38
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
144
38
                      argument_types_),
145
38
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
146
38
                                    get_decimal_scale(*argument_types_[0]))) {
147
        if constexpr (is_decimal(T)) {
148
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
149
                    output_scale - get_decimal_scale(*argument_types_[0])));
150
        }
151
38
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
143
46
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
144
46
                      argument_types_),
145
46
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
146
46
                                    get_decimal_scale(*argument_types_[0]))) {
147
        if constexpr (is_decimal(T)) {
148
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
149
                    output_scale - get_decimal_scale(*argument_types_[0])));
150
        }
151
46
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
143
38
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
144
38
                      argument_types_),
145
38
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
146
38
                                    get_decimal_scale(*argument_types_[0]))) {
147
        if constexpr (is_decimal(T)) {
148
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
149
                    output_scale - get_decimal_scale(*argument_types_[0])));
150
        }
151
38
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
143
38
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
144
38
                      argument_types_),
145
38
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
146
38
                                    get_decimal_scale(*argument_types_[0]))) {
147
        if constexpr (is_decimal(T)) {
148
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
149
                    output_scale - get_decimal_scale(*argument_types_[0])));
150
        }
151
38
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
143
42
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
144
42
                      argument_types_),
145
42
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
146
42
                                    get_decimal_scale(*argument_types_[0]))) {
147
        if constexpr (is_decimal(T)) {
148
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
149
                    output_scale - get_decimal_scale(*argument_types_[0])));
150
        }
151
42
    }
152
153
356
    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
153
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
153
20
    String get_name() const override { return "avg"; }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE8get_nameB5cxx11Ev
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE8get_nameB5cxx11Ev
Line
Count
Source
153
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
153
2
    String get_name() const override { return "avg"; }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE8get_nameB5cxx11Ev
Line
Count
Source
153
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
153
134
    String get_name() const override { return "avg"; }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE8get_nameB5cxx11Ev
Line
Count
Source
153
139
    String get_name() const override { return "avg"; }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE8get_nameB5cxx11Ev
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE8get_nameB5cxx11Ev
Line
Count
Source
153
18
    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
154
155
9.93k
    DataTypePtr get_return_type() const override {
156
9.93k
        if constexpr (is_decimal(T)) {
157
4.51k
            return std::make_shared<ResultDataType>(
158
4.51k
                    ResultDataType::max_precision(),
159
4.51k
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
160
5.42k
        } else {
161
5.42k
            return std::make_shared<ResultDataType>();
162
5.42k
        }
163
9.93k
    }
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
155
443
    DataTypePtr get_return_type() const override {
156
443
        if constexpr (is_decimal(T)) {
157
443
            return std::make_shared<ResultDataType>(
158
443
                    ResultDataType::max_precision(),
159
443
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
160
        } else {
161
            return std::make_shared<ResultDataType>();
162
        }
163
443
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE15get_return_typeEv
Line
Count
Source
155
18
    DataTypePtr get_return_type() const override {
156
18
        if constexpr (is_decimal(T)) {
157
18
            return std::make_shared<ResultDataType>(
158
18
                    ResultDataType::max_precision(),
159
18
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
160
        } else {
161
            return std::make_shared<ResultDataType>();
162
        }
163
18
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE15get_return_typeEv
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE15get_return_typeEv
Line
Count
Source
155
3.44k
    DataTypePtr get_return_type() const override {
156
3.44k
        if constexpr (is_decimal(T)) {
157
3.44k
            return std::make_shared<ResultDataType>(
158
3.44k
                    ResultDataType::max_precision(),
159
3.44k
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
160
        } else {
161
            return std::make_shared<ResultDataType>();
162
        }
163
3.44k
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE15get_return_typeEv
Line
Count
Source
155
20
    DataTypePtr get_return_type() const override {
156
20
        if constexpr (is_decimal(T)) {
157
20
            return std::make_shared<ResultDataType>(
158
20
                    ResultDataType::max_precision(),
159
20
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
160
        } else {
161
            return std::make_shared<ResultDataType>();
162
        }
163
20
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE15get_return_typeEv
Line
Count
Source
155
220
    DataTypePtr get_return_type() const override {
156
220
        if constexpr (is_decimal(T)) {
157
220
            return std::make_shared<ResultDataType>(
158
220
                    ResultDataType::max_precision(),
159
220
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
160
        } else {
161
            return std::make_shared<ResultDataType>();
162
        }
163
220
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE15get_return_typeEv
Line
Count
Source
155
92
    DataTypePtr get_return_type() const override {
156
92
        if constexpr (is_decimal(T)) {
157
92
            return std::make_shared<ResultDataType>(
158
92
                    ResultDataType::max_precision(),
159
92
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
160
        } else {
161
            return std::make_shared<ResultDataType>();
162
        }
163
92
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE15get_return_typeEv
Line
Count
Source
155
280
    DataTypePtr get_return_type() const override {
156
280
        if constexpr (is_decimal(T)) {
157
280
            return std::make_shared<ResultDataType>(
158
280
                    ResultDataType::max_precision(),
159
280
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
160
        } else {
161
            return std::make_shared<ResultDataType>();
162
        }
163
280
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE15get_return_typeEv
Line
Count
Source
155
321
    DataTypePtr get_return_type() const override {
156
        if constexpr (is_decimal(T)) {
157
            return std::make_shared<ResultDataType>(
158
                    ResultDataType::max_precision(),
159
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
160
321
        } else {
161
321
            return std::make_shared<ResultDataType>();
162
321
        }
163
321
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE15get_return_typeEv
Line
Count
Source
155
120
    DataTypePtr get_return_type() const override {
156
        if constexpr (is_decimal(T)) {
157
            return std::make_shared<ResultDataType>(
158
                    ResultDataType::max_precision(),
159
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
160
120
        } else {
161
120
            return std::make_shared<ResultDataType>();
162
120
        }
163
120
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE15get_return_typeEv
Line
Count
Source
155
1.62k
    DataTypePtr get_return_type() const override {
156
        if constexpr (is_decimal(T)) {
157
            return std::make_shared<ResultDataType>(
158
                    ResultDataType::max_precision(),
159
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
160
1.62k
        } else {
161
1.62k
            return std::make_shared<ResultDataType>();
162
1.62k
        }
163
1.62k
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE15get_return_typeEv
Line
Count
Source
155
1.04k
    DataTypePtr get_return_type() const override {
156
        if constexpr (is_decimal(T)) {
157
            return std::make_shared<ResultDataType>(
158
                    ResultDataType::max_precision(),
159
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
160
1.04k
        } else {
161
1.04k
            return std::make_shared<ResultDataType>();
162
1.04k
        }
163
1.04k
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE15get_return_typeEv
Line
Count
Source
155
6
    DataTypePtr get_return_type() const override {
156
        if constexpr (is_decimal(T)) {
157
            return std::make_shared<ResultDataType>(
158
                    ResultDataType::max_precision(),
159
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
160
6
        } else {
161
6
            return std::make_shared<ResultDataType>();
162
6
        }
163
6
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE15get_return_typeEv
Line
Count
Source
155
1.88k
    DataTypePtr get_return_type() const override {
156
        if constexpr (is_decimal(T)) {
157
            return std::make_shared<ResultDataType>(
158
                    ResultDataType::max_precision(),
159
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
160
1.88k
        } else {
161
1.88k
            return std::make_shared<ResultDataType>();
162
1.88k
        }
163
1.88k
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE15get_return_typeEv
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE15get_return_typeEv
Line
Count
Source
155
84
    DataTypePtr get_return_type() const override {
156
        if constexpr (is_decimal(T)) {
157
            return std::make_shared<ResultDataType>(
158
                    ResultDataType::max_precision(),
159
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
160
84
        } else {
161
84
            return std::make_shared<ResultDataType>();
162
84
        }
163
84
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE15get_return_typeEv
Line
Count
Source
155
66
    DataTypePtr get_return_type() const override {
156
        if constexpr (is_decimal(T)) {
157
            return std::make_shared<ResultDataType>(
158
                    ResultDataType::max_precision(),
159
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
160
66
        } else {
161
66
            return std::make_shared<ResultDataType>();
162
66
        }
163
66
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE15get_return_typeEv
Line
Count
Source
155
78
    DataTypePtr get_return_type() const override {
156
        if constexpr (is_decimal(T)) {
157
            return std::make_shared<ResultDataType>(
158
                    ResultDataType::max_precision(),
159
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
160
78
        } else {
161
78
            return std::make_shared<ResultDataType>();
162
78
        }
163
78
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE15get_return_typeEv
Line
Count
Source
155
66
    DataTypePtr get_return_type() const override {
156
        if constexpr (is_decimal(T)) {
157
            return std::make_shared<ResultDataType>(
158
                    ResultDataType::max_precision(),
159
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
160
66
        } else {
161
66
            return std::make_shared<ResultDataType>();
162
66
        }
163
66
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE15get_return_typeEv
Line
Count
Source
155
66
    DataTypePtr get_return_type() const override {
156
        if constexpr (is_decimal(T)) {
157
            return std::make_shared<ResultDataType>(
158
                    ResultDataType::max_precision(),
159
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
160
66
        } else {
161
66
            return std::make_shared<ResultDataType>();
162
66
        }
163
66
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE15get_return_typeEv
Line
Count
Source
155
72
    DataTypePtr get_return_type() const override {
156
        if constexpr (is_decimal(T)) {
157
            return std::make_shared<ResultDataType>(
158
                    ResultDataType::max_precision(),
159
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
160
72
        } else {
161
72
            return std::make_shared<ResultDataType>();
162
72
        }
163
72
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE15get_return_typeEv
164
165
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
166
167
    template <bool is_add>
168
    NO_SANITIZE_UNDEFINED void update_value(AggregateDataPtr __restrict place,
169
115M
                                            const IColumn** columns, ssize_t row_num) const {
170
115M
#ifdef __clang__
171
115M
#pragma clang fp reassociate(on)
172
115M
#endif
173
115M
        const auto& column =
174
115M
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
175
115M
        if constexpr (is_add) {
176
115M
            if constexpr (T == TYPE_DECIMALV2) {
177
0
                this->data(place).sum += column.get_data()[row_num];
178
114M
            } else if constexpr (is_decimal(T)) {
179
114M
                this->data(place).sum += column.get_data()[row_num].value;
180
114M
            } else {
181
1.78M
                this->data(place).sum += (DataType)column.get_data()[row_num];
182
1.78M
            }
183
115M
            ++this->data(place).count;
184
115M
        } else {
185
132
            if constexpr (T == TYPE_DECIMALV2) {
186
0
                this->data(place).sum += -column.get_data()[row_num];
187
20
            } else if constexpr (is_decimal(T)) {
188
20
                this->data(place).sum -= column.get_data()[row_num].value;
189
112
            } else {
190
112
                this->data(place).sum -= (DataType)column.get_data()[row_num];
191
112
            }
192
132
            --this->data(place).count;
193
132
        }
194
115M
    }
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
169
2.17M
                                            const IColumn** columns, ssize_t row_num) const {
170
2.17M
#ifdef __clang__
171
2.17M
#pragma clang fp reassociate(on)
172
2.17M
#endif
173
2.17M
        const auto& column =
174
2.17M
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
175
2.17M
        if constexpr (is_add) {
176
            if constexpr (T == TYPE_DECIMALV2) {
177
                this->data(place).sum += column.get_data()[row_num];
178
2.17M
            } else if constexpr (is_decimal(T)) {
179
2.17M
                this->data(place).sum += column.get_data()[row_num].value;
180
            } else {
181
                this->data(place).sum += (DataType)column.get_data()[row_num];
182
            }
183
2.17M
            ++this->data(place).count;
184
        } else {
185
            if constexpr (T == TYPE_DECIMALV2) {
186
                this->data(place).sum += -column.get_data()[row_num];
187
            } else if constexpr (is_decimal(T)) {
188
                this->data(place).sum -= column.get_data()[row_num].value;
189
            } else {
190
                this->data(place).sum -= (DataType)column.get_data()[row_num];
191
            }
192
            --this->data(place).count;
193
        }
194
2.17M
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
Line
Count
Source
169
20
                                            const IColumn** columns, ssize_t row_num) const {
170
20
#ifdef __clang__
171
20
#pragma clang fp reassociate(on)
172
20
#endif
173
20
        const auto& column =
174
20
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
175
        if constexpr (is_add) {
176
            if constexpr (T == TYPE_DECIMALV2) {
177
                this->data(place).sum += column.get_data()[row_num];
178
            } else if constexpr (is_decimal(T)) {
179
                this->data(place).sum += column.get_data()[row_num].value;
180
            } else {
181
                this->data(place).sum += (DataType)column.get_data()[row_num];
182
            }
183
            ++this->data(place).count;
184
20
        } else {
185
            if constexpr (T == TYPE_DECIMALV2) {
186
                this->data(place).sum += -column.get_data()[row_num];
187
20
            } else if constexpr (is_decimal(T)) {
188
20
                this->data(place).sum -= column.get_data()[row_num].value;
189
            } else {
190
                this->data(place).sum -= (DataType)column.get_data()[row_num];
191
            }
192
20
            --this->data(place).count;
193
20
        }
194
20
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
169
11
                                            const IColumn** columns, ssize_t row_num) const {
170
11
#ifdef __clang__
171
11
#pragma clang fp reassociate(on)
172
11
#endif
173
11
        const auto& column =
174
11
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
175
11
        if constexpr (is_add) {
176
            if constexpr (T == TYPE_DECIMALV2) {
177
                this->data(place).sum += column.get_data()[row_num];
178
11
            } else if constexpr (is_decimal(T)) {
179
11
                this->data(place).sum += column.get_data()[row_num].value;
180
            } else {
181
                this->data(place).sum += (DataType)column.get_data()[row_num];
182
            }
183
11
            ++this->data(place).count;
184
        } else {
185
            if constexpr (T == TYPE_DECIMALV2) {
186
                this->data(place).sum += -column.get_data()[row_num];
187
            } else if constexpr (is_decimal(T)) {
188
                this->data(place).sum -= column.get_data()[row_num].value;
189
            } else {
190
                this->data(place).sum -= (DataType)column.get_data()[row_num];
191
            }
192
            --this->data(place).count;
193
        }
194
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
169
112M
                                            const IColumn** columns, ssize_t row_num) const {
170
112M
#ifdef __clang__
171
112M
#pragma clang fp reassociate(on)
172
112M
#endif
173
112M
        const auto& column =
174
112M
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
175
112M
        if constexpr (is_add) {
176
            if constexpr (T == TYPE_DECIMALV2) {
177
                this->data(place).sum += column.get_data()[row_num];
178
112M
            } else if constexpr (is_decimal(T)) {
179
112M
                this->data(place).sum += column.get_data()[row_num].value;
180
            } else {
181
                this->data(place).sum += (DataType)column.get_data()[row_num];
182
            }
183
112M
            ++this->data(place).count;
184
        } else {
185
            if constexpr (T == TYPE_DECIMALV2) {
186
                this->data(place).sum += -column.get_data()[row_num];
187
            } else if constexpr (is_decimal(T)) {
188
                this->data(place).sum -= column.get_data()[row_num].value;
189
            } else {
190
                this->data(place).sum -= (DataType)column.get_data()[row_num];
191
            }
192
            --this->data(place).count;
193
        }
194
112M
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
169
48
                                            const IColumn** columns, ssize_t row_num) const {
170
48
#ifdef __clang__
171
48
#pragma clang fp reassociate(on)
172
48
#endif
173
48
        const auto& column =
174
48
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
175
48
        if constexpr (is_add) {
176
            if constexpr (T == TYPE_DECIMALV2) {
177
                this->data(place).sum += column.get_data()[row_num];
178
48
            } else if constexpr (is_decimal(T)) {
179
48
                this->data(place).sum += column.get_data()[row_num].value;
180
            } else {
181
                this->data(place).sum += (DataType)column.get_data()[row_num];
182
            }
183
48
            ++this->data(place).count;
184
        } else {
185
            if constexpr (T == TYPE_DECIMALV2) {
186
                this->data(place).sum += -column.get_data()[row_num];
187
            } else if constexpr (is_decimal(T)) {
188
                this->data(place).sum -= column.get_data()[row_num].value;
189
            } else {
190
                this->data(place).sum -= (DataType)column.get_data()[row_num];
191
            }
192
            --this->data(place).count;
193
        }
194
48
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
169
111
                                            const IColumn** columns, ssize_t row_num) const {
170
111
#ifdef __clang__
171
111
#pragma clang fp reassociate(on)
172
111
#endif
173
111
        const auto& column =
174
111
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
175
111
        if constexpr (is_add) {
176
            if constexpr (T == TYPE_DECIMALV2) {
177
                this->data(place).sum += column.get_data()[row_num];
178
111
            } else if constexpr (is_decimal(T)) {
179
111
                this->data(place).sum += column.get_data()[row_num].value;
180
            } else {
181
                this->data(place).sum += (DataType)column.get_data()[row_num];
182
            }
183
111
            ++this->data(place).count;
184
        } else {
185
            if constexpr (T == TYPE_DECIMALV2) {
186
                this->data(place).sum += -column.get_data()[row_num];
187
            } else if constexpr (is_decimal(T)) {
188
                this->data(place).sum -= column.get_data()[row_num].value;
189
            } else {
190
                this->data(place).sum -= (DataType)column.get_data()[row_num];
191
            }
192
            --this->data(place).count;
193
        }
194
111
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
169
233
                                            const IColumn** columns, ssize_t row_num) const {
170
233
#ifdef __clang__
171
233
#pragma clang fp reassociate(on)
172
233
#endif
173
233
        const auto& column =
174
233
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
175
233
        if constexpr (is_add) {
176
            if constexpr (T == TYPE_DECIMALV2) {
177
                this->data(place).sum += column.get_data()[row_num];
178
233
            } else if constexpr (is_decimal(T)) {
179
233
                this->data(place).sum += column.get_data()[row_num].value;
180
            } else {
181
                this->data(place).sum += (DataType)column.get_data()[row_num];
182
            }
183
233
            ++this->data(place).count;
184
        } else {
185
            if constexpr (T == TYPE_DECIMALV2) {
186
                this->data(place).sum += -column.get_data()[row_num];
187
            } else if constexpr (is_decimal(T)) {
188
                this->data(place).sum -= column.get_data()[row_num].value;
189
            } else {
190
                this->data(place).sum -= (DataType)column.get_data()[row_num];
191
            }
192
            --this->data(place).count;
193
        }
194
233
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
169
419
                                            const IColumn** columns, ssize_t row_num) const {
170
419
#ifdef __clang__
171
419
#pragma clang fp reassociate(on)
172
419
#endif
173
419
        const auto& column =
174
419
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
175
419
        if constexpr (is_add) {
176
            if constexpr (T == TYPE_DECIMALV2) {
177
                this->data(place).sum += column.get_data()[row_num];
178
419
            } else if constexpr (is_decimal(T)) {
179
419
                this->data(place).sum += column.get_data()[row_num].value;
180
            } else {
181
                this->data(place).sum += (DataType)column.get_data()[row_num];
182
            }
183
419
            ++this->data(place).count;
184
        } else {
185
            if constexpr (T == TYPE_DECIMALV2) {
186
                this->data(place).sum += -column.get_data()[row_num];
187
            } else if constexpr (is_decimal(T)) {
188
                this->data(place).sum -= column.get_data()[row_num].value;
189
            } else {
190
                this->data(place).sum -= (DataType)column.get_data()[row_num];
191
            }
192
            --this->data(place).count;
193
        }
194
419
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
169
169
                                            const IColumn** columns, ssize_t row_num) const {
170
169
#ifdef __clang__
171
169
#pragma clang fp reassociate(on)
172
169
#endif
173
169
        const auto& column =
174
169
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
175
169
        if constexpr (is_add) {
176
            if constexpr (T == TYPE_DECIMALV2) {
177
                this->data(place).sum += column.get_data()[row_num];
178
            } else if constexpr (is_decimal(T)) {
179
                this->data(place).sum += column.get_data()[row_num].value;
180
169
            } else {
181
169
                this->data(place).sum += (DataType)column.get_data()[row_num];
182
169
            }
183
169
            ++this->data(place).count;
184
        } else {
185
            if constexpr (T == TYPE_DECIMALV2) {
186
                this->data(place).sum += -column.get_data()[row_num];
187
            } else if constexpr (is_decimal(T)) {
188
                this->data(place).sum -= column.get_data()[row_num].value;
189
            } else {
190
                this->data(place).sum -= (DataType)column.get_data()[row_num];
191
            }
192
            --this->data(place).count;
193
        }
194
169
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
169
153
                                            const IColumn** columns, ssize_t row_num) const {
170
153
#ifdef __clang__
171
153
#pragma clang fp reassociate(on)
172
153
#endif
173
153
        const auto& column =
174
153
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
175
153
        if constexpr (is_add) {
176
            if constexpr (T == TYPE_DECIMALV2) {
177
                this->data(place).sum += column.get_data()[row_num];
178
            } else if constexpr (is_decimal(T)) {
179
                this->data(place).sum += column.get_data()[row_num].value;
180
153
            } else {
181
153
                this->data(place).sum += (DataType)column.get_data()[row_num];
182
153
            }
183
153
            ++this->data(place).count;
184
        } else {
185
            if constexpr (T == TYPE_DECIMALV2) {
186
                this->data(place).sum += -column.get_data()[row_num];
187
            } else if constexpr (is_decimal(T)) {
188
                this->data(place).sum -= column.get_data()[row_num].value;
189
            } else {
190
                this->data(place).sum -= (DataType)column.get_data()[row_num];
191
            }
192
            --this->data(place).count;
193
        }
194
153
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
169
10.3k
                                            const IColumn** columns, ssize_t row_num) const {
170
10.3k
#ifdef __clang__
171
10.3k
#pragma clang fp reassociate(on)
172
10.3k
#endif
173
10.3k
        const auto& column =
174
10.3k
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
175
10.3k
        if constexpr (is_add) {
176
            if constexpr (T == TYPE_DECIMALV2) {
177
                this->data(place).sum += column.get_data()[row_num];
178
            } else if constexpr (is_decimal(T)) {
179
                this->data(place).sum += column.get_data()[row_num].value;
180
10.3k
            } else {
181
10.3k
                this->data(place).sum += (DataType)column.get_data()[row_num];
182
10.3k
            }
183
10.3k
            ++this->data(place).count;
184
        } else {
185
            if constexpr (T == TYPE_DECIMALV2) {
186
                this->data(place).sum += -column.get_data()[row_num];
187
            } else if constexpr (is_decimal(T)) {
188
                this->data(place).sum -= column.get_data()[row_num].value;
189
            } else {
190
                this->data(place).sum -= (DataType)column.get_data()[row_num];
191
            }
192
            --this->data(place).count;
193
        }
194
10.3k
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
Line
Count
Source
169
12
                                            const IColumn** columns, ssize_t row_num) const {
170
12
#ifdef __clang__
171
12
#pragma clang fp reassociate(on)
172
12
#endif
173
12
        const auto& column =
174
12
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
175
        if constexpr (is_add) {
176
            if constexpr (T == TYPE_DECIMALV2) {
177
                this->data(place).sum += column.get_data()[row_num];
178
            } else if constexpr (is_decimal(T)) {
179
                this->data(place).sum += column.get_data()[row_num].value;
180
            } else {
181
                this->data(place).sum += (DataType)column.get_data()[row_num];
182
            }
183
            ++this->data(place).count;
184
12
        } else {
185
            if constexpr (T == TYPE_DECIMALV2) {
186
                this->data(place).sum += -column.get_data()[row_num];
187
            } else if constexpr (is_decimal(T)) {
188
                this->data(place).sum -= column.get_data()[row_num].value;
189
12
            } else {
190
12
                this->data(place).sum -= (DataType)column.get_data()[row_num];
191
12
            }
192
12
            --this->data(place).count;
193
12
        }
194
12
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
169
1.35k
                                            const IColumn** columns, ssize_t row_num) const {
170
1.35k
#ifdef __clang__
171
1.35k
#pragma clang fp reassociate(on)
172
1.35k
#endif
173
1.35k
        const auto& column =
174
1.35k
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
175
1.35k
        if constexpr (is_add) {
176
            if constexpr (T == TYPE_DECIMALV2) {
177
                this->data(place).sum += column.get_data()[row_num];
178
            } else if constexpr (is_decimal(T)) {
179
                this->data(place).sum += column.get_data()[row_num].value;
180
1.35k
            } else {
181
1.35k
                this->data(place).sum += (DataType)column.get_data()[row_num];
182
1.35k
            }
183
1.35k
            ++this->data(place).count;
184
        } else {
185
            if constexpr (T == TYPE_DECIMALV2) {
186
                this->data(place).sum += -column.get_data()[row_num];
187
            } else if constexpr (is_decimal(T)) {
188
                this->data(place).sum -= column.get_data()[row_num].value;
189
            } else {
190
                this->data(place).sum -= (DataType)column.get_data()[row_num];
191
            }
192
            --this->data(place).count;
193
        }
194
1.35k
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
Line
Count
Source
169
100
                                            const IColumn** columns, ssize_t row_num) const {
170
100
#ifdef __clang__
171
100
#pragma clang fp reassociate(on)
172
100
#endif
173
100
        const auto& column =
174
100
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
175
        if constexpr (is_add) {
176
            if constexpr (T == TYPE_DECIMALV2) {
177
                this->data(place).sum += column.get_data()[row_num];
178
            } else if constexpr (is_decimal(T)) {
179
                this->data(place).sum += column.get_data()[row_num].value;
180
            } else {
181
                this->data(place).sum += (DataType)column.get_data()[row_num];
182
            }
183
            ++this->data(place).count;
184
100
        } else {
185
            if constexpr (T == TYPE_DECIMALV2) {
186
                this->data(place).sum += -column.get_data()[row_num];
187
            } else if constexpr (is_decimal(T)) {
188
                this->data(place).sum -= column.get_data()[row_num].value;
189
100
            } else {
190
100
                this->data(place).sum -= (DataType)column.get_data()[row_num];
191
100
            }
192
100
            --this->data(place).count;
193
100
        }
194
100
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
169
1
                                            const IColumn** columns, ssize_t row_num) const {
170
1
#ifdef __clang__
171
1
#pragma clang fp reassociate(on)
172
1
#endif
173
1
        const auto& column =
174
1
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
175
1
        if constexpr (is_add) {
176
            if constexpr (T == TYPE_DECIMALV2) {
177
                this->data(place).sum += column.get_data()[row_num];
178
            } else if constexpr (is_decimal(T)) {
179
                this->data(place).sum += column.get_data()[row_num].value;
180
1
            } else {
181
1
                this->data(place).sum += (DataType)column.get_data()[row_num];
182
1
            }
183
1
            ++this->data(place).count;
184
        } else {
185
            if constexpr (T == TYPE_DECIMALV2) {
186
                this->data(place).sum += -column.get_data()[row_num];
187
            } else if constexpr (is_decimal(T)) {
188
                this->data(place).sum -= column.get_data()[row_num].value;
189
            } else {
190
                this->data(place).sum -= (DataType)column.get_data()[row_num];
191
            }
192
            --this->data(place).count;
193
        }
194
1
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
169
1.77M
                                            const IColumn** columns, ssize_t row_num) const {
170
1.77M
#ifdef __clang__
171
1.77M
#pragma clang fp reassociate(on)
172
1.77M
#endif
173
1.77M
        const auto& column =
174
1.77M
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
175
1.77M
        if constexpr (is_add) {
176
            if constexpr (T == TYPE_DECIMALV2) {
177
                this->data(place).sum += column.get_data()[row_num];
178
            } else if constexpr (is_decimal(T)) {
179
                this->data(place).sum += column.get_data()[row_num].value;
180
1.77M
            } else {
181
1.77M
                this->data(place).sum += (DataType)column.get_data()[row_num];
182
1.77M
            }
183
1.77M
            ++this->data(place).count;
184
        } else {
185
            if constexpr (T == TYPE_DECIMALV2) {
186
                this->data(place).sum += -column.get_data()[row_num];
187
            } else if constexpr (is_decimal(T)) {
188
                this->data(place).sum -= column.get_data()[row_num].value;
189
            } else {
190
                this->data(place).sum -= (DataType)column.get_data()[row_num];
191
            }
192
            --this->data(place).count;
193
        }
194
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
169
385
                                            const IColumn** columns, ssize_t row_num) const {
170
385
#ifdef __clang__
171
385
#pragma clang fp reassociate(on)
172
385
#endif
173
385
        const auto& column =
174
385
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
175
385
        if constexpr (is_add) {
176
            if constexpr (T == TYPE_DECIMALV2) {
177
                this->data(place).sum += column.get_data()[row_num];
178
            } else if constexpr (is_decimal(T)) {
179
                this->data(place).sum += column.get_data()[row_num].value;
180
385
            } else {
181
385
                this->data(place).sum += (DataType)column.get_data()[row_num];
182
385
            }
183
385
            ++this->data(place).count;
184
        } else {
185
            if constexpr (T == TYPE_DECIMALV2) {
186
                this->data(place).sum += -column.get_data()[row_num];
187
            } else if constexpr (is_decimal(T)) {
188
                this->data(place).sum -= column.get_data()[row_num].value;
189
            } else {
190
                this->data(place).sum -= (DataType)column.get_data()[row_num];
191
            }
192
            --this->data(place).count;
193
        }
194
385
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
169
329
                                            const IColumn** columns, ssize_t row_num) const {
170
329
#ifdef __clang__
171
329
#pragma clang fp reassociate(on)
172
329
#endif
173
329
        const auto& column =
174
329
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
175
329
        if constexpr (is_add) {
176
            if constexpr (T == TYPE_DECIMALV2) {
177
                this->data(place).sum += column.get_data()[row_num];
178
            } else if constexpr (is_decimal(T)) {
179
                this->data(place).sum += column.get_data()[row_num].value;
180
329
            } else {
181
329
                this->data(place).sum += (DataType)column.get_data()[row_num];
182
329
            }
183
329
            ++this->data(place).count;
184
        } else {
185
            if constexpr (T == TYPE_DECIMALV2) {
186
                this->data(place).sum += -column.get_data()[row_num];
187
            } else if constexpr (is_decimal(T)) {
188
                this->data(place).sum -= column.get_data()[row_num].value;
189
            } else {
190
                this->data(place).sum -= (DataType)column.get_data()[row_num];
191
            }
192
            --this->data(place).count;
193
        }
194
329
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
169
327
                                            const IColumn** columns, ssize_t row_num) const {
170
327
#ifdef __clang__
171
327
#pragma clang fp reassociate(on)
172
327
#endif
173
327
        const auto& column =
174
327
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
175
327
        if constexpr (is_add) {
176
            if constexpr (T == TYPE_DECIMALV2) {
177
                this->data(place).sum += column.get_data()[row_num];
178
            } else if constexpr (is_decimal(T)) {
179
                this->data(place).sum += column.get_data()[row_num].value;
180
327
            } else {
181
327
                this->data(place).sum += (DataType)column.get_data()[row_num];
182
327
            }
183
327
            ++this->data(place).count;
184
        } else {
185
            if constexpr (T == TYPE_DECIMALV2) {
186
                this->data(place).sum += -column.get_data()[row_num];
187
            } else if constexpr (is_decimal(T)) {
188
                this->data(place).sum -= column.get_data()[row_num].value;
189
            } else {
190
                this->data(place).sum -= (DataType)column.get_data()[row_num];
191
            }
192
            --this->data(place).count;
193
        }
194
327
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
169
421
                                            const IColumn** columns, ssize_t row_num) const {
170
421
#ifdef __clang__
171
421
#pragma clang fp reassociate(on)
172
421
#endif
173
421
        const auto& column =
174
421
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
175
421
        if constexpr (is_add) {
176
            if constexpr (T == TYPE_DECIMALV2) {
177
                this->data(place).sum += column.get_data()[row_num];
178
            } else if constexpr (is_decimal(T)) {
179
                this->data(place).sum += column.get_data()[row_num].value;
180
421
            } else {
181
421
                this->data(place).sum += (DataType)column.get_data()[row_num];
182
421
            }
183
421
            ++this->data(place).count;
184
        } else {
185
            if constexpr (T == TYPE_DECIMALV2) {
186
                this->data(place).sum += -column.get_data()[row_num];
187
            } else if constexpr (is_decimal(T)) {
188
                this->data(place).sum -= column.get_data()[row_num].value;
189
            } else {
190
                this->data(place).sum -= (DataType)column.get_data()[row_num];
191
            }
192
            --this->data(place).count;
193
        }
194
421
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
169
198
                                            const IColumn** columns, ssize_t row_num) const {
170
198
#ifdef __clang__
171
198
#pragma clang fp reassociate(on)
172
198
#endif
173
198
        const auto& column =
174
198
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
175
198
        if constexpr (is_add) {
176
            if constexpr (T == TYPE_DECIMALV2) {
177
                this->data(place).sum += column.get_data()[row_num];
178
            } else if constexpr (is_decimal(T)) {
179
                this->data(place).sum += column.get_data()[row_num].value;
180
198
            } else {
181
198
                this->data(place).sum += (DataType)column.get_data()[row_num];
182
198
            }
183
198
            ++this->data(place).count;
184
        } else {
185
            if constexpr (T == TYPE_DECIMALV2) {
186
                this->data(place).sum += -column.get_data()[row_num];
187
            } else if constexpr (is_decimal(T)) {
188
                this->data(place).sum -= column.get_data()[row_num].value;
189
            } else {
190
                this->data(place).sum -= (DataType)column.get_data()[row_num];
191
            }
192
            --this->data(place).count;
193
        }
194
198
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
169
315
                                            const IColumn** columns, ssize_t row_num) const {
170
315
#ifdef __clang__
171
315
#pragma clang fp reassociate(on)
172
315
#endif
173
315
        const auto& column =
174
315
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
175
315
        if constexpr (is_add) {
176
            if constexpr (T == TYPE_DECIMALV2) {
177
                this->data(place).sum += column.get_data()[row_num];
178
            } else if constexpr (is_decimal(T)) {
179
                this->data(place).sum += column.get_data()[row_num].value;
180
315
            } else {
181
315
                this->data(place).sum += (DataType)column.get_data()[row_num];
182
315
            }
183
315
            ++this->data(place).count;
184
        } else {
185
            if constexpr (T == TYPE_DECIMALV2) {
186
                this->data(place).sum += -column.get_data()[row_num];
187
            } else if constexpr (is_decimal(T)) {
188
                this->data(place).sum -= column.get_data()[row_num].value;
189
            } else {
190
                this->data(place).sum -= (DataType)column.get_data()[row_num];
191
            }
192
            --this->data(place).count;
193
        }
194
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
195
196
    void add(AggregateDataPtr __restrict place, const IColumn** columns, ssize_t row_num,
197
115M
             Arena&) const override {
198
115M
        update_value<true>(place, columns, row_num);
199
115M
    }
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
197
2.17M
             Arena&) const override {
198
2.17M
        update_value<true>(place, columns, row_num);
199
2.17M
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
197
11
             Arena&) const override {
198
11
        update_value<true>(place, columns, row_num);
199
11
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
197
111M
             Arena&) const override {
198
111M
        update_value<true>(place, columns, row_num);
199
111M
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
197
48
             Arena&) const override {
198
48
        update_value<true>(place, columns, row_num);
199
48
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
197
111
             Arena&) const override {
198
111
        update_value<true>(place, columns, row_num);
199
111
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
197
233
             Arena&) const override {
198
233
        update_value<true>(place, columns, row_num);
199
233
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
197
419
             Arena&) const override {
198
419
        update_value<true>(place, columns, row_num);
199
419
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
197
168
             Arena&) const override {
198
168
        update_value<true>(place, columns, row_num);
199
168
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
197
153
             Arena&) const override {
198
153
        update_value<true>(place, columns, row_num);
199
153
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
197
10.2k
             Arena&) const override {
198
10.2k
        update_value<true>(place, columns, row_num);
199
10.2k
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
197
893
             Arena&) const override {
198
893
        update_value<true>(place, columns, row_num);
199
893
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
197
1
             Arena&) const override {
198
1
        update_value<true>(place, columns, row_num);
199
1
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
197
1.77M
             Arena&) const override {
198
1.77M
        update_value<true>(place, columns, row_num);
199
1.77M
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
197
385
             Arena&) const override {
198
385
        update_value<true>(place, columns, row_num);
199
385
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
197
329
             Arena&) const override {
198
329
        update_value<true>(place, columns, row_num);
199
329
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
197
327
             Arena&) const override {
198
327
        update_value<true>(place, columns, row_num);
199
327
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
197
421
             Arena&) const override {
198
421
        update_value<true>(place, columns, row_num);
199
421
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
197
198
             Arena&) const override {
198
198
        update_value<true>(place, columns, row_num);
199
198
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
197
315
             Arena&) const override {
198
315
        update_value<true>(place, columns, row_num);
199
315
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
200
201
1.02k
    void reset(AggregateDataPtr place) const override {
202
1.02k
        this->data(place).sum = {};
203
1.02k
        this->data(place).count = 0;
204
1.02k
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionAvgDataILS1_28EEEE5resetEPc
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE5resetEPc
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE5resetEPc
Line
Count
Source
201
8
    void reset(AggregateDataPtr place) const override {
202
8
        this->data(place).sum = {};
203
8
        this->data(place).count = 0;
204
8
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE5resetEPc
Line
Count
Source
201
4
    void reset(AggregateDataPtr place) const override {
202
4
        this->data(place).sum = {};
203
4
        this->data(place).count = 0;
204
4
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE5resetEPc
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE5resetEPc
Line
Count
Source
201
63
    void reset(AggregateDataPtr place) const override {
202
63
        this->data(place).sum = {};
203
63
        this->data(place).count = 0;
204
63
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE5resetEPc
Line
Count
Source
201
17
    void reset(AggregateDataPtr place) const override {
202
17
        this->data(place).sum = {};
203
17
        this->data(place).count = 0;
204
17
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE5resetEPc
Line
Count
Source
201
31
    void reset(AggregateDataPtr place) const override {
202
31
        this->data(place).sum = {};
203
31
        this->data(place).count = 0;
204
31
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE5resetEPc
Line
Count
Source
201
20
    void reset(AggregateDataPtr place) const override {
202
20
        this->data(place).sum = {};
203
20
        this->data(place).count = 0;
204
20
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE5resetEPc
Line
Count
Source
201
121
    void reset(AggregateDataPtr place) const override {
202
121
        this->data(place).sum = {};
203
121
        this->data(place).count = 0;
204
121
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE5resetEPc
Line
Count
Source
201
1
    void reset(AggregateDataPtr place) const override {
202
1
        this->data(place).sum = {};
203
1
        this->data(place).count = 0;
204
1
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE5resetEPc
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE5resetEPc
Line
Count
Source
201
141
    void reset(AggregateDataPtr place) const override {
202
141
        this->data(place).sum = {};
203
141
        this->data(place).count = 0;
204
141
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE5resetEPc
Line
Count
Source
201
112
    void reset(AggregateDataPtr place) const override {
202
112
        this->data(place).sum = {};
203
112
        this->data(place).count = 0;
204
112
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE5resetEPc
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5resetEPc
Line
Count
Source
201
91
    void reset(AggregateDataPtr place) const override {
202
91
        this->data(place).sum = {};
203
91
        this->data(place).count = 0;
204
91
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE5resetEPc
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5resetEPc
Line
Count
Source
201
73
    void reset(AggregateDataPtr place) const override {
202
73
        this->data(place).sum = {};
203
73
        this->data(place).count = 0;
204
73
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5resetEPc
Line
Count
Source
201
75
    void reset(AggregateDataPtr place) const override {
202
75
        this->data(place).sum = {};
203
75
        this->data(place).count = 0;
204
75
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5resetEPc
Line
Count
Source
201
76
    void reset(AggregateDataPtr place) const override {
202
76
        this->data(place).sum = {};
203
76
        this->data(place).count = 0;
204
76
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5resetEPc
Line
Count
Source
201
67
    void reset(AggregateDataPtr place) const override {
202
67
        this->data(place).sum = {};
203
67
        this->data(place).count = 0;
204
67
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5resetEPc
Line
Count
Source
201
56
    void reset(AggregateDataPtr place) const override {
202
56
        this->data(place).sum = {};
203
56
        this->data(place).count = 0;
204
56
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5resetEPc
Line
Count
Source
201
68
    void reset(AggregateDataPtr place) const override {
202
68
        this->data(place).sum = {};
203
68
        this->data(place).count = 0;
204
68
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5resetEPc
205
206
    NO_SANITIZE_UNDEFINED void merge(AggregateDataPtr __restrict place, ConstAggregateDataPtr rhs,
207
3.32k
                                     Arena&) const override {
208
3.32k
        if constexpr (T == TYPE_DECIMALV2) {
209
0
            this->data(place).sum += this->data(rhs).sum;
210
1.66k
        } else if constexpr (is_decimal(T)) {
211
1.66k
            this->data(place).sum += this->data(rhs).sum.value;
212
1.66k
        } else {
213
1.65k
            this->data(place).sum += this->data(rhs).sum;
214
1.65k
        }
215
3.32k
        this->data(place).count += this->data(rhs).count;
216
3.32k
    }
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
207
33
                                     Arena&) const override {
208
        if constexpr (T == TYPE_DECIMALV2) {
209
            this->data(place).sum += this->data(rhs).sum;
210
33
        } else if constexpr (is_decimal(T)) {
211
33
            this->data(place).sum += this->data(rhs).sum.value;
212
        } else {
213
            this->data(place).sum += this->data(rhs).sum;
214
        }
215
33
        this->data(place).count += this->data(rhs).count;
216
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
207
1.57k
                                     Arena&) const override {
208
        if constexpr (T == TYPE_DECIMALV2) {
209
            this->data(place).sum += this->data(rhs).sum;
210
1.57k
        } else if constexpr (is_decimal(T)) {
211
1.57k
            this->data(place).sum += this->data(rhs).sum.value;
212
        } else {
213
            this->data(place).sum += this->data(rhs).sum;
214
        }
215
1.57k
        this->data(place).count += this->data(rhs).count;
216
1.57k
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE5mergeEPcPKcRNS_5ArenaE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
207
41
                                     Arena&) const override {
208
        if constexpr (T == TYPE_DECIMALV2) {
209
            this->data(place).sum += this->data(rhs).sum;
210
41
        } else if constexpr (is_decimal(T)) {
211
41
            this->data(place).sum += this->data(rhs).sum.value;
212
        } else {
213
            this->data(place).sum += this->data(rhs).sum;
214
        }
215
41
        this->data(place).count += this->data(rhs).count;
216
41
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE5mergeEPcPKcRNS_5ArenaE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
207
18
                                     Arena&) const override {
208
        if constexpr (T == TYPE_DECIMALV2) {
209
            this->data(place).sum += this->data(rhs).sum;
210
18
        } else if constexpr (is_decimal(T)) {
211
18
            this->data(place).sum += this->data(rhs).sum.value;
212
        } else {
213
            this->data(place).sum += this->data(rhs).sum;
214
        }
215
18
        this->data(place).count += this->data(rhs).count;
216
18
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
207
36
                                     Arena&) const override {
208
        if constexpr (T == TYPE_DECIMALV2) {
209
            this->data(place).sum += this->data(rhs).sum;
210
        } else if constexpr (is_decimal(T)) {
211
            this->data(place).sum += this->data(rhs).sum.value;
212
36
        } else {
213
36
            this->data(place).sum += this->data(rhs).sum;
214
36
        }
215
36
        this->data(place).count += this->data(rhs).count;
216
36
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
207
31
                                     Arena&) const override {
208
        if constexpr (T == TYPE_DECIMALV2) {
209
            this->data(place).sum += this->data(rhs).sum;
210
        } else if constexpr (is_decimal(T)) {
211
            this->data(place).sum += this->data(rhs).sum.value;
212
31
        } else {
213
31
            this->data(place).sum += this->data(rhs).sum;
214
31
        }
215
31
        this->data(place).count += this->data(rhs).count;
216
31
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
207
383
                                     Arena&) const override {
208
        if constexpr (T == TYPE_DECIMALV2) {
209
            this->data(place).sum += this->data(rhs).sum;
210
        } else if constexpr (is_decimal(T)) {
211
            this->data(place).sum += this->data(rhs).sum.value;
212
383
        } else {
213
383
            this->data(place).sum += this->data(rhs).sum;
214
383
        }
215
383
        this->data(place).count += this->data(rhs).count;
216
383
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
207
253
                                     Arena&) const override {
208
        if constexpr (T == TYPE_DECIMALV2) {
209
            this->data(place).sum += this->data(rhs).sum;
210
        } else if constexpr (is_decimal(T)) {
211
            this->data(place).sum += this->data(rhs).sum.value;
212
253
        } else {
213
253
            this->data(place).sum += this->data(rhs).sum;
214
253
        }
215
253
        this->data(place).count += this->data(rhs).count;
216
253
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE5mergeEPcPKcRNS_5ArenaE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
207
955
                                     Arena&) const override {
208
        if constexpr (T == TYPE_DECIMALV2) {
209
            this->data(place).sum += this->data(rhs).sum;
210
        } else if constexpr (is_decimal(T)) {
211
            this->data(place).sum += this->data(rhs).sum.value;
212
955
        } else {
213
955
            this->data(place).sum += this->data(rhs).sum;
214
955
        }
215
955
        this->data(place).count += this->data(rhs).count;
216
955
    }
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
217
218
179
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
219
179
        this->data(place).write(buf);
220
179
    }
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
218
3
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
219
3
        this->data(place).write(buf);
220
3
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE9serializeEPKcRNS_14BufferWritableE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
218
10
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
219
10
        this->data(place).write(buf);
220
10
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE9serializeEPKcRNS_14BufferWritableE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
218
13
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
219
13
        this->data(place).write(buf);
220
13
    }
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
218
130
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
219
130
        this->data(place).write(buf);
220
130
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
218
23
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
219
23
        this->data(place).write(buf);
220
23
    }
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
221
222
    void deserialize(AggregateDataPtr __restrict place, BufferReadable& buf,
223
197
                     Arena&) const override {
224
197
        this->data(place).read(buf);
225
197
    }
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
223
3
                     Arena&) const override {
224
3
        this->data(place).read(buf);
225
3
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
223
10
                     Arena&) const override {
224
10
        this->data(place).read(buf);
225
10
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
223
13
                     Arena&) const override {
224
13
        this->data(place).read(buf);
225
13
    }
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
223
136
                     Arena&) const override {
224
136
        this->data(place).read(buf);
225
136
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
223
35
                     Arena&) const override {
224
35
        this->data(place).read(buf);
225
35
    }
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
226
227
5.60k
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
228
5.60k
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
229
5.60k
        if constexpr (is_decimal(T)) {
230
2.76k
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
231
2.84k
        } else {
232
2.84k
            column.get_data().push_back(this->data(place).template result<ResultType>());
233
2.84k
        }
234
5.60k
    }
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
227
108
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
228
108
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
229
108
        if constexpr (is_decimal(T)) {
230
108
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
231
        } else {
232
            column.get_data().push_back(this->data(place).template result<ResultType>());
233
        }
234
108
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
227
5
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
228
5
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
229
5
        if constexpr (is_decimal(T)) {
230
5
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
231
        } else {
232
            column.get_data().push_back(this->data(place).template result<ResultType>());
233
        }
234
5
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE18insert_result_intoEPKcRNS_7IColumnE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
227
2.41k
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
228
2.41k
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
229
2.41k
        if constexpr (is_decimal(T)) {
230
2.41k
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
231
        } else {
232
            column.get_data().push_back(this->data(place).template result<ResultType>());
233
        }
234
2.41k
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
227
18
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
228
18
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
229
18
        if constexpr (is_decimal(T)) {
230
18
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
231
        } else {
232
            column.get_data().push_back(this->data(place).template result<ResultType>());
233
        }
234
18
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
227
52
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
228
52
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
229
52
        if constexpr (is_decimal(T)) {
230
52
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
231
        } else {
232
            column.get_data().push_back(this->data(place).template result<ResultType>());
233
        }
234
52
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
227
20
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
228
20
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
229
20
        if constexpr (is_decimal(T)) {
230
20
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
231
        } else {
232
            column.get_data().push_back(this->data(place).template result<ResultType>());
233
        }
234
20
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
227
141
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
228
141
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
229
141
        if constexpr (is_decimal(T)) {
230
141
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
231
        } else {
232
            column.get_data().push_back(this->data(place).template result<ResultType>());
233
        }
234
141
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
227
76
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
228
76
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
229
        if constexpr (is_decimal(T)) {
230
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
231
76
        } else {
232
76
            column.get_data().push_back(this->data(place).template result<ResultType>());
233
76
        }
234
76
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
227
52
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
228
52
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
229
        if constexpr (is_decimal(T)) {
230
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
231
52
        } else {
232
52
            column.get_data().push_back(this->data(place).template result<ResultType>());
233
52
        }
234
52
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
227
489
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
228
489
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
229
        if constexpr (is_decimal(T)) {
230
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
231
489
        } else {
232
489
            column.get_data().push_back(this->data(place).template result<ResultType>());
233
489
        }
234
489
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
227
696
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
228
696
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
229
        if constexpr (is_decimal(T)) {
230
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
231
696
        } else {
232
696
            column.get_data().push_back(this->data(place).template result<ResultType>());
233
696
        }
234
696
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
227
1
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
228
1
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
229
        if constexpr (is_decimal(T)) {
230
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
231
1
        } else {
232
1
            column.get_data().push_back(this->data(place).template result<ResultType>());
233
1
        }
234
1
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
227
1.15k
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
228
1.15k
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
229
        if constexpr (is_decimal(T)) {
230
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
231
1.15k
        } else {
232
1.15k
            column.get_data().push_back(this->data(place).template result<ResultType>());
233
1.15k
        }
234
1.15k
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE18insert_result_intoEPKcRNS_7IColumnE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
227
68
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
228
68
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
229
        if constexpr (is_decimal(T)) {
230
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
231
68
        } else {
232
68
            column.get_data().push_back(this->data(place).template result<ResultType>());
233
68
        }
234
68
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
227
66
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
228
66
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
229
        if constexpr (is_decimal(T)) {
230
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
231
66
        } else {
232
66
            column.get_data().push_back(this->data(place).template result<ResultType>());
233
66
        }
234
66
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
227
71
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
228
71
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
229
        if constexpr (is_decimal(T)) {
230
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
231
71
        } else {
232
71
            column.get_data().push_back(this->data(place).template result<ResultType>());
233
71
        }
234
71
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
227
62
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
228
62
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
229
        if constexpr (is_decimal(T)) {
230
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
231
62
        } else {
232
62
            column.get_data().push_back(this->data(place).template result<ResultType>());
233
62
        }
234
62
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
227
51
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
228
51
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
229
        if constexpr (is_decimal(T)) {
230
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
231
51
        } else {
232
51
            column.get_data().push_back(this->data(place).template result<ResultType>());
233
51
        }
234
51
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
227
63
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
228
63
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
229
        if constexpr (is_decimal(T)) {
230
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
231
63
        } else {
232
63
            column.get_data().push_back(this->data(place).template result<ResultType>());
233
63
        }
234
63
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE18insert_result_intoEPKcRNS_7IColumnE
235
236
    void serialize_to_column(const std::vector<AggregateDataPtr>& places, size_t offset,
237
2.95k
                             MutableColumnPtr& dst, const size_t num_rows) const override {
238
2.95k
        auto& col = assert_cast<ColumnFixedLengthObject&>(*dst);
239
2.95k
        col.set_item_size(sizeof(Data));
240
2.95k
        col.resize(num_rows);
241
2.95k
        auto* data = col.get_data().data();
242
6.21k
        for (size_t i = 0; i != num_rows; ++i) {
243
3.25k
            *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) =
244
3.25k
                    *reinterpret_cast<Data*>(places[i] + offset);
245
3.25k
        }
246
2.95k
    }
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
237
22
                             MutableColumnPtr& dst, const size_t num_rows) const override {
238
22
        auto& col = assert_cast<ColumnFixedLengthObject&>(*dst);
239
22
        col.set_item_size(sizeof(Data));
240
22
        col.resize(num_rows);
241
22
        auto* data = col.get_data().data();
242
80
        for (size_t i = 0; i != num_rows; ++i) {
243
58
            *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) =
244
58
                    *reinterpret_cast<Data*>(places[i] + offset);
245
58
        }
246
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
237
1.92k
                             MutableColumnPtr& dst, const size_t num_rows) const override {
238
1.92k
        auto& col = assert_cast<ColumnFixedLengthObject&>(*dst);
239
1.92k
        col.set_item_size(sizeof(Data));
240
1.92k
        col.resize(num_rows);
241
1.92k
        auto* data = col.get_data().data();
242
3.45k
        for (size_t i = 0; i != num_rows; ++i) {
243
1.52k
            *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) =
244
1.52k
                    *reinterpret_cast<Data*>(places[i] + offset);
245
1.52k
        }
246
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
237
33
                             MutableColumnPtr& dst, const size_t num_rows) const override {
238
33
        auto& col = assert_cast<ColumnFixedLengthObject&>(*dst);
239
33
        col.set_item_size(sizeof(Data));
240
33
        col.resize(num_rows);
241
33
        auto* data = col.get_data().data();
242
64
        for (size_t i = 0; i != num_rows; ++i) {
243
31
            *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) =
244
31
                    *reinterpret_cast<Data*>(places[i] + offset);
245
31
        }
246
33
    }
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
237
10
                             MutableColumnPtr& dst, const size_t num_rows) const override {
238
10
        auto& col = assert_cast<ColumnFixedLengthObject&>(*dst);
239
10
        col.set_item_size(sizeof(Data));
240
10
        col.resize(num_rows);
241
10
        auto* data = col.get_data().data();
242
12
        for (size_t i = 0; i != num_rows; ++i) {
243
2
            *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) =
244
2
                    *reinterpret_cast<Data*>(places[i] + offset);
245
2
        }
246
10
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm
Line
Count
Source
237
56
                             MutableColumnPtr& dst, const size_t num_rows) const override {
238
56
        auto& col = assert_cast<ColumnFixedLengthObject&>(*dst);
239
56
        col.set_item_size(sizeof(Data));
240
56
        col.resize(num_rows);
241
56
        auto* data = col.get_data().data();
242
120
        for (size_t i = 0; i != num_rows; ++i) {
243
64
            *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) =
244
64
                    *reinterpret_cast<Data*>(places[i] + offset);
245
64
        }
246
56
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm
Line
Count
Source
237
39
                             MutableColumnPtr& dst, const size_t num_rows) const override {
238
39
        auto& col = assert_cast<ColumnFixedLengthObject&>(*dst);
239
39
        col.set_item_size(sizeof(Data));
240
39
        col.resize(num_rows);
241
39
        auto* data = col.get_data().data();
242
111
        for (size_t i = 0; i != num_rows; ++i) {
243
72
            *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) =
244
72
                    *reinterpret_cast<Data*>(places[i] + offset);
245
72
        }
246
39
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm
Line
Count
Source
237
361
                             MutableColumnPtr& dst, const size_t num_rows) const override {
238
361
        auto& col = assert_cast<ColumnFixedLengthObject&>(*dst);
239
361
        col.set_item_size(sizeof(Data));
240
361
        col.resize(num_rows);
241
361
        auto* data = col.get_data().data();
242
645
        for (size_t i = 0; i != num_rows; ++i) {
243
284
            *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) =
244
284
                    *reinterpret_cast<Data*>(places[i] + offset);
245
284
        }
246
361
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm
Line
Count
Source
237
38
                             MutableColumnPtr& dst, const size_t num_rows) const override {
238
38
        auto& col = assert_cast<ColumnFixedLengthObject&>(*dst);
239
38
        col.set_item_size(sizeof(Data));
240
38
        col.resize(num_rows);
241
38
        auto* data = col.get_data().data();
242
282
        for (size_t i = 0; i != num_rows; ++i) {
243
244
            *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) =
244
244
                    *reinterpret_cast<Data*>(places[i] + offset);
245
244
        }
246
38
    }
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
237
467
                             MutableColumnPtr& dst, const size_t num_rows) const override {
238
467
        auto& col = assert_cast<ColumnFixedLengthObject&>(*dst);
239
467
        col.set_item_size(sizeof(Data));
240
467
        col.resize(num_rows);
241
467
        auto* data = col.get_data().data();
242
1.44k
        for (size_t i = 0; i != num_rows; ++i) {
243
980
            *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) =
244
980
                    *reinterpret_cast<Data*>(places[i] + offset);
245
980
        }
246
467
    }
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
247
248
    void streaming_agg_serialize_to_column(const IColumn** columns, MutableColumnPtr& dst,
249
75
                                           const size_t num_rows, Arena&) const override {
250
75
        auto* src_data = assert_cast<const ColVecType&>(*columns[0]).get_data().data();
251
75
        auto& dst_col = assert_cast<ColumnFixedLengthObject&>(*dst);
252
75
        dst_col.set_item_size(sizeof(Data));
253
75
        dst_col.resize(num_rows);
254
75
        auto* data = dst_col.get_data().data();
255
8.35k
        for (size_t i = 0; i != num_rows; ++i) {
256
8.28k
            auto& state = *reinterpret_cast<Data*>(&data[sizeof(Data) * i]);
257
8.28k
            state.sum = typename Data::ResultType(src_data[i]);
258
8.28k
            state.count = 1;
259
8.28k
        }
260
75
    }
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
249
1
                                           const size_t num_rows, Arena&) const override {
250
1
        auto* src_data = assert_cast<const ColVecType&>(*columns[0]).get_data().data();
251
1
        auto& dst_col = assert_cast<ColumnFixedLengthObject&>(*dst);
252
1
        dst_col.set_item_size(sizeof(Data));
253
1
        dst_col.resize(num_rows);
254
1
        auto* data = dst_col.get_data().data();
255
2
        for (size_t i = 0; i != num_rows; ++i) {
256
1
            auto& state = *reinterpret_cast<Data*>(&data[sizeof(Data) * i]);
257
1
            state.sum = typename Data::ResultType(src_data[i]);
258
1
            state.count = 1;
259
1
        }
260
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
249
73
                                           const size_t num_rows, Arena&) const override {
250
73
        auto* src_data = assert_cast<const ColVecType&>(*columns[0]).get_data().data();
251
73
        auto& dst_col = assert_cast<ColumnFixedLengthObject&>(*dst);
252
73
        dst_col.set_item_size(sizeof(Data));
253
73
        dst_col.resize(num_rows);
254
73
        auto* data = dst_col.get_data().data();
255
8.35k
        for (size_t i = 0; i != num_rows; ++i) {
256
8.27k
            auto& state = *reinterpret_cast<Data*>(&data[sizeof(Data) * i]);
257
8.27k
            state.sum = typename Data::ResultType(src_data[i]);
258
8.27k
            state.count = 1;
259
8.27k
        }
260
73
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE
Line
Count
Source
249
1
                                           const size_t num_rows, Arena&) const override {
250
1
        auto* src_data = assert_cast<const ColVecType&>(*columns[0]).get_data().data();
251
1
        auto& dst_col = assert_cast<ColumnFixedLengthObject&>(*dst);
252
1
        dst_col.set_item_size(sizeof(Data));
253
1
        dst_col.resize(num_rows);
254
1
        auto* data = dst_col.get_data().data();
255
4
        for (size_t i = 0; i != num_rows; ++i) {
256
3
            auto& state = *reinterpret_cast<Data*>(&data[sizeof(Data) * i]);
257
3
            state.sum = typename Data::ResultType(src_data[i]);
258
3
            state.count = 1;
259
3
        }
260
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
261
262
    NO_SANITIZE_UNDEFINED void deserialize_and_merge_from_column_range(
263
            AggregateDataPtr __restrict place, const IColumn& column, size_t begin, size_t end,
264
8.61k
            Arena&) const override {
265
8.61k
        DCHECK(end <= column.size() && begin <= end)
266
34
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
8.61k
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
8.61k
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
17.2k
        for (size_t i = begin; i <= end; ++i) {
270
8.65k
            this->data(place).sum += data[i].sum;
271
8.65k
            this->data(place).count += data[i].count;
272
8.65k
        }
273
8.61k
    }
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
264
115
            Arena&) const override {
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
264
1
            Arena&) const override {
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
264
166
            Arena&) const override {
265
166
        DCHECK(end <= column.size() && begin <= end)
266
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
166
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
166
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
332
        for (size_t i = begin; i <= end; ++i) {
270
166
            this->data(place).sum += data[i].sum;
271
166
            this->data(place).count += data[i].count;
272
166
        }
273
166
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
264
1
            Arena&) const override {
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
264
4
            Arena&) const override {
265
4
        DCHECK(end <= column.size() && begin <= end)
266
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
4
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
4
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
8
        for (size_t i = begin; i <= end; ++i) {
270
4
            this->data(place).sum += data[i].sum;
271
4
            this->data(place).count += data[i].count;
272
4
        }
273
4
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
264
7
            Arena&) const override {
265
7
        DCHECK(end <= column.size() && begin <= end)
266
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
7
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
7
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
14
        for (size_t i = begin; i <= end; ++i) {
270
7
            this->data(place).sum += data[i].sum;
271
7
            this->data(place).count += data[i].count;
272
7
        }
273
7
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
264
59
            Arena&) const override {
265
59
        DCHECK(end <= column.size() && begin <= end)
266
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
59
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
59
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
126
        for (size_t i = begin; i <= end; ++i) {
270
67
            this->data(place).sum += data[i].sum;
271
67
            this->data(place).count += data[i].count;
272
67
        }
273
59
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
264
59
            Arena&) const override {
265
59
        DCHECK(end <= column.size() && begin <= end)
266
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
59
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
59
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
126
        for (size_t i = begin; i <= end; ++i) {
270
67
            this->data(place).sum += data[i].sum;
271
67
            this->data(place).count += data[i].count;
272
67
        }
273
59
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
264
8.08k
            Arena&) const override {
265
8.08k
        DCHECK(end <= column.size() && begin <= end)
266
34
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
8.08k
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
8.08k
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
16.1k
        for (size_t i = begin; i <= end; ++i) {
270
8.08k
            this->data(place).sum += data[i].sum;
271
8.08k
            this->data(place).count += data[i].count;
272
8.08k
        }
273
8.08k
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
264
47
            Arena&) const override {
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
264
1
            Arena&) const override {
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
264
72
            Arena&) const override {
265
72
        DCHECK(end <= column.size() && begin <= end)
266
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
72
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
72
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
152
        for (size_t i = begin; i <= end; ++i) {
270
80
            this->data(place).sum += data[i].sum;
271
80
            this->data(place).count += data[i].count;
272
80
        }
273
72
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
274
275
    void deserialize_and_merge_vec(const AggregateDataPtr* places, size_t offset,
276
                                   AggregateDataPtr rhs, const IColumn* column, Arena& arena,
277
1.22k
                                   const size_t num_rows) const override {
278
1.22k
        const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column);
279
1.22k
        const auto* data = col.get_data().data();
280
1.22k
        this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows);
281
1.22k
    }
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
604
                                   const size_t num_rows) const override {
278
604
        const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column);
279
604
        const auto* data = col.get_data().data();
280
604
        this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows);
281
604
    }
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
22
                                   const size_t num_rows) const override {
278
22
        const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column);
279
22
        const auto* data = col.get_data().data();
280
22
        this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows);
281
22
    }
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
17
                                   const size_t num_rows) const override {
278
17
        const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column);
279
17
        const auto* data = col.get_data().data();
280
17
        this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows);
281
17
    }
_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
133
                                   const size_t num_rows) const override {
278
133
        const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column);
279
133
        const auto* data = col.get_data().data();
280
133
        this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows);
281
133
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
277
51
                                   const size_t num_rows) const override {
278
51
        const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column);
279
51
        const auto* data = col.get_data().data();
280
51
        this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows);
281
51
    }
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
369
                                   const size_t num_rows) const override {
278
369
        const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column);
279
369
        const auto* data = col.get_data().data();
280
369
        this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows);
281
369
    }
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
558
                                         IColumn& to) const override {
293
558
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
558
        col.set_item_size(sizeof(Data));
295
558
        size_t old_size = col.size();
296
558
        col.resize(old_size + 1);
297
558
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
558
    }
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
166
                                         IColumn& to) const override {
293
166
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
166
        col.set_item_size(sizeof(Data));
295
166
        size_t old_size = col.size();
296
166
        col.resize(old_size + 1);
297
166
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
166
    }
_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
4
                                         IColumn& to) const override {
293
4
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
4
        col.set_item_size(sizeof(Data));
295
4
        size_t old_size = col.size();
296
4
        col.resize(old_size + 1);
297
4
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
4
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
292
7
                                         IColumn& to) const override {
293
7
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
7
        col.set_item_size(sizeof(Data));
295
7
        size_t old_size = col.size();
296
7
        col.resize(old_size + 1);
297
7
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
7
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
292
40
                                         IColumn& to) const override {
293
40
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
40
        col.set_item_size(sizeof(Data));
295
40
        size_t old_size = col.size();
296
40
        col.resize(old_size + 1);
297
40
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
40
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
292
28
                                         IColumn& to) const override {
293
28
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
28
        col.set_item_size(sizeof(Data));
295
28
        size_t old_size = col.size();
296
28
        col.resize(old_size + 1);
297
28
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
28
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
292
125
                                         IColumn& to) const override {
293
125
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
125
        col.set_item_size(sizeof(Data));
295
125
        size_t old_size = col.size();
296
125
        col.resize(old_size + 1);
297
125
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
125
    }
_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
56
                                         IColumn& to) const override {
293
56
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
56
        col.set_item_size(sizeof(Data));
295
56
        size_t old_size = col.size();
296
56
        col.resize(old_size + 1);
297
56
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
56
    }
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.92k
    MutableColumnPtr create_serialize_column() const override {
301
3.92k
        return ColumnFixedLengthObject::create(sizeof(Data));
302
3.92k
    }
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.08k
    MutableColumnPtr create_serialize_column() const override {
301
2.08k
        return ColumnFixedLengthObject::create(sizeof(Data));
302
2.08k
    }
_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
33
    MutableColumnPtr create_serialize_column() const override {
301
33
        return ColumnFixedLengthObject::create(sizeof(Data));
302
33
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE23create_serialize_columnEv
Line
Count
Source
300
4
    MutableColumnPtr create_serialize_column() const override {
301
4
        return ColumnFixedLengthObject::create(sizeof(Data));
302
4
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE23create_serialize_columnEv
Line
Count
Source
300
16
    MutableColumnPtr create_serialize_column() const override {
301
16
        return ColumnFixedLengthObject::create(sizeof(Data));
302
16
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE23create_serialize_columnEv
Line
Count
Source
300
100
    MutableColumnPtr create_serialize_column() const override {
301
100
        return ColumnFixedLengthObject::create(sizeof(Data));
302
100
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE23create_serialize_columnEv
Line
Count
Source
300
68
    MutableColumnPtr create_serialize_column() const override {
301
68
        return ColumnFixedLengthObject::create(sizeof(Data));
302
68
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE23create_serialize_columnEv
Line
Count
Source
300
899
    MutableColumnPtr create_serialize_column() const override {
301
899
        return ColumnFixedLengthObject::create(sizeof(Data));
302
899
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE23create_serialize_columnEv
Line
Count
Source
300
69
    MutableColumnPtr create_serialize_column() const override {
301
69
        return ColumnFixedLengthObject::create(sizeof(Data));
302
69
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE23create_serialize_columnEv
Line
Count
Source
300
1
    MutableColumnPtr create_serialize_column() const override {
301
1
        return ColumnFixedLengthObject::create(sizeof(Data));
302
1
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE23create_serialize_columnEv
Line
Count
Source
300
521
    MutableColumnPtr create_serialize_column() const override {
301
521
        return ColumnFixedLengthObject::create(sizeof(Data));
302
521
    }
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.09k
    DataTypePtr get_serialized_type() const override {
305
2.09k
        return std::make_shared<DataTypeFixedLengthObject>();
306
2.09k
    }
_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
33
    DataTypePtr get_serialized_type() const override {
305
33
        return std::make_shared<DataTypeFixedLengthObject>();
306
33
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE19get_serialized_typeEv
Line
Count
Source
304
4
    DataTypePtr get_serialized_type() const override {
305
4
        return std::make_shared<DataTypeFixedLengthObject>();
306
4
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE19get_serialized_typeEv
Line
Count
Source
304
17
    DataTypePtr get_serialized_type() const override {
305
17
        return std::make_shared<DataTypeFixedLengthObject>();
306
17
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE19get_serialized_typeEv
Line
Count
Source
304
99
    DataTypePtr get_serialized_type() const override {
305
99
        return std::make_shared<DataTypeFixedLengthObject>();
306
99
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE19get_serialized_typeEv
Line
Count
Source
304
68
    DataTypePtr get_serialized_type() const override {
305
68
        return std::make_shared<DataTypeFixedLengthObject>();
306
68
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE19get_serialized_typeEv
Line
Count
Source
304
1.15k
    DataTypePtr get_serialized_type() const override {
305
1.15k
        return std::make_shared<DataTypeFixedLengthObject>();
306
1.15k
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE19get_serialized_typeEv
Line
Count
Source
304
64
    DataTypePtr get_serialized_type() const override {
305
64
        return std::make_shared<DataTypeFixedLengthObject>();
306
64
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE19get_serialized_typeEv
Line
Count
Source
304
1
    DataTypePtr get_serialized_type() const override {
305
1
        return std::make_shared<DataTypeFixedLengthObject>();
306
1
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE19get_serialized_typeEv
Line
Count
Source
304
521
    DataTypePtr get_serialized_type() const override {
305
521
        return std::make_shared<DataTypeFixedLengthObject>();
306
521
    }
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
243
    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
20
    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
55
    bool supported_incremental_mode() const override { return true; }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE26supported_incremental_modeEv
Line
Count
Source
308
109
    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
18
    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.83k
            for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) {
351
2.28k
                update_value<true>(place, columns, row_num);
352
2.28k
            }
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.73k
            for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) {
351
1.65k
                update_value<true>(place, columns, row_num);
352
1.65k
            }
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