Coverage Report

Created: 2026-07-21 05:00

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
be/src/exprs/aggregate/aggregate_function_avg.h
Line
Count
Source
1
// Licensed to the Apache Software Foundation (ASF) under one
2
// or more contributor license agreements.  See the NOTICE file
3
// distributed with this work for additional information
4
// regarding copyright ownership.  The ASF licenses this file
5
// to you under the Apache License, Version 2.0 (the
6
// "License"); you may not use this file except in compliance
7
// with the License.  You may obtain a copy of the License at
8
//
9
//   http://www.apache.org/licenses/LICENSE-2.0
10
//
11
// Unless required by applicable law or agreed to in writing,
12
// software distributed under the License is distributed on an
13
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
// KIND, either express or implied.  See the License for the
15
// specific language governing permissions and limitations
16
// under the License.
17
// This file is copied from
18
// https://github.com/ClickHouse/ClickHouse/blob/master/src/AggregateFunctions/AggregateFunctionAvg.h
19
// and modified by Doris
20
21
#pragma once
22
23
#include <glog/logging.h>
24
#include <string.h>
25
26
#include <limits>
27
#include <memory>
28
#include <ostream>
29
#include <type_traits>
30
#include <vector>
31
32
#include "common/compiler_util.h"
33
#include "core/assert_cast.h"
34
#include "core/column/column.h"
35
#include "core/column/column_fixed_length_object.h"
36
#include "core/data_type/data_type.h"
37
#include "core/data_type/data_type_decimal.h"
38
#include "core/data_type/data_type_fixed_length_object.h"
39
#include "core/data_type/primitive_type.h"
40
#include "core/types.h"
41
#include "core/value/decimalv2_value.h"
42
#include "exprs/aggregate/aggregate_function.h"
43
44
namespace doris {
45
class Arena;
46
class BufferReadable;
47
class BufferWritable;
48
template <PrimitiveType T>
49
class ColumnDecimal;
50
template <PrimitiveType T>
51
class DataTypeNumber;
52
template <PrimitiveType T>
53
class ColumnVector;
54
55
template <PrimitiveType T>
56
struct AggregateFunctionAvgData {
57
    using ResultType = typename PrimitiveTypeTraits<T>::CppType;
58
    static constexpr PrimitiveType ResultPType = T;
59
    ResultType sum {};
60
    UInt64 count = 0;
61
62
    AggregateFunctionAvgData& operator=(const AggregateFunctionAvgData<T>& src) = default;
63
64
    template <typename ResultT>
65
2.78k
    ResultT result(ResultType multiplier) const {
66
2.78k
        if (!count) {
67
            // null is handled in AggregationNode::_get_without_key_result
68
1
            return static_cast<ResultT>(sum);
69
1
        }
70
        // DecimalV2 has fixed internal scale=9; its arithmetic operators already
71
        // handle scale correctly, so no external multiplier is needed.
72
2.78k
        if constexpr (T == TYPE_DECIMALV2 && IsDecimalV2<ResultT>) {
73
0
            DecimalV2Value decimal_val_count(count, 0);
74
0
            DecimalV2Value cal_ret = sum / decimal_val_count;
75
0
            return cal_ret;
76
2.78k
        } else {
77
2.78k
            if constexpr (T == TYPE_DECIMAL256) {
78
184
                return static_cast<ResultT>(sum * multiplier /
79
184
                                            typename PrimitiveTypeTraits<T>::CppType(count));
80
2.60k
            } else {
81
2.60k
                return static_cast<ResultT>(sum * multiplier) / static_cast<ResultT>(count);
82
2.60k
            }
83
2.78k
        }
84
2.78k
    }
Unexecuted instantiation: _ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE28EE6resultINS_7DecimalIiEEEET_S5_
Unexecuted instantiation: _ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE29EE6resultINS_7DecimalIlEEEET_S5_
_ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE30EE6resultINS_12Decimal128V3EEET_S4_
Line
Count
Source
65
2.60k
    ResultT result(ResultType multiplier) const {
66
2.60k
        if (!count) {
67
            // null is handled in AggregationNode::_get_without_key_result
68
1
            return static_cast<ResultT>(sum);
69
1
        }
70
        // DecimalV2 has fixed internal scale=9; its arithmetic operators already
71
        // handle scale correctly, so no external multiplier is needed.
72
        if constexpr (T == TYPE_DECIMALV2 && IsDecimalV2<ResultT>) {
73
            DecimalV2Value decimal_val_count(count, 0);
74
            DecimalV2Value cal_ret = sum / decimal_val_count;
75
            return cal_ret;
76
2.60k
        } else {
77
            if constexpr (T == TYPE_DECIMAL256) {
78
                return static_cast<ResultT>(sum * multiplier /
79
                                            typename PrimitiveTypeTraits<T>::CppType(count));
80
2.60k
            } else {
81
2.60k
                return static_cast<ResultT>(sum * multiplier) / static_cast<ResultT>(count);
82
2.60k
            }
83
2.60k
        }
84
2.60k
    }
_ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE35EE6resultINS_7DecimalIN4wide7integerILm256EiEEEEEET_S8_
Line
Count
Source
65
184
    ResultT result(ResultType multiplier) const {
66
184
        if (!count) {
67
            // null is handled in AggregationNode::_get_without_key_result
68
0
            return static_cast<ResultT>(sum);
69
0
        }
70
        // DecimalV2 has fixed internal scale=9; its arithmetic operators already
71
        // handle scale correctly, so no external multiplier is needed.
72
        if constexpr (T == TYPE_DECIMALV2 && IsDecimalV2<ResultT>) {
73
            DecimalV2Value decimal_val_count(count, 0);
74
            DecimalV2Value cal_ret = sum / decimal_val_count;
75
            return cal_ret;
76
184
        } else {
77
184
            if constexpr (T == TYPE_DECIMAL256) {
78
184
                return static_cast<ResultT>(sum * multiplier /
79
184
                                            typename PrimitiveTypeTraits<T>::CppType(count));
80
            } else {
81
                return static_cast<ResultT>(sum * multiplier) / static_cast<ResultT>(count);
82
            }
83
184
        }
84
184
    }
Unexecuted instantiation: _ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE20EE6resultINS_14DecimalV2ValueEEET_S4_
85
86
    template <typename ResultT>
87
2.84k
    ResultT result() const {
88
2.84k
        if constexpr (std::is_floating_point_v<ResultT>) {
89
2.84k
            if constexpr (std::numeric_limits<ResultT>::is_iec559) {
90
2.84k
                return static_cast<ResultT>(sum) /
91
2.84k
                       static_cast<ResultT>(count); /// allow division by zero
92
2.84k
            }
93
2.84k
        }
94
95
2.84k
        if (!count) {
96
            // null is handled in AggregationNode::_get_without_key_result
97
0
            return static_cast<ResultT>(sum);
98
0
        }
99
2.84k
        return static_cast<ResultT>(sum) / static_cast<ResultT>(count);
100
2.84k
    }
_ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE6EE6resultIdEET_v
Line
Count
Source
87
617
    ResultT result() const {
88
617
        if constexpr (std::is_floating_point_v<ResultT>) {
89
617
            if constexpr (std::numeric_limits<ResultT>::is_iec559) {
90
617
                return static_cast<ResultT>(sum) /
91
617
                       static_cast<ResultT>(count); /// allow division by zero
92
617
            }
93
617
        }
94
95
617
        if (!count) {
96
            // null is handled in AggregationNode::_get_without_key_result
97
0
            return static_cast<ResultT>(sum);
98
0
        }
99
617
        return static_cast<ResultT>(sum) / static_cast<ResultT>(count);
100
617
    }
_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
191
    void write(BufferWritable& buf) const {
103
191
        buf.write_binary(sum);
104
191
        buf.write_binary(count);
105
191
    }
Unexecuted instantiation: _ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE28EE5writeERNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE29EE5writeERNS_14BufferWritableE
_ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE30EE5writeERNS_14BufferWritableE
Line
Count
Source
102
10
    void write(BufferWritable& buf) const {
103
10
        buf.write_binary(sum);
104
10
        buf.write_binary(count);
105
10
    }
_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
141
    void write(BufferWritable& buf) const {
103
141
        buf.write_binary(sum);
104
141
        buf.write_binary(count);
105
141
    }
_ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE7EE5writeERNS_14BufferWritableE
Line
Count
Source
102
27
    void write(BufferWritable& buf) const {
103
27
        buf.write_binary(sum);
104
27
        buf.write_binary(count);
105
27
    }
Unexecuted instantiation: _ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE9EE5writeERNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE20EE5writeERNS_14BufferWritableE
106
107
209
    void read(BufferReadable& buf) {
108
209
        buf.read_binary(sum);
109
209
        buf.read_binary(count);
110
209
    }
Unexecuted instantiation: _ZN5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE28EE4readERNS_14BufferReadableE
Unexecuted instantiation: _ZN5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE29EE4readERNS_14BufferReadableE
_ZN5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE30EE4readERNS_14BufferReadableE
Line
Count
Source
107
10
    void read(BufferReadable& buf) {
108
10
        buf.read_binary(sum);
109
10
        buf.read_binary(count);
110
10
    }
_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
147
    void read(BufferReadable& buf) {
108
147
        buf.read_binary(sum);
109
147
        buf.read_binary(count);
110
147
    }
_ZN5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE7EE4readERNS_14BufferReadableE
Line
Count
Source
107
39
    void read(BufferReadable& buf) {
108
39
        buf.read_binary(sum);
109
39
        buf.read_binary(count);
110
39
    }
Unexecuted instantiation: _ZN5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE9EE4readERNS_14BufferReadableE
Unexecuted instantiation: _ZN5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE20EE4readERNS_14BufferReadableE
111
};
112
113
template <PrimitiveType T, PrimitiveType TResult, typename Data>
114
class AggregateFunctionAvg;
115
116
template <PrimitiveType T, PrimitiveType TResult>
117
constexpr static bool is_valid_avg_types =
118
        (is_same_or_wider_decimalv3(T, TResult) || (is_decimalv2(T) && is_decimalv2(TResult)) ||
119
         (is_float_or_double(T) && is_float_or_double(TResult)) ||
120
         (is_int_or_bool(T) && (is_double(TResult) || is_int(TResult))));
121
/// Calculates arithmetic mean of numbers.
122
template <PrimitiveType T, PrimitiveType TResult, typename Data>
123
    requires(is_valid_avg_types<T, TResult>)
124
class AggregateFunctionAvg<T, TResult, Data> final
125
        : public IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>,
126
          UnaryExpression,
127
          NullableAggregateFunction {
128
public:
129
    using ResultType = typename PrimitiveTypeTraits<TResult>::CppType;
130
    using ResultDataType = typename PrimitiveTypeTraits<TResult>::DataType;
131
    using ColVecType = typename PrimitiveTypeTraits<T>::ColumnType;
132
    using ColVecResult = typename PrimitiveTypeTraits<TResult>::ColumnType;
133
    // The result calculated by PercentileApprox is an approximate value,
134
    // so the underlying storage uses float. The following calls will involve
135
    // an implicit cast to float.
136
137
    using DataType = typename Data::ResultType;
138
139
    // consistent with fe/fe-common/src/main/java/org/apache/doris/catalog/ScalarType.java
140
    static constexpr uint32_t DEFAULT_MIN_AVG_DECIMAL128_SCALE = 4;
141
142
    /// ctor for native types
143
    AggregateFunctionAvg(const DataTypes& argument_types_)
144
3.30k
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
3.30k
                      argument_types_),
146
3.30k
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
3.30k
                                    get_decimal_scale(*argument_types_[0]))) {
148
3.30k
        if constexpr (is_decimal(T)) {
149
964
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
150
964
                    output_scale - get_decimal_scale(*argument_types_[0])));
151
964
        }
152
3.30k
    }
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
642
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
642
                      argument_types_),
146
642
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
642
                                    get_decimal_scale(*argument_types_[0]))) {
148
642
        if constexpr (is_decimal(T)) {
149
642
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
150
642
                    output_scale - get_decimal_scale(*argument_types_[0])));
151
642
        }
152
642
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
144
9
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
9
                      argument_types_),
146
9
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
9
                                    get_decimal_scale(*argument_types_[0]))) {
148
9
        if constexpr (is_decimal(T)) {
149
9
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
150
9
                    output_scale - get_decimal_scale(*argument_types_[0])));
151
9
        }
152
9
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
144
93
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
93
                      argument_types_),
146
93
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
93
                                    get_decimal_scale(*argument_types_[0]))) {
148
93
        if constexpr (is_decimal(T)) {
149
93
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
150
93
                    output_scale - get_decimal_scale(*argument_types_[0])));
151
93
        }
152
93
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
144
24
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
24
                      argument_types_),
146
24
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
24
                                    get_decimal_scale(*argument_types_[0]))) {
148
24
        if constexpr (is_decimal(T)) {
149
24
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
150
24
                    output_scale - get_decimal_scale(*argument_types_[0])));
151
24
        }
152
24
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
144
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
83
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
83
                      argument_types_),
146
83
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
83
                                    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
83
    }
_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.26k
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
1.26k
                      argument_types_),
146
1.26k
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
1.26k
                                    get_decimal_scale(*argument_types_[0]))) {
148
        if constexpr (is_decimal(T)) {
149
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
150
                    output_scale - get_decimal_scale(*argument_types_[0])));
151
        }
152
1.26k
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
144
434
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
434
                      argument_types_),
146
434
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
434
                                    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
434
    }
_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
280
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
280
                      argument_types_),
146
280
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
280
                                    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
280
    }
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
499
    String get_name() const override { return "avg"; }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionAvgDataILS1_28EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE8get_nameB5cxx11Ev
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE8get_nameB5cxx11Ev
Line
Count
Source
154
40
    String get_name() const override { return "avg"; }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE8get_nameB5cxx11Ev
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE8get_nameB5cxx11Ev
Line
Count
Source
154
28
    String get_name() const override { return "avg"; }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE8get_nameB5cxx11Ev
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE8get_nameB5cxx11Ev
Line
Count
Source
154
2
    String get_name() const override { return "avg"; }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE8get_nameB5cxx11Ev
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE8get_nameB5cxx11Ev
Line
Count
Source
154
2
    String get_name() const override { return "avg"; }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE8get_nameB5cxx11Ev
Line
Count
Source
154
1
    String get_name() const override { return "avg"; }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE8get_nameB5cxx11Ev
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE8get_nameB5cxx11Ev
Line
Count
Source
154
127
    String get_name() const override { return "avg"; }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE8get_nameB5cxx11Ev
Line
Count
Source
154
257
    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
42
    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
10.9k
    DataTypePtr get_return_type() const override {
157
10.9k
        if constexpr (is_decimal(T)) {
158
5.14k
            return std::make_shared<ResultDataType>(
159
5.14k
                    ResultDataType::max_precision(),
160
5.14k
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
5.78k
        } else {
162
5.78k
            return std::make_shared<ResultDataType>();
163
5.78k
        }
164
10.9k
    }
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
400
    DataTypePtr get_return_type() const override {
157
400
        if constexpr (is_decimal(T)) {
158
400
            return std::make_shared<ResultDataType>(
159
400
                    ResultDataType::max_precision(),
160
400
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
        } else {
162
            return std::make_shared<ResultDataType>();
163
        }
164
400
    }
_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
4.03k
    DataTypePtr get_return_type() const override {
157
4.03k
        if constexpr (is_decimal(T)) {
158
4.03k
            return std::make_shared<ResultDataType>(
159
4.03k
                    ResultDataType::max_precision(),
160
4.03k
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
        } else {
162
            return std::make_shared<ResultDataType>();
163
        }
164
4.03k
    }
_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
296
    DataTypePtr get_return_type() const override {
157
296
        if constexpr (is_decimal(T)) {
158
296
            return std::make_shared<ResultDataType>(
159
296
                    ResultDataType::max_precision(),
160
296
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
        } else {
162
            return std::make_shared<ResultDataType>();
163
        }
164
296
    }
_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
278
    DataTypePtr get_return_type() const override {
157
278
        if constexpr (is_decimal(T)) {
158
278
            return std::make_shared<ResultDataType>(
159
278
                    ResultDataType::max_precision(),
160
278
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
        } else {
162
            return std::make_shared<ResultDataType>();
163
        }
164
278
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE15get_return_typeEv
Line
Count
Source
156
280
    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
280
        } else {
162
280
            return std::make_shared<ResultDataType>();
163
280
        }
164
280
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE15get_return_typeEv
Line
Count
Source
156
124
    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
124
        } else {
162
124
            return std::make_shared<ResultDataType>();
163
124
        }
164
124
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE15get_return_typeEv
Line
Count
Source
156
1.79k
    DataTypePtr get_return_type() const override {
157
        if constexpr (is_decimal(T)) {
158
            return std::make_shared<ResultDataType>(
159
                    ResultDataType::max_precision(),
160
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
1.79k
        } else {
162
1.79k
            return std::make_shared<ResultDataType>();
163
1.79k
        }
164
1.79k
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE15get_return_typeEv
Line
Count
Source
156
1.16k
    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.16k
        } else {
162
1.16k
            return std::make_shared<ResultDataType>();
163
1.16k
        }
164
1.16k
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE15get_return_typeEv
Line
Count
Source
156
6
    DataTypePtr get_return_type() const override {
157
        if constexpr (is_decimal(T)) {
158
            return std::make_shared<ResultDataType>(
159
                    ResultDataType::max_precision(),
160
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
6
        } else {
162
6
            return std::make_shared<ResultDataType>();
163
6
        }
164
6
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE15get_return_typeEv
Line
Count
Source
156
1.97k
    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.97k
        } else {
162
1.97k
            return std::make_shared<ResultDataType>();
163
1.97k
        }
164
1.97k
    }
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
113M
            } else if constexpr (is_decimal(T)) {
178
113M
                this->data(place).sum += column.get_data()[row_num].value;
179
113M
            } else {
180
1.78M
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
1.78M
            }
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.9k
                                            const IColumn** columns, ssize_t row_num) const {
171
10.9k
        ALLOW_FP_REASSOCIATION
172
10.9k
        const auto& column =
173
10.9k
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
10.9k
        if constexpr (is_add) {
175
            if constexpr (T == TYPE_DECIMALV2) {
176
                this->data(place).sum += column.get_data()[row_num];
177
            } else if constexpr (is_decimal(T)) {
178
                this->data(place).sum += column.get_data()[row_num].value;
179
10.9k
            } else {
180
10.9k
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
10.9k
            }
182
10.9k
            ++this->data(place).count;
183
        } else {
184
            if constexpr (T == TYPE_DECIMALV2) {
185
                this->data(place).sum += -column.get_data()[row_num];
186
            } else if constexpr (is_decimal(T)) {
187
                this->data(place).sum -= column.get_data()[row_num].value;
188
            } else {
189
                this->data(place).sum -= (DataType)column.get_data()[row_num];
190
            }
191
            --this->data(place).count;
192
        }
193
10.9k
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
Line
Count
Source
170
12
                                            const IColumn** columns, ssize_t row_num) const {
171
12
        ALLOW_FP_REASSOCIATION
172
12
        const auto& column =
173
12
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
        if constexpr (is_add) {
175
            if constexpr (T == TYPE_DECIMALV2) {
176
                this->data(place).sum += column.get_data()[row_num];
177
            } else if constexpr (is_decimal(T)) {
178
                this->data(place).sum += column.get_data()[row_num].value;
179
            } else {
180
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
            }
182
            ++this->data(place).count;
183
12
        } else {
184
            if constexpr (T == TYPE_DECIMALV2) {
185
                this->data(place).sum += -column.get_data()[row_num];
186
            } else if constexpr (is_decimal(T)) {
187
                this->data(place).sum -= column.get_data()[row_num].value;
188
12
            } else {
189
12
                this->data(place).sum -= (DataType)column.get_data()[row_num];
190
12
            }
191
12
            --this->data(place).count;
192
12
        }
193
12
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
170
1.35k
                                            const IColumn** columns, ssize_t row_num) const {
171
1.35k
        ALLOW_FP_REASSOCIATION
172
1.35k
        const auto& column =
173
1.35k
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
1.35k
        if constexpr (is_add) {
175
            if constexpr (T == TYPE_DECIMALV2) {
176
                this->data(place).sum += column.get_data()[row_num];
177
            } else if constexpr (is_decimal(T)) {
178
                this->data(place).sum += column.get_data()[row_num].value;
179
1.35k
            } else {
180
1.35k
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
1.35k
            }
182
1.35k
            ++this->data(place).count;
183
        } else {
184
            if constexpr (T == TYPE_DECIMALV2) {
185
                this->data(place).sum += -column.get_data()[row_num];
186
            } else if constexpr (is_decimal(T)) {
187
                this->data(place).sum -= column.get_data()[row_num].value;
188
            } else {
189
                this->data(place).sum -= (DataType)column.get_data()[row_num];
190
            }
191
            --this->data(place).count;
192
        }
193
1.35k
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
Line
Count
Source
170
100
                                            const IColumn** columns, ssize_t row_num) const {
171
100
        ALLOW_FP_REASSOCIATION
172
100
        const auto& column =
173
100
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
        if constexpr (is_add) {
175
            if constexpr (T == TYPE_DECIMALV2) {
176
                this->data(place).sum += column.get_data()[row_num];
177
            } else if constexpr (is_decimal(T)) {
178
                this->data(place).sum += column.get_data()[row_num].value;
179
            } else {
180
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
            }
182
            ++this->data(place).count;
183
100
        } else {
184
            if constexpr (T == TYPE_DECIMALV2) {
185
                this->data(place).sum += -column.get_data()[row_num];
186
            } else if constexpr (is_decimal(T)) {
187
                this->data(place).sum -= column.get_data()[row_num].value;
188
100
            } else {
189
100
                this->data(place).sum -= (DataType)column.get_data()[row_num];
190
100
            }
191
100
            --this->data(place).count;
192
100
        }
193
100
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
170
1
                                            const IColumn** columns, ssize_t row_num) const {
171
1
        ALLOW_FP_REASSOCIATION
172
1
        const auto& column =
173
1
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
1
        if constexpr (is_add) {
175
            if constexpr (T == TYPE_DECIMALV2) {
176
                this->data(place).sum += column.get_data()[row_num];
177
            } else if constexpr (is_decimal(T)) {
178
                this->data(place).sum += column.get_data()[row_num].value;
179
1
            } else {
180
1
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
1
            }
182
1
            ++this->data(place).count;
183
        } else {
184
            if constexpr (T == TYPE_DECIMALV2) {
185
                this->data(place).sum += -column.get_data()[row_num];
186
            } else if constexpr (is_decimal(T)) {
187
                this->data(place).sum -= column.get_data()[row_num].value;
188
            } else {
189
                this->data(place).sum -= (DataType)column.get_data()[row_num];
190
            }
191
            --this->data(place).count;
192
        }
193
1
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
170
1.77M
                                            const IColumn** columns, ssize_t row_num) const {
171
1.77M
        ALLOW_FP_REASSOCIATION
172
1.77M
        const auto& column =
173
1.77M
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
1.77M
        if constexpr (is_add) {
175
            if constexpr (T == TYPE_DECIMALV2) {
176
                this->data(place).sum += column.get_data()[row_num];
177
            } else if constexpr (is_decimal(T)) {
178
                this->data(place).sum += column.get_data()[row_num].value;
179
1.77M
            } else {
180
1.77M
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
1.77M
            }
182
1.77M
            ++this->data(place).count;
183
        } else {
184
            if constexpr (T == TYPE_DECIMALV2) {
185
                this->data(place).sum += -column.get_data()[row_num];
186
            } else if constexpr (is_decimal(T)) {
187
                this->data(place).sum -= column.get_data()[row_num].value;
188
            } else {
189
                this->data(place).sum -= (DataType)column.get_data()[row_num];
190
            }
191
            --this->data(place).count;
192
        }
193
1.77M
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
170
385
                                            const IColumn** columns, ssize_t row_num) const {
171
385
        ALLOW_FP_REASSOCIATION
172
385
        const auto& column =
173
385
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
385
        if constexpr (is_add) {
175
            if constexpr (T == TYPE_DECIMALV2) {
176
                this->data(place).sum += column.get_data()[row_num];
177
            } else if constexpr (is_decimal(T)) {
178
                this->data(place).sum += column.get_data()[row_num].value;
179
385
            } else {
180
385
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
385
            }
182
385
            ++this->data(place).count;
183
        } else {
184
            if constexpr (T == TYPE_DECIMALV2) {
185
                this->data(place).sum += -column.get_data()[row_num];
186
            } else if constexpr (is_decimal(T)) {
187
                this->data(place).sum -= column.get_data()[row_num].value;
188
            } else {
189
                this->data(place).sum -= (DataType)column.get_data()[row_num];
190
            }
191
            --this->data(place).count;
192
        }
193
385
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
170
329
                                            const IColumn** columns, ssize_t row_num) const {
171
329
        ALLOW_FP_REASSOCIATION
172
329
        const auto& column =
173
329
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
329
        if constexpr (is_add) {
175
            if constexpr (T == TYPE_DECIMALV2) {
176
                this->data(place).sum += column.get_data()[row_num];
177
            } else if constexpr (is_decimal(T)) {
178
                this->data(place).sum += column.get_data()[row_num].value;
179
329
            } else {
180
329
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
329
            }
182
329
            ++this->data(place).count;
183
        } else {
184
            if constexpr (T == TYPE_DECIMALV2) {
185
                this->data(place).sum += -column.get_data()[row_num];
186
            } else if constexpr (is_decimal(T)) {
187
                this->data(place).sum -= column.get_data()[row_num].value;
188
            } else {
189
                this->data(place).sum -= (DataType)column.get_data()[row_num];
190
            }
191
            --this->data(place).count;
192
        }
193
329
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
170
327
                                            const IColumn** columns, ssize_t row_num) const {
171
327
        ALLOW_FP_REASSOCIATION
172
327
        const auto& column =
173
327
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
327
        if constexpr (is_add) {
175
            if constexpr (T == TYPE_DECIMALV2) {
176
                this->data(place).sum += column.get_data()[row_num];
177
            } else if constexpr (is_decimal(T)) {
178
                this->data(place).sum += column.get_data()[row_num].value;
179
327
            } else {
180
327
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
327
            }
182
327
            ++this->data(place).count;
183
        } else {
184
            if constexpr (T == TYPE_DECIMALV2) {
185
                this->data(place).sum += -column.get_data()[row_num];
186
            } else if constexpr (is_decimal(T)) {
187
                this->data(place).sum -= column.get_data()[row_num].value;
188
            } else {
189
                this->data(place).sum -= (DataType)column.get_data()[row_num];
190
            }
191
            --this->data(place).count;
192
        }
193
327
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
170
421
                                            const IColumn** columns, ssize_t row_num) const {
171
421
        ALLOW_FP_REASSOCIATION
172
421
        const auto& column =
173
421
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
421
        if constexpr (is_add) {
175
            if constexpr (T == TYPE_DECIMALV2) {
176
                this->data(place).sum += column.get_data()[row_num];
177
            } else if constexpr (is_decimal(T)) {
178
                this->data(place).sum += column.get_data()[row_num].value;
179
421
            } else {
180
421
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
421
            }
182
421
            ++this->data(place).count;
183
        } else {
184
            if constexpr (T == TYPE_DECIMALV2) {
185
                this->data(place).sum += -column.get_data()[row_num];
186
            } else if constexpr (is_decimal(T)) {
187
                this->data(place).sum -= column.get_data()[row_num].value;
188
            } else {
189
                this->data(place).sum -= (DataType)column.get_data()[row_num];
190
            }
191
            --this->data(place).count;
192
        }
193
421
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
170
202
                                            const IColumn** columns, ssize_t row_num) const {
171
202
        ALLOW_FP_REASSOCIATION
172
202
        const auto& column =
173
202
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
202
        if constexpr (is_add) {
175
            if constexpr (T == TYPE_DECIMALV2) {
176
                this->data(place).sum += column.get_data()[row_num];
177
            } else if constexpr (is_decimal(T)) {
178
                this->data(place).sum += column.get_data()[row_num].value;
179
202
            } else {
180
202
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
202
            }
182
202
            ++this->data(place).count;
183
        } else {
184
            if constexpr (T == TYPE_DECIMALV2) {
185
                this->data(place).sum += -column.get_data()[row_num];
186
            } else if constexpr (is_decimal(T)) {
187
                this->data(place).sum -= column.get_data()[row_num].value;
188
            } else {
189
                this->data(place).sum -= (DataType)column.get_data()[row_num];
190
            }
191
            --this->data(place).count;
192
        }
193
202
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
170
315
                                            const IColumn** columns, ssize_t row_num) const {
171
315
        ALLOW_FP_REASSOCIATION
172
315
        const auto& column =
173
315
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
315
        if constexpr (is_add) {
175
            if constexpr (T == TYPE_DECIMALV2) {
176
                this->data(place).sum += column.get_data()[row_num];
177
            } else if constexpr (is_decimal(T)) {
178
                this->data(place).sum += column.get_data()[row_num].value;
179
315
            } else {
180
315
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
315
            }
182
315
            ++this->data(place).count;
183
        } else {
184
            if constexpr (T == TYPE_DECIMALV2) {
185
                this->data(place).sum += -column.get_data()[row_num];
186
            } else if constexpr (is_decimal(T)) {
187
                this->data(place).sum -= column.get_data()[row_num].value;
188
            } else {
189
                this->data(place).sum -= (DataType)column.get_data()[row_num];
190
            }
191
            --this->data(place).count;
192
        }
193
315
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
194
195
    void add(AggregateDataPtr __restrict place, const IColumn** columns, ssize_t row_num,
196
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.8k
             Arena&) const override {
197
10.8k
        update_value<true>(place, columns, row_num);
198
10.8k
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
196
890
             Arena&) const override {
197
890
        update_value<true>(place, columns, row_num);
198
890
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
196
1
             Arena&) const override {
197
1
        update_value<true>(place, columns, row_num);
198
1
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
196
1.77M
             Arena&) const override {
197
1.77M
        update_value<true>(place, columns, row_num);
198
1.77M
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
196
385
             Arena&) const override {
197
385
        update_value<true>(place, columns, row_num);
198
385
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
196
329
             Arena&) const override {
197
329
        update_value<true>(place, columns, row_num);
198
329
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
196
327
             Arena&) const override {
197
327
        update_value<true>(place, columns, row_num);
198
327
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
196
421
             Arena&) const override {
197
421
        update_value<true>(place, columns, row_num);
198
421
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
196
202
             Arena&) const override {
197
202
        update_value<true>(place, columns, row_num);
198
202
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
196
315
             Arena&) const override {
197
315
        update_value<true>(place, columns, row_num);
198
315
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
199
200
1.03k
    void reset(AggregateDataPtr place) const override {
201
1.03k
        this->data(place).sum = {};
202
1.03k
        this->data(place).count = 0;
203
1.03k
    }
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
143
    void reset(AggregateDataPtr place) const override {
201
143
        this->data(place).sum = {};
202
143
        this->data(place).count = 0;
203
143
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE5resetEPc
Line
Count
Source
200
120
    void reset(AggregateDataPtr place) const override {
201
120
        this->data(place).sum = {};
202
120
        this->data(place).count = 0;
203
120
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE5resetEPc
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5resetEPc
Line
Count
Source
200
88
    void reset(AggregateDataPtr place) const override {
201
88
        this->data(place).sum = {};
202
88
        this->data(place).count = 0;
203
88
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE5resetEPc
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5resetEPc
Line
Count
Source
200
73
    void reset(AggregateDataPtr place) const override {
201
73
        this->data(place).sum = {};
202
73
        this->data(place).count = 0;
203
73
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5resetEPc
Line
Count
Source
200
75
    void reset(AggregateDataPtr place) const override {
201
75
        this->data(place).sum = {};
202
75
        this->data(place).count = 0;
203
75
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5resetEPc
Line
Count
Source
200
76
    void reset(AggregateDataPtr place) const override {
201
76
        this->data(place).sum = {};
202
76
        this->data(place).count = 0;
203
76
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5resetEPc
Line
Count
Source
200
67
    void reset(AggregateDataPtr place) const override {
201
67
        this->data(place).sum = {};
202
67
        this->data(place).count = 0;
203
67
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5resetEPc
Line
Count
Source
200
56
    void reset(AggregateDataPtr place) const override {
201
56
        this->data(place).sum = {};
202
56
        this->data(place).count = 0;
203
56
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5resetEPc
Line
Count
Source
200
68
    void reset(AggregateDataPtr place) const override {
201
68
        this->data(place).sum = {};
202
68
        this->data(place).count = 0;
203
68
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5resetEPc
204
205
    NO_SANITIZE_UNDEFINED void merge(AggregateDataPtr __restrict place, ConstAggregateDataPtr rhs,
206
3.30k
                                     Arena&) const override {
207
3.30k
        if constexpr (T == TYPE_DECIMALV2) {
208
0
            this->data(place).sum += this->data(rhs).sum;
209
1.81k
        } else if constexpr (is_decimal(T)) {
210
1.81k
            this->data(place).sum += this->data(rhs).sum.value;
211
1.81k
        } else {
212
1.49k
            this->data(place).sum += this->data(rhs).sum;
213
1.49k
        }
214
3.30k
        this->data(place).count += this->data(rhs).count;
215
3.30k
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionAvgDataILS1_28EEEE5mergeEPcPKcRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE5mergeEPcPKcRNS_5ArenaE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
206
33
                                     Arena&) const override {
207
        if constexpr (T == TYPE_DECIMALV2) {
208
            this->data(place).sum += this->data(rhs).sum;
209
33
        } else if constexpr (is_decimal(T)) {
210
33
            this->data(place).sum += this->data(rhs).sum.value;
211
        } else {
212
            this->data(place).sum += this->data(rhs).sum;
213
        }
214
33
        this->data(place).count += this->data(rhs).count;
215
33
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE5mergeEPcPKcRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE5mergeEPcPKcRNS_5ArenaE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
206
1.71k
                                     Arena&) const override {
207
        if constexpr (T == TYPE_DECIMALV2) {
208
            this->data(place).sum += this->data(rhs).sum;
209
1.71k
        } else if constexpr (is_decimal(T)) {
210
1.71k
            this->data(place).sum += this->data(rhs).sum.value;
211
        } else {
212
            this->data(place).sum += this->data(rhs).sum;
213
        }
214
1.71k
        this->data(place).count += this->data(rhs).count;
215
1.71k
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE5mergeEPcPKcRNS_5ArenaE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
206
46
                                     Arena&) const override {
207
        if constexpr (T == TYPE_DECIMALV2) {
208
            this->data(place).sum += this->data(rhs).sum;
209
46
        } else if constexpr (is_decimal(T)) {
210
46
            this->data(place).sum += this->data(rhs).sum.value;
211
        } else {
212
            this->data(place).sum += this->data(rhs).sum;
213
        }
214
46
        this->data(place).count += this->data(rhs).count;
215
46
    }
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
418
                                     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
418
        } else {
212
418
            this->data(place).sum += this->data(rhs).sum;
213
418
        }
214
418
        this->data(place).count += this->data(rhs).count;
215
418
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
206
98
                                     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
98
        } else {
212
98
            this->data(place).sum += this->data(rhs).sum;
213
98
        }
214
98
        this->data(place).count += this->data(rhs).count;
215
98
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE5mergeEPcPKcRNS_5ArenaE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
206
906
                                     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
906
        } else {
212
906
            this->data(place).sum += this->data(rhs).sum;
213
906
        }
214
906
        this->data(place).count += this->data(rhs).count;
215
906
    }
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
191
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
218
191
        this->data(place).write(buf);
219
191
    }
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
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE9serializeEPKcRNS_14BufferWritableE
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
141
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
218
141
        this->data(place).write(buf);
219
141
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
217
27
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
218
27
        this->data(place).write(buf);
219
27
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE9serializeEPKcRNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE9serializeEPKcRNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE9serializeEPKcRNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE9serializeEPKcRNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE9serializeEPKcRNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE9serializeEPKcRNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE9serializeEPKcRNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE9serializeEPKcRNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE9serializeEPKcRNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE9serializeEPKcRNS_14BufferWritableE
220
221
    void deserialize(AggregateDataPtr __restrict place, BufferReadable& buf,
222
209
                     Arena&) const override {
223
209
        this->data(place).read(buf);
224
209
    }
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
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
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
147
                     Arena&) const override {
223
147
        this->data(place).read(buf);
224
147
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
222
39
                     Arena&) const override {
223
39
        this->data(place).read(buf);
224
39
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
225
226
5.63k
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
227
5.63k
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
228
5.63k
        if constexpr (is_decimal(T)) {
229
2.78k
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
230
2.84k
        } else {
231
2.84k
            column.get_data().push_back(this->data(place).template result<ResultType>());
232
2.84k
        }
233
5.63k
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionAvgDataILS1_28EEEE18insert_result_intoEPKcRNS_7IColumnE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE18insert_result_intoEPKcRNS_7IColumnE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
226
108
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
227
108
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
228
108
        if constexpr (is_decimal(T)) {
229
108
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
230
        } else {
231
            column.get_data().push_back(this->data(place).template result<ResultType>());
232
        }
233
108
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
226
5
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
227
5
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
228
5
        if constexpr (is_decimal(T)) {
229
5
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
230
        } else {
231
            column.get_data().push_back(this->data(place).template result<ResultType>());
232
        }
233
5
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE18insert_result_intoEPKcRNS_7IColumnE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
226
2.44k
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
227
2.44k
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
228
2.44k
        if constexpr (is_decimal(T)) {
229
2.44k
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
230
        } else {
231
            column.get_data().push_back(this->data(place).template result<ResultType>());
232
        }
233
2.44k
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
226
18
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
227
18
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
228
18
        if constexpr (is_decimal(T)) {
229
18
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
230
        } else {
231
            column.get_data().push_back(this->data(place).template result<ResultType>());
232
        }
233
18
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
226
52
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
227
52
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
228
52
        if constexpr (is_decimal(T)) {
229
52
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
230
        } else {
231
            column.get_data().push_back(this->data(place).template result<ResultType>());
232
        }
233
52
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
226
20
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
227
20
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
228
20
        if constexpr (is_decimal(T)) {
229
20
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
230
        } else {
231
            column.get_data().push_back(this->data(place).template result<ResultType>());
232
        }
233
20
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
226
141
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
227
141
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
228
141
        if constexpr (is_decimal(T)) {
229
141
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
230
        } else {
231
            column.get_data().push_back(this->data(place).template result<ResultType>());
232
        }
233
141
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
226
76
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
227
76
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
228
        if constexpr (is_decimal(T)) {
229
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
230
76
        } else {
231
76
            column.get_data().push_back(this->data(place).template result<ResultType>());
232
76
        }
233
76
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
226
52
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
227
52
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
228
        if constexpr (is_decimal(T)) {
229
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
230
52
        } else {
231
52
            column.get_data().push_back(this->data(place).template result<ResultType>());
232
52
        }
233
52
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
226
489
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
227
489
        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
489
        } else {
231
489
            column.get_data().push_back(this->data(place).template result<ResultType>());
232
489
        }
233
489
    }
_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
3.59k
                             MutableColumnPtr& dst, const size_t num_rows) const override {
237
3.59k
        auto& col = assert_cast<ColumnFixedLengthObject&>(*dst);
238
3.59k
        col.set_item_size(sizeof(Data));
239
3.59k
        col.resize(num_rows);
240
3.59k
        auto* data = col.get_data().data();
241
6.66k
        for (size_t i = 0; i != num_rows; ++i) {
242
3.07k
            *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) =
243
3.07k
                    *reinterpret_cast<Data*>(places[i] + offset);
244
3.07k
        }
245
3.59k
    }
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
2.50k
                             MutableColumnPtr& dst, const size_t num_rows) const override {
237
2.50k
        auto& col = assert_cast<ColumnFixedLengthObject&>(*dst);
238
2.50k
        col.set_item_size(sizeof(Data));
239
2.50k
        col.resize(num_rows);
240
2.50k
        auto* data = col.get_data().data();
241
4.01k
        for (size_t i = 0; i != num_rows; ++i) {
242
1.50k
            *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) =
243
1.50k
                    *reinterpret_cast<Data*>(places[i] + offset);
244
1.50k
        }
245
2.50k
    }
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
76
                             MutableColumnPtr& dst, const size_t num_rows) const override {
237
76
        auto& col = assert_cast<ColumnFixedLengthObject&>(*dst);
238
76
        col.set_item_size(sizeof(Data));
239
76
        col.resize(num_rows);
240
76
        auto* data = col.get_data().data();
241
112
        for (size_t i = 0; i != num_rows; ++i) {
242
36
            *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) =
243
36
                    *reinterpret_cast<Data*>(places[i] + offset);
244
36
        }
245
76
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm
Line
Count
Source
236
10
                             MutableColumnPtr& dst, const size_t num_rows) const override {
237
10
        auto& col = assert_cast<ColumnFixedLengthObject&>(*dst);
238
10
        col.set_item_size(sizeof(Data));
239
10
        col.resize(num_rows);
240
10
        auto* data = col.get_data().data();
241
12
        for (size_t i = 0; i != num_rows; ++i) {
242
2
            *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) =
243
2
                    *reinterpret_cast<Data*>(places[i] + offset);
244
2
        }
245
10
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm
Line
Count
Source
236
38
                             MutableColumnPtr& dst, const size_t num_rows) const override {
237
38
        auto& col = assert_cast<ColumnFixedLengthObject&>(*dst);
238
38
        col.set_item_size(sizeof(Data));
239
38
        col.resize(num_rows);
240
38
        auto* data = col.get_data().data();
241
109
        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
38
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm
Line
Count
Source
236
33
                             MutableColumnPtr& dst, const size_t num_rows) const override {
237
33
        auto& col = assert_cast<ColumnFixedLengthObject&>(*dst);
238
33
        col.set_item_size(sizeof(Data));
239
33
        col.resize(num_rows);
240
33
        auto* data = col.get_data().data();
241
105
        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
33
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm
Line
Count
Source
236
382
                             MutableColumnPtr& dst, const size_t num_rows) const override {
237
382
        auto& col = assert_cast<ColumnFixedLengthObject&>(*dst);
238
382
        col.set_item_size(sizeof(Data));
239
382
        col.resize(num_rows);
240
382
        auto* data = col.get_data().data();
241
690
        for (size_t i = 0; i != num_rows; ++i) {
242
308
            *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) =
243
308
                    *reinterpret_cast<Data*>(places[i] + offset);
244
308
        }
245
382
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm
Line
Count
Source
236
33
                             MutableColumnPtr& dst, const size_t num_rows) const override {
237
33
        auto& col = assert_cast<ColumnFixedLengthObject&>(*dst);
238
33
        col.set_item_size(sizeof(Data));
239
33
        col.resize(num_rows);
240
33
        auto* data = col.get_data().data();
241
118
        for (size_t i = 0; i != num_rows; ++i) {
242
85
            *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) =
243
85
                    *reinterpret_cast<Data*>(places[i] + offset);
244
85
        }
245
33
    }
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
494
                             MutableColumnPtr& dst, const size_t num_rows) const override {
237
494
        auto& col = assert_cast<ColumnFixedLengthObject&>(*dst);
238
494
        col.set_item_size(sizeof(Data));
239
494
        col.resize(num_rows);
240
494
        auto* data = col.get_data().data();
241
1.42k
        for (size_t i = 0; i != num_rows; ++i) {
242
932
            *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) =
243
932
                    *reinterpret_cast<Data*>(places[i] + offset);
244
932
        }
245
494
    }
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
77
                                           const size_t num_rows, Arena&) const override {
249
77
        auto* src_data = assert_cast<const ColVecType&>(*columns[0]).get_data().data();
250
77
        auto& dst_col = assert_cast<ColumnFixedLengthObject&>(*dst);
251
77
        dst_col.set_item_size(sizeof(Data));
252
77
        dst_col.resize(num_rows);
253
77
        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
77
    }
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
75
                                           const size_t num_rows, Arena&) const override {
249
75
        auto* src_data = assert_cast<const ColVecType&>(*columns[0]).get_data().data();
250
75
        auto& dst_col = assert_cast<ColumnFixedLengthObject&>(*dst);
251
75
        dst_col.set_item_size(sizeof(Data));
252
75
        dst_col.resize(num_rows);
253
75
        auto* data = dst_col.get_data().data();
254
8.35k
        for (size_t i = 0; i != num_rows; ++i) {
255
8.27k
            auto& state = *reinterpret_cast<Data*>(&data[sizeof(Data) * i]);
256
8.27k
            state.sum = typename Data::ResultType(src_data[i]);
257
8.27k
            state.count = 1;
258
8.27k
        }
259
75
    }
_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.56k
            Arena&) const override {
264
8.56k
        ALLOW_FP_REASSOCIATION
265
8.56k
        DCHECK(end <= column.size() && begin <= end)
266
41
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
8.56k
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
8.56k
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
17.2k
        for (size_t i = begin; i <= end; ++i) {
270
8.66k
            this->data(place).sum += data[i].sum;
271
8.66k
            this->data(place).count += data[i].count;
272
8.66k
        }
273
8.56k
    }
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
120
            Arena&) const override {
264
120
        ALLOW_FP_REASSOCIATION
265
120
        DCHECK(end <= column.size() && begin <= end)
266
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
120
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
120
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
248
        for (size_t i = begin; i <= end; ++i) {
270
128
            this->data(place).sum += data[i].sum;
271
128
            this->data(place).count += data[i].count;
272
128
        }
273
120
    }
_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
169
            Arena&) const override {
264
169
        ALLOW_FP_REASSOCIATION
265
169
        DCHECK(end <= column.size() && begin <= end)
266
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
169
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
169
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
338
        for (size_t i = begin; i <= end; ++i) {
270
169
            this->data(place).sum += data[i].sum;
271
169
            this->data(place).count += data[i].count;
272
169
        }
273
169
    }
_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
4
            Arena&) const override {
264
4
        ALLOW_FP_REASSOCIATION
265
4
        DCHECK(end <= column.size() && begin <= end)
266
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
4
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
4
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
8
        for (size_t i = begin; i <= end; ++i) {
270
4
            this->data(place).sum += data[i].sum;
271
4
            this->data(place).count += data[i].count;
272
4
        }
273
4
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
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
52
            Arena&) const override {
264
52
        ALLOW_FP_REASSOCIATION
265
18.4E
        DCHECK(end <= column.size() && begin <= end)
266
18.4E
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
52
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
52
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
112
        for (size_t i = begin; i <= end; ++i) {
270
60
            this->data(place).sum += data[i].sum;
271
60
            this->data(place).count += data[i].count;
272
60
        }
273
52
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
263
55
            Arena&) const override {
264
55
        ALLOW_FP_REASSOCIATION
265
55
        DCHECK(end <= column.size() && begin <= end)
266
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
55
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
55
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
118
        for (size_t i = begin; i <= end; ++i) {
270
63
            this->data(place).sum += data[i].sum;
271
63
            this->data(place).count += data[i].count;
272
63
        }
273
55
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
263
8.03k
            Arena&) const override {
264
8.03k
        ALLOW_FP_REASSOCIATION
265
8.03k
        DCHECK(end <= column.size() && begin <= end)
266
42
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
8.03k
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
8.03k
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
16.1k
        for (size_t i = begin; i <= end; ++i) {
270
8.09k
            this->data(place).sum += data[i].sum;
271
8.09k
            this->data(place).count += data[i].count;
272
8.09k
        }
273
8.03k
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
263
48
            Arena&) const override {
264
48
        ALLOW_FP_REASSOCIATION
265
48
        DCHECK(end <= column.size() && begin <= end)
266
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
48
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
48
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
106
        for (size_t i = begin; i <= end; ++i) {
270
58
            this->data(place).sum += data[i].sum;
271
58
            this->data(place).count += data[i].count;
272
58
        }
273
48
    }
_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
72
            Arena&) const override {
264
72
        ALLOW_FP_REASSOCIATION
265
72
        DCHECK(end <= column.size() && begin <= end)
266
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
72
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
72
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
152
        for (size_t i = begin; i <= end; ++i) {
270
80
            this->data(place).sum += data[i].sum;
271
80
            this->data(place).count += data[i].count;
272
80
        }
273
72
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
274
275
    void deserialize_and_merge_vec(const AggregateDataPtr* places, size_t offset,
276
                                   AggregateDataPtr rhs, const IColumn* column, Arena& arena,
277
1.17k
                                   const size_t num_rows) const override {
278
1.17k
        const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column);
279
1.17k
        const auto* data = col.get_data().data();
280
1.17k
        this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows);
281
1.17k
    }
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
11
                                   const size_t num_rows) const override {
278
11
        const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column);
279
11
        const auto* data = col.get_data().data();
280
11
        this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows);
281
11
    }
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
609
                                   const size_t num_rows) const override {
278
609
        const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column);
279
609
        const auto* data = col.get_data().data();
280
609
        this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows);
281
609
    }
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
28
                                   const size_t num_rows) const override {
278
28
        const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column);
279
28
        const auto* data = col.get_data().data();
280
28
        this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows);
281
28
    }
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
21
                                   const size_t num_rows) const override {
278
21
        const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column);
279
21
        const auto* data = col.get_data().data();
280
21
        this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows);
281
21
    }
_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
129
                                   const size_t num_rows) const override {
278
129
        const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column);
279
129
        const auto* data = col.get_data().data();
280
129
        this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows);
281
129
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
277
25
                                   const size_t num_rows) const override {
278
25
        const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column);
279
25
        const auto* data = col.get_data().data();
280
25
        this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows);
281
25
    }
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
342
                                   const size_t num_rows) const override {
278
342
        const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column);
279
342
        const auto* data = col.get_data().data();
280
342
        this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows);
281
342
    }
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
557
                                         IColumn& to) const override {
293
557
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
557
        col.set_item_size(sizeof(Data));
295
557
        size_t old_size = col.size();
296
557
        col.resize(old_size + 1);
297
557
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
557
    }
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
102
                                         IColumn& to) const override {
293
102
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
102
        col.set_item_size(sizeof(Data));
295
102
        size_t old_size = col.size();
296
102
        col.resize(old_size + 1);
297
102
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
102
    }
_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
169
                                         IColumn& to) const override {
293
169
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
169
        col.set_item_size(sizeof(Data));
295
169
        size_t old_size = col.size();
296
169
        col.resize(old_size + 1);
297
169
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
169
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
292
1
                                         IColumn& to) const override {
293
1
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
1
        col.set_item_size(sizeof(Data));
295
1
        size_t old_size = col.size();
296
1
        col.resize(old_size + 1);
297
1
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
1
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
292
4
                                         IColumn& to) const override {
293
4
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
4
        col.set_item_size(sizeof(Data));
295
4
        size_t old_size = col.size();
296
4
        col.resize(old_size + 1);
297
4
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
4
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
292
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
34
                                         IColumn& to) const override {
293
34
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
34
        col.set_item_size(sizeof(Data));
295
34
        size_t old_size = col.size();
296
34
        col.resize(old_size + 1);
297
34
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
34
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
292
24
                                         IColumn& to) const override {
293
24
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
24
        col.set_item_size(sizeof(Data));
295
24
        size_t old_size = col.size();
296
24
        col.resize(old_size + 1);
297
24
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
24
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
292
123
                                         IColumn& to) const override {
293
123
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
123
        col.set_item_size(sizeof(Data));
295
123
        size_t old_size = col.size();
296
123
        col.resize(old_size + 1);
297
123
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
123
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
292
31
                                         IColumn& to) const override {
293
31
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
31
        col.set_item_size(sizeof(Data));
295
31
        size_t old_size = col.size();
296
31
        col.resize(old_size + 1);
297
31
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
31
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
292
1
                                         IColumn& to) const override {
293
1
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
1
        col.set_item_size(sizeof(Data));
295
1
        size_t old_size = col.size();
296
1
        col.resize(old_size + 1);
297
1
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
1
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
292
56
                                         IColumn& to) const override {
293
56
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
56
        col.set_item_size(sizeof(Data));
295
56
        size_t old_size = col.size();
296
56
        col.resize(old_size + 1);
297
56
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
56
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
299
300
4.54k
    MutableColumnPtr create_serialize_column() const override {
301
4.54k
        return ColumnFixedLengthObject::create(sizeof(Data));
302
4.54k
    }
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
124
    MutableColumnPtr create_serialize_column() const override {
301
124
        return ColumnFixedLengthObject::create(sizeof(Data));
302
124
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE23create_serialize_columnEv
Line
Count
Source
300
1
    MutableColumnPtr create_serialize_column() const override {
301
1
        return ColumnFixedLengthObject::create(sizeof(Data));
302
1
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE23create_serialize_columnEv
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE23create_serialize_columnEv
Line
Count
Source
300
2.65k
    MutableColumnPtr create_serialize_column() const override {
301
2.65k
        return ColumnFixedLengthObject::create(sizeof(Data));
302
2.65k
    }
_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
77
    MutableColumnPtr create_serialize_column() const override {
301
77
        return ColumnFixedLengthObject::create(sizeof(Data));
302
77
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE23create_serialize_columnEv
Line
Count
Source
300
4
    MutableColumnPtr create_serialize_column() const override {
301
4
        return ColumnFixedLengthObject::create(sizeof(Data));
302
4
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE23create_serialize_columnEv
Line
Count
Source
300
21
    MutableColumnPtr create_serialize_column() const override {
301
21
        return ColumnFixedLengthObject::create(sizeof(Data));
302
21
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE23create_serialize_columnEv
Line
Count
Source
300
76
    MutableColumnPtr create_serialize_column() const override {
301
76
        return ColumnFixedLengthObject::create(sizeof(Data));
302
76
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE23create_serialize_columnEv
Line
Count
Source
300
58
    MutableColumnPtr create_serialize_column() const override {
301
58
        return ColumnFixedLengthObject::create(sizeof(Data));
302
58
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE23create_serialize_columnEv
Line
Count
Source
300
916
    MutableColumnPtr create_serialize_column() const override {
301
916
        return ColumnFixedLengthObject::create(sizeof(Data));
302
916
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE23create_serialize_columnEv
Line
Count
Source
300
65
    MutableColumnPtr create_serialize_column() const override {
301
65
        return ColumnFixedLengthObject::create(sizeof(Data));
302
65
    }
_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
548
    MutableColumnPtr create_serialize_column() const override {
301
548
        return ColumnFixedLengthObject::create(sizeof(Data));
302
548
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE23create_serialize_columnEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE23create_serialize_columnEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE23create_serialize_columnEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE23create_serialize_columnEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE23create_serialize_columnEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE23create_serialize_columnEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE23create_serialize_columnEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE23create_serialize_columnEv
303
304
4.81k
    DataTypePtr get_serialized_type() const override {
305
4.81k
        return std::make_shared<DataTypeFixedLengthObject>();
306
4.81k
    }
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
126
    DataTypePtr get_serialized_type() const override {
305
126
        return std::make_shared<DataTypeFixedLengthObject>();
306
126
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE19get_serialized_typeEv
Line
Count
Source
304
1
    DataTypePtr get_serialized_type() const override {
305
1
        return std::make_shared<DataTypeFixedLengthObject>();
306
1
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE19get_serialized_typeEv
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE19get_serialized_typeEv
Line
Count
Source
304
2.67k
    DataTypePtr get_serialized_type() const override {
305
2.67k
        return std::make_shared<DataTypeFixedLengthObject>();
306
2.67k
    }
_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
76
    DataTypePtr get_serialized_type() const override {
305
76
        return std::make_shared<DataTypeFixedLengthObject>();
306
76
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE19get_serialized_typeEv
Line
Count
Source
304
4
    DataTypePtr get_serialized_type() const override {
305
4
        return std::make_shared<DataTypeFixedLengthObject>();
306
4
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE19get_serialized_typeEv
Line
Count
Source
304
21
    DataTypePtr get_serialized_type() const override {
305
21
        return std::make_shared<DataTypeFixedLengthObject>();
306
21
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE19get_serialized_typeEv
Line
Count
Source
304
76
    DataTypePtr get_serialized_type() const override {
305
76
        return std::make_shared<DataTypeFixedLengthObject>();
306
76
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE19get_serialized_typeEv
Line
Count
Source
304
58
    DataTypePtr get_serialized_type() const override {
305
58
        return std::make_shared<DataTypeFixedLengthObject>();
306
58
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE19get_serialized_typeEv
Line
Count
Source
304
1.17k
    DataTypePtr get_serialized_type() const override {
305
1.17k
        return std::make_shared<DataTypeFixedLengthObject>();
306
1.17k
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE19get_serialized_typeEv
Line
Count
Source
304
60
    DataTypePtr get_serialized_type() const override {
305
60
        return std::make_shared<DataTypeFixedLengthObject>();
306
60
    }
_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
548
    DataTypePtr get_serialized_type() const override {
305
548
        return std::make_shared<DataTypeFixedLengthObject>();
306
548
    }
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
376
    bool supported_incremental_mode() const override { return true; }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionAvgDataILS1_28EEEE26supported_incremental_modeEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE26supported_incremental_modeEv
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE26supported_incremental_modeEv
Line
Count
Source
308
40
    bool supported_incremental_mode() const override { return true; }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE26supported_incremental_modeEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE26supported_incremental_modeEv
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE26supported_incremental_modeEv
Line
Count
Source
308
28
    bool supported_incremental_mode() const override { return true; }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE26supported_incremental_modeEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE26supported_incremental_modeEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE26supported_incremental_modeEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE26supported_incremental_modeEv
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE26supported_incremental_modeEv
Line
Count
Source
308
1
    bool supported_incremental_mode() const override { return true; }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE26supported_incremental_modeEv
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE26supported_incremental_modeEv
Line
Count
Source
308
48
    bool supported_incremental_mode() const override { return true; }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE26supported_incremental_modeEv
Line
Count
Source
308
217
    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
42
    bool supported_incremental_mode() const override { return true; }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE26supported_incremental_modeEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE26supported_incremental_modeEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE26supported_incremental_modeEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE26supported_incremental_modeEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE26supported_incremental_modeEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE26supported_incremental_modeEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE26supported_incremental_modeEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE26supported_incremental_modeEv
309
310
    void execute_function_with_incremental(int64_t partition_start, int64_t partition_end,
311
                                           int64_t frame_start, int64_t frame_end,
312
                                           AggregateDataPtr place, const IColumn** columns,
313
                                           Arena& arena, bool previous_is_nul, bool end_is_nul,
314
                                           bool has_null, UInt8* use_null_result,
315
200
                                           UInt8* could_use_previous_result) const override {
316
200
        int64_t current_frame_start = std::max<int64_t>(frame_start, partition_start);
317
200
        int64_t current_frame_end = std::min<int64_t>(frame_end, partition_end);
318
200
        if (current_frame_start >= current_frame_end) {
319
0
            *use_null_result = true;
320
0
            return;
321
0
        }
322
200
        if (*could_use_previous_result) {
323
180
            auto outcoming_pos = frame_start - 1;
324
180
            auto incoming_pos = frame_end - 1;
325
180
            if (!previous_is_nul && outcoming_pos >= partition_start &&
326
180
                outcoming_pos < partition_end) {
327
132
                update_value<false>(place, columns, outcoming_pos);
328
132
            }
329
180
            if (!end_is_nul && incoming_pos >= partition_start && incoming_pos < partition_end) {
330
142
                update_value<true>(place, columns, incoming_pos);
331
142
            }
332
180
        } else {
333
20
            this->add_range_single_place(partition_start, partition_end, frame_start, frame_end,
334
20
                                         place, columns, arena, use_null_result,
335
20
                                         could_use_previous_result);
336
20
        }
337
200
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionAvgDataILS1_28EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Line
Count
Source
315
24
                                           UInt8* could_use_previous_result) const override {
316
24
        int64_t current_frame_start = std::max<int64_t>(frame_start, partition_start);
317
24
        int64_t current_frame_end = std::min<int64_t>(frame_end, partition_end);
318
24
        if (current_frame_start >= current_frame_end) {
319
0
            *use_null_result = true;
320
0
            return;
321
0
        }
322
24
        if (*could_use_previous_result) {
323
24
            auto outcoming_pos = frame_start - 1;
324
24
            auto incoming_pos = frame_end - 1;
325
24
            if (!previous_is_nul && outcoming_pos >= partition_start &&
326
24
                outcoming_pos < partition_end) {
327
20
                update_value<false>(place, columns, outcoming_pos);
328
20
            }
329
24
            if (!end_is_nul && incoming_pos >= partition_start && incoming_pos < partition_end) {
330
20
                update_value<true>(place, columns, incoming_pos);
331
20
            }
332
24
        } else {
333
0
            this->add_range_single_place(partition_start, partition_end, frame_start, frame_end,
334
0
                                         place, columns, arena, use_null_result,
335
0
                                         could_use_previous_result);
336
0
        }
337
24
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Line
Count
Source
315
15
                                           UInt8* could_use_previous_result) const override {
316
15
        int64_t current_frame_start = std::max<int64_t>(frame_start, partition_start);
317
15
        int64_t current_frame_end = std::min<int64_t>(frame_end, partition_end);
318
15
        if (current_frame_start >= current_frame_end) {
319
0
            *use_null_result = true;
320
0
            return;
321
0
        }
322
15
        if (*could_use_previous_result) {
323
15
            auto outcoming_pos = frame_start - 1;
324
15
            auto incoming_pos = frame_end - 1;
325
15
            if (!previous_is_nul && outcoming_pos >= partition_start &&
326
15
                outcoming_pos < partition_end) {
327
12
                update_value<false>(place, columns, outcoming_pos);
328
12
            }
329
15
            if (!end_is_nul && incoming_pos >= partition_start && incoming_pos < partition_end) {
330
13
                update_value<true>(place, columns, incoming_pos);
331
13
            }
332
15
        } else {
333
0
            this->add_range_single_place(partition_start, partition_end, frame_start, frame_end,
334
0
                                         place, columns, arena, use_null_result,
335
0
                                         could_use_previous_result);
336
0
        }
337
15
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Line
Count
Source
315
161
                                           UInt8* could_use_previous_result) const override {
316
161
        int64_t current_frame_start = std::max<int64_t>(frame_start, partition_start);
317
161
        int64_t current_frame_end = std::min<int64_t>(frame_end, partition_end);
318
161
        if (current_frame_start >= current_frame_end) {
319
0
            *use_null_result = true;
320
0
            return;
321
0
        }
322
161
        if (*could_use_previous_result) {
323
141
            auto outcoming_pos = frame_start - 1;
324
141
            auto incoming_pos = frame_end - 1;
325
141
            if (!previous_is_nul && outcoming_pos >= partition_start &&
326
141
                outcoming_pos < partition_end) {
327
100
                update_value<false>(place, columns, outcoming_pos);
328
100
            }
329
141
            if (!end_is_nul && incoming_pos >= partition_start && incoming_pos < partition_end) {
330
109
                update_value<true>(place, columns, incoming_pos);
331
109
            }
332
141
        } else {
333
20
            this->add_range_single_place(partition_start, partition_end, frame_start, frame_end,
334
20
                                         place, columns, arena, use_null_result,
335
20
                                         could_use_previous_result);
336
20
        }
337
161
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
338
339
    void add_range_single_place(int64_t partition_start, int64_t partition_end, int64_t frame_start,
340
                                int64_t frame_end, AggregateDataPtr place, const IColumn** columns,
341
                                Arena& arena, UInt8* use_null_result,
342
571
                                UInt8* could_use_previous_result) const override {
343
571
        auto current_frame_start = std::max<int64_t>(frame_start, partition_start);
344
571
        auto current_frame_end = std::min<int64_t>(frame_end, partition_end);
345
571
        if (current_frame_start >= current_frame_end) {
346
24
            if (!*could_use_previous_result) {
347
0
                *use_null_result = true;
348
0
            }
349
547
        } else {
350
2.87k
            for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) {
351
2.32k
                update_value<true>(place, columns, row_num);
352
2.32k
            }
353
547
            *use_null_result = false;
354
547
            *could_use_previous_result = true;
355
547
        }
356
571
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionAvgDataILS1_28EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
Line
Count
Source
342
4
                                UInt8* could_use_previous_result) const override {
343
4
        auto current_frame_start = std::max<int64_t>(frame_start, partition_start);
344
4
        auto current_frame_end = std::min<int64_t>(frame_end, partition_end);
345
4
        if (current_frame_start >= current_frame_end) {
346
0
            if (!*could_use_previous_result) {
347
0
                *use_null_result = true;
348
0
            }
349
4
        } else {
350
12
            for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) {
351
8
                update_value<true>(place, columns, row_num);
352
8
            }
353
4
            *use_null_result = false;
354
4
            *could_use_previous_result = true;
355
4
        }
356
4
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
Line
Count
Source
342
77
                                UInt8* could_use_previous_result) const override {
343
77
        auto current_frame_start = std::max<int64_t>(frame_start, partition_start);
344
77
        auto current_frame_end = std::min<int64_t>(frame_end, partition_end);
345
77
        if (current_frame_start >= current_frame_end) {
346
0
            if (!*could_use_previous_result) {
347
0
                *use_null_result = true;
348
0
            }
349
77
        } else {
350
1.77k
            for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) {
351
1.69k
                update_value<true>(place, columns, row_num);
352
1.69k
            }
353
77
            *use_null_result = false;
354
77
            *could_use_previous_result = true;
355
77
        }
356
77
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
Line
Count
Source
342
1
                                UInt8* could_use_previous_result) const override {
343
1
        auto current_frame_start = std::max<int64_t>(frame_start, partition_start);
344
1
        auto current_frame_end = std::min<int64_t>(frame_end, partition_end);
345
1
        if (current_frame_start >= current_frame_end) {
346
0
            if (!*could_use_previous_result) {
347
0
                *use_null_result = true;
348
0
            }
349
1
        } else {
350
2
            for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) {
351
1
                update_value<true>(place, columns, row_num);
352
1
            }
353
1
            *use_null_result = false;
354
1
            *could_use_previous_result = true;
355
1
        }
356
1
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
Line
Count
Source
342
89
                                UInt8* could_use_previous_result) const override {
343
89
        auto current_frame_start = std::max<int64_t>(frame_start, partition_start);
344
89
        auto current_frame_end = std::min<int64_t>(frame_end, partition_end);
345
89
        if (current_frame_start >= current_frame_end) {
346
0
            if (!*could_use_previous_result) {
347
0
                *use_null_result = true;
348
0
            }
349
89
        } else {
350
241
            for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) {
351
152
                update_value<true>(place, columns, row_num);
352
152
            }
353
89
            *use_null_result = false;
354
89
            *could_use_previous_result = true;
355
89
        }
356
89
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
Line
Count
Source
342
284
                                UInt8* could_use_previous_result) const override {
343
284
        auto current_frame_start = std::max<int64_t>(frame_start, partition_start);
344
284
        auto current_frame_end = std::min<int64_t>(frame_end, partition_end);
345
284
        if (current_frame_start >= current_frame_end) {
346
24
            if (!*could_use_previous_result) {
347
0
                *use_null_result = true;
348
0
            }
349
260
        } else {
350
612
            for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) {
351
352
                update_value<true>(place, columns, row_num);
352
352
            }
353
260
            *use_null_result = false;
354
260
            *could_use_previous_result = true;
355
260
        }
356
284
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
Line
Count
Source
342
116
                                UInt8* could_use_previous_result) const override {
343
116
        auto current_frame_start = std::max<int64_t>(frame_start, partition_start);
344
116
        auto current_frame_end = std::min<int64_t>(frame_end, partition_end);
345
116
        if (current_frame_start >= current_frame_end) {
346
0
            if (!*could_use_previous_result) {
347
0
                *use_null_result = true;
348
0
            }
349
116
        } else {
350
232
            for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) {
351
116
                update_value<true>(place, columns, row_num);
352
116
            }
353
116
            *use_null_result = false;
354
116
            *could_use_previous_result = true;
355
116
        }
356
116
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_
357
358
private:
359
    uint32_t output_scale;
360
    ResultType multiplier;
361
};
362
363
} // namespace doris