Coverage Report

Created: 2026-07-26 14:41

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