Coverage Report

Created: 2026-07-24 11:49

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.77k
    ResultT result(ResultType multiplier) const {
66
2.77k
        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.77k
        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.77k
        } else {
77
2.77k
            if constexpr (T == TYPE_DECIMAL256) {
78
184
                return static_cast<ResultT>(sum * multiplier /
79
184
                                            typename PrimitiveTypeTraits<T>::CppType(count));
80
2.58k
            } else {
81
2.58k
                return static_cast<ResultT>(sum * multiplier) / static_cast<ResultT>(count);
82
2.58k
            }
83
2.77k
        }
84
2.77k
    }
Unexecuted instantiation: _ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE28EE6resultINS_7DecimalIiEEEET_S5_
Unexecuted instantiation: _ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE29EE6resultINS_7DecimalIlEEEET_S5_
_ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE30EE6resultINS_12Decimal128V3EEET_S4_
Line
Count
Source
65
2.59k
    ResultT result(ResultType multiplier) const {
66
2.59k
        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.58k
        } else {
77
            if constexpr (T == TYPE_DECIMAL256) {
78
                return static_cast<ResultT>(sum * multiplier /
79
                                            typename PrimitiveTypeTraits<T>::CppType(count));
80
2.58k
            } else {
81
2.58k
                return static_cast<ResultT>(sum * multiplier) / static_cast<ResultT>(count);
82
2.58k
            }
83
2.58k
        }
84
2.58k
    }
_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
620
    ResultT result() const {
88
620
        if constexpr (std::is_floating_point_v<ResultT>) {
89
620
            if constexpr (std::numeric_limits<ResultT>::is_iec559) {
90
620
                return static_cast<ResultT>(sum) /
91
620
                       static_cast<ResultT>(count); /// allow division by zero
92
620
            }
93
620
        }
94
95
620
        if (!count) {
96
            // null is handled in AggregationNode::_get_without_key_result
97
0
            return static_cast<ResultT>(sum);
98
0
        }
99
620
        return static_cast<ResultT>(sum) / static_cast<ResultT>(count);
100
620
    }
_ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE7EE6resultIdEET_v
Line
Count
Source
87
694
    ResultT result() const {
88
694
        if constexpr (std::is_floating_point_v<ResultT>) {
89
694
            if constexpr (std::numeric_limits<ResultT>::is_iec559) {
90
694
                return static_cast<ResultT>(sum) /
91
694
                       static_cast<ResultT>(count); /// allow division by zero
92
694
            }
93
694
        }
94
95
694
        if (!count) {
96
            // null is handled in AggregationNode::_get_without_key_result
97
0
            return static_cast<ResultT>(sum);
98
0
        }
99
694
        return static_cast<ResultT>(sum) / static_cast<ResultT>(count);
100
694
    }
_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
184
    void write(BufferWritable& buf) const {
103
184
        buf.write_binary(sum);
104
184
        buf.write_binary(count);
105
184
    }
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
144
    void write(BufferWritable& buf) const {
103
144
        buf.write_binary(sum);
104
144
        buf.write_binary(count);
105
144
    }
_ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE7EE5writeERNS_14BufferWritableE
Line
Count
Source
102
17
    void write(BufferWritable& buf) const {
103
17
        buf.write_binary(sum);
104
17
        buf.write_binary(count);
105
17
    }
Unexecuted instantiation: _ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE9EE5writeERNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE20EE5writeERNS_14BufferWritableE
106
107
199
    void read(BufferReadable& buf) {
108
199
        buf.read_binary(sum);
109
199
        buf.read_binary(count);
110
199
    }
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
150
    void read(BufferReadable& buf) {
108
150
        buf.read_binary(sum);
109
150
        buf.read_binary(count);
110
150
    }
_ZN5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE7EE4readERNS_14BufferReadableE
Line
Count
Source
107
26
    void read(BufferReadable& buf) {
108
26
        buf.read_binary(sum);
109
26
        buf.read_binary(count);
110
26
    }
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.09k
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
3.09k
                      argument_types_),
146
3.09k
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
3.09k
                                    get_decimal_scale(*argument_types_[0]))) {
148
3.09k
        if constexpr (is_decimal(T)) {
149
901
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
150
901
                    output_scale - get_decimal_scale(*argument_types_[0])));
151
901
        }
152
3.09k
    }
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
87
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
87
                      argument_types_),
146
87
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
87
                                    get_decimal_scale(*argument_types_[0]))) {
148
87
        if constexpr (is_decimal(T)) {
149
87
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
150
87
                    output_scale - get_decimal_scale(*argument_types_[0])));
151
87
        }
152
87
    }
_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
581
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
581
                      argument_types_),
146
581
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
581
                                    get_decimal_scale(*argument_types_[0]))) {
148
581
        if constexpr (is_decimal(T)) {
149
581
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
150
581
                    output_scale - get_decimal_scale(*argument_types_[0])));
151
581
        }
152
581
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
144
9
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
9
                      argument_types_),
146
9
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
9
                                    get_decimal_scale(*argument_types_[0]))) {
148
9
        if constexpr (is_decimal(T)) {
149
9
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
150
9
                    output_scale - get_decimal_scale(*argument_types_[0])));
151
9
        }
152
9
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
144
94
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
94
                      argument_types_),
146
94
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
94
                                    get_decimal_scale(*argument_types_[0]))) {
148
94
        if constexpr (is_decimal(T)) {
149
94
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
150
94
                    output_scale - get_decimal_scale(*argument_types_[0])));
151
94
        }
152
94
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
144
24
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
24
                      argument_types_),
146
24
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
24
                                    get_decimal_scale(*argument_types_[0]))) {
148
24
        if constexpr (is_decimal(T)) {
149
24
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
150
24
                    output_scale - get_decimal_scale(*argument_types_[0])));
151
24
        }
152
24
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
144
98
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
98
                      argument_types_),
146
98
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
98
                                    get_decimal_scale(*argument_types_[0]))) {
148
98
        if constexpr (is_decimal(T)) {
149
98
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
150
98
                    output_scale - get_decimal_scale(*argument_types_[0])));
151
98
        }
152
98
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
144
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.24k
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
1.24k
                      argument_types_),
146
1.24k
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
1.24k
                                    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.24k
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
144
309
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
309
                      argument_types_),
146
309
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
309
                                    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
309
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
144
2
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
2
                      argument_types_),
146
2
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
2
                                    get_decimal_scale(*argument_types_[0]))) {
148
        if constexpr (is_decimal(T)) {
149
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
150
                    output_scale - get_decimal_scale(*argument_types_[0])));
151
        }
152
2
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
144
277
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
277
                      argument_types_),
146
277
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
277
                                    get_decimal_scale(*argument_types_[0]))) {
148
        if constexpr (is_decimal(T)) {
149
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
150
                    output_scale - get_decimal_scale(*argument_types_[0])));
151
        }
152
277
    }
Unexecuted instantiation: _ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
144
50
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
50
                      argument_types_),
146
50
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
50
                                    get_decimal_scale(*argument_types_[0]))) {
148
        if constexpr (is_decimal(T)) {
149
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
150
                    output_scale - get_decimal_scale(*argument_types_[0])));
151
        }
152
50
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
144
38
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
38
                      argument_types_),
146
38
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
38
                                    get_decimal_scale(*argument_types_[0]))) {
148
        if constexpr (is_decimal(T)) {
149
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
150
                    output_scale - get_decimal_scale(*argument_types_[0])));
151
        }
152
38
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
144
46
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
46
                      argument_types_),
146
46
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
46
                                    get_decimal_scale(*argument_types_[0]))) {
148
        if constexpr (is_decimal(T)) {
149
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
150
                    output_scale - get_decimal_scale(*argument_types_[0])));
151
        }
152
46
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
144
38
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
38
                      argument_types_),
146
38
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
38
                                    get_decimal_scale(*argument_types_[0]))) {
148
        if constexpr (is_decimal(T)) {
149
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
150
                    output_scale - get_decimal_scale(*argument_types_[0])));
151
        }
152
38
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
144
38
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
38
                      argument_types_),
146
38
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
38
                                    get_decimal_scale(*argument_types_[0]))) {
148
        if constexpr (is_decimal(T)) {
149
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
150
                    output_scale - get_decimal_scale(*argument_types_[0])));
151
        }
152
38
    }
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
144
42
            : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>(
145
42
                      argument_types_),
146
42
              output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE,
147
42
                                    get_decimal_scale(*argument_types_[0]))) {
148
        if constexpr (is_decimal(T)) {
149
            multiplier = ResultType(ResultDataType::get_scale_multiplier(
150
                    output_scale - get_decimal_scale(*argument_types_[0])));
151
        }
152
42
    }
153
154
478
    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
48
    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
121
    String get_name() const override { return "avg"; }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE8get_nameB5cxx11Ev
Line
Count
Source
154
238
    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
26
    String get_name() const override { return "avg"; }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE8get_nameB5cxx11Ev
155
156
9.02k
    DataTypePtr get_return_type() const override {
157
9.02k
        if constexpr (is_decimal(T)) {
158
3.38k
            return std::make_shared<ResultDataType>(
159
3.38k
                    ResultDataType::max_precision(),
160
3.38k
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
5.64k
        } else {
162
5.64k
            return std::make_shared<ResultDataType>();
163
5.64k
        }
164
9.02k
    }
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
406
    DataTypePtr get_return_type() const override {
157
406
        if constexpr (is_decimal(T)) {
158
406
            return std::make_shared<ResultDataType>(
159
406
                    ResultDataType::max_precision(),
160
406
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
        } else {
162
            return std::make_shared<ResultDataType>();
163
        }
164
406
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE15get_return_typeEv
Line
Count
Source
156
18
    DataTypePtr get_return_type() const override {
157
18
        if constexpr (is_decimal(T)) {
158
18
            return std::make_shared<ResultDataType>(
159
18
                    ResultDataType::max_precision(),
160
18
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
        } else {
162
            return std::make_shared<ResultDataType>();
163
        }
164
18
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE15get_return_typeEv
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE15get_return_typeEv
Line
Count
Source
156
2.32k
    DataTypePtr get_return_type() const override {
157
2.32k
        if constexpr (is_decimal(T)) {
158
2.32k
            return std::make_shared<ResultDataType>(
159
2.32k
                    ResultDataType::max_precision(),
160
2.32k
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
        } else {
162
            return std::make_shared<ResultDataType>();
163
        }
164
2.32k
    }
_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
242
    DataTypePtr get_return_type() const override {
157
242
        if constexpr (is_decimal(T)) {
158
242
            return std::make_shared<ResultDataType>(
159
242
                    ResultDataType::max_precision(),
160
242
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
        } else {
162
            return std::make_shared<ResultDataType>();
163
        }
164
242
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE15get_return_typeEv
Line
Count
Source
156
92
    DataTypePtr get_return_type() const override {
157
92
        if constexpr (is_decimal(T)) {
158
92
            return std::make_shared<ResultDataType>(
159
92
                    ResultDataType::max_precision(),
160
92
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
        } else {
162
            return std::make_shared<ResultDataType>();
163
        }
164
92
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE15get_return_typeEv
Line
Count
Source
156
274
    DataTypePtr get_return_type() const override {
157
274
        if constexpr (is_decimal(T)) {
158
274
            return std::make_shared<ResultDataType>(
159
274
                    ResultDataType::max_precision(),
160
274
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
        } else {
162
            return std::make_shared<ResultDataType>();
163
        }
164
274
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE15get_return_typeEv
Line
Count
Source
156
292
    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
292
        } else {
162
292
            return std::make_shared<ResultDataType>();
163
292
        }
164
292
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE15get_return_typeEv
Line
Count
Source
156
120
    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
120
        } else {
162
120
            return std::make_shared<ResultDataType>();
163
120
        }
164
120
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE15get_return_typeEv
Line
Count
Source
156
1.75k
    DataTypePtr get_return_type() const override {
157
        if constexpr (is_decimal(T)) {
158
            return std::make_shared<ResultDataType>(
159
                    ResultDataType::max_precision(),
160
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
1.75k
        } else {
162
1.75k
            return std::make_shared<ResultDataType>();
163
1.75k
        }
164
1.75k
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE15get_return_typeEv
Line
Count
Source
156
1.15k
    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.15k
        } else {
162
1.15k
            return std::make_shared<ResultDataType>();
163
1.15k
        }
164
1.15k
    }
_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.88k
    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.88k
        } else {
162
1.88k
            return std::make_shared<ResultDataType>();
163
1.88k
        }
164
1.88k
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE15get_return_typeEv
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE15get_return_typeEv
Line
Count
Source
156
84
    DataTypePtr get_return_type() const override {
157
        if constexpr (is_decimal(T)) {
158
            return std::make_shared<ResultDataType>(
159
                    ResultDataType::max_precision(),
160
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
84
        } else {
162
84
            return std::make_shared<ResultDataType>();
163
84
        }
164
84
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE15get_return_typeEv
Line
Count
Source
156
66
    DataTypePtr get_return_type() const override {
157
        if constexpr (is_decimal(T)) {
158
            return std::make_shared<ResultDataType>(
159
                    ResultDataType::max_precision(),
160
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
66
        } else {
162
66
            return std::make_shared<ResultDataType>();
163
66
        }
164
66
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE15get_return_typeEv
Line
Count
Source
156
78
    DataTypePtr get_return_type() const override {
157
        if constexpr (is_decimal(T)) {
158
            return std::make_shared<ResultDataType>(
159
                    ResultDataType::max_precision(),
160
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
78
        } else {
162
78
            return std::make_shared<ResultDataType>();
163
78
        }
164
78
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE15get_return_typeEv
Line
Count
Source
156
66
    DataTypePtr get_return_type() const override {
157
        if constexpr (is_decimal(T)) {
158
            return std::make_shared<ResultDataType>(
159
                    ResultDataType::max_precision(),
160
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
66
        } else {
162
66
            return std::make_shared<ResultDataType>();
163
66
        }
164
66
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE15get_return_typeEv
Line
Count
Source
156
66
    DataTypePtr get_return_type() const override {
157
        if constexpr (is_decimal(T)) {
158
            return std::make_shared<ResultDataType>(
159
                    ResultDataType::max_precision(),
160
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
66
        } else {
162
66
            return std::make_shared<ResultDataType>();
163
66
        }
164
66
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE15get_return_typeEv
Line
Count
Source
156
72
    DataTypePtr get_return_type() const override {
157
        if constexpr (is_decimal(T)) {
158
            return std::make_shared<ResultDataType>(
159
                    ResultDataType::max_precision(),
160
                    std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale));
161
72
        } else {
162
72
            return std::make_shared<ResultDataType>();
163
72
        }
164
72
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE15get_return_typeEv
165
166
0
    bool is_trivial() const override { return true; }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionAvgDataILS1_28EEEE10is_trivialEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE10is_trivialEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE10is_trivialEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE10is_trivialEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE10is_trivialEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE10is_trivialEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE10is_trivialEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE10is_trivialEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE10is_trivialEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE10is_trivialEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE10is_trivialEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE10is_trivialEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE10is_trivialEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE10is_trivialEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE10is_trivialEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE10is_trivialEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE10is_trivialEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE10is_trivialEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE10is_trivialEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE10is_trivialEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE10is_trivialEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE10is_trivialEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE10is_trivialEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE10is_trivialEv
167
168
    template <bool is_add>
169
    NO_SANITIZE_UNDEFINED void update_value(AggregateDataPtr __restrict place,
170
113M
                                            const IColumn** columns, ssize_t row_num) const {
171
113M
        ALLOW_FP_REASSOCIATION
172
113M
        const auto& column =
173
113M
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
113M
        if constexpr (is_add) {
175
113M
            if constexpr (T == TYPE_DECIMALV2) {
176
0
                this->data(place).sum += column.get_data()[row_num];
177
111M
            } else if constexpr (is_decimal(T)) {
178
111M
                this->data(place).sum += column.get_data()[row_num].value;
179
111M
            } else {
180
1.79M
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
1.79M
            }
182
113M
            ++this->data(place).count;
183
113M
        } else {
184
132
            if constexpr (T == TYPE_DECIMALV2) {
185
0
                this->data(place).sum += -column.get_data()[row_num];
186
20
            } else if constexpr (is_decimal(T)) {
187
20
                this->data(place).sum -= column.get_data()[row_num].value;
188
112
            } else {
189
112
                this->data(place).sum -= (DataType)column.get_data()[row_num];
190
112
            }
191
132
            --this->data(place).count;
192
132
        }
193
113M
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionAvgDataILS1_28EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionAvgDataILS1_28EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
170
2.19M
                                            const IColumn** columns, ssize_t row_num) const {
171
2.19M
        ALLOW_FP_REASSOCIATION
172
2.19M
        const auto& column =
173
2.19M
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
2.19M
        if constexpr (is_add) {
175
            if constexpr (T == TYPE_DECIMALV2) {
176
                this->data(place).sum += column.get_data()[row_num];
177
2.19M
            } else if constexpr (is_decimal(T)) {
178
2.19M
                this->data(place).sum += column.get_data()[row_num].value;
179
            } else {
180
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
            }
182
2.19M
            ++this->data(place).count;
183
        } else {
184
            if constexpr (T == TYPE_DECIMALV2) {
185
                this->data(place).sum += -column.get_data()[row_num];
186
            } else if constexpr (is_decimal(T)) {
187
                this->data(place).sum -= column.get_data()[row_num].value;
188
            } else {
189
                this->data(place).sum -= (DataType)column.get_data()[row_num];
190
            }
191
            --this->data(place).count;
192
        }
193
2.19M
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
Line
Count
Source
170
20
                                            const IColumn** columns, ssize_t row_num) const {
171
20
        ALLOW_FP_REASSOCIATION
172
20
        const auto& column =
173
20
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
        if constexpr (is_add) {
175
            if constexpr (T == TYPE_DECIMALV2) {
176
                this->data(place).sum += column.get_data()[row_num];
177
            } else if constexpr (is_decimal(T)) {
178
                this->data(place).sum += column.get_data()[row_num].value;
179
            } else {
180
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
            }
182
            ++this->data(place).count;
183
20
        } else {
184
            if constexpr (T == TYPE_DECIMALV2) {
185
                this->data(place).sum += -column.get_data()[row_num];
186
20
            } else if constexpr (is_decimal(T)) {
187
20
                this->data(place).sum -= column.get_data()[row_num].value;
188
            } else {
189
                this->data(place).sum -= (DataType)column.get_data()[row_num];
190
            }
191
20
            --this->data(place).count;
192
20
        }
193
20
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
170
11
                                            const IColumn** columns, ssize_t row_num) const {
171
11
        ALLOW_FP_REASSOCIATION
172
11
        const auto& column =
173
11
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
11
        if constexpr (is_add) {
175
            if constexpr (T == TYPE_DECIMALV2) {
176
                this->data(place).sum += column.get_data()[row_num];
177
11
            } else if constexpr (is_decimal(T)) {
178
11
                this->data(place).sum += column.get_data()[row_num].value;
179
            } else {
180
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
            }
182
11
            ++this->data(place).count;
183
        } else {
184
            if constexpr (T == TYPE_DECIMALV2) {
185
                this->data(place).sum += -column.get_data()[row_num];
186
            } else if constexpr (is_decimal(T)) {
187
                this->data(place).sum -= column.get_data()[row_num].value;
188
            } else {
189
                this->data(place).sum -= (DataType)column.get_data()[row_num];
190
            }
191
            --this->data(place).count;
192
        }
193
11
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
170
109M
                                            const IColumn** columns, ssize_t row_num) const {
171
109M
        ALLOW_FP_REASSOCIATION
172
109M
        const auto& column =
173
109M
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
109M
        if constexpr (is_add) {
175
            if constexpr (T == TYPE_DECIMALV2) {
176
                this->data(place).sum += column.get_data()[row_num];
177
109M
            } else if constexpr (is_decimal(T)) {
178
109M
                this->data(place).sum += column.get_data()[row_num].value;
179
            } else {
180
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
            }
182
109M
            ++this->data(place).count;
183
        } else {
184
            if constexpr (T == TYPE_DECIMALV2) {
185
                this->data(place).sum += -column.get_data()[row_num];
186
            } else if constexpr (is_decimal(T)) {
187
                this->data(place).sum -= column.get_data()[row_num].value;
188
            } else {
189
                this->data(place).sum -= (DataType)column.get_data()[row_num];
190
            }
191
            --this->data(place).count;
192
        }
193
109M
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
170
48
                                            const IColumn** columns, ssize_t row_num) const {
171
48
        ALLOW_FP_REASSOCIATION
172
48
        const auto& column =
173
48
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
48
        if constexpr (is_add) {
175
            if constexpr (T == TYPE_DECIMALV2) {
176
                this->data(place).sum += column.get_data()[row_num];
177
48
            } else if constexpr (is_decimal(T)) {
178
48
                this->data(place).sum += column.get_data()[row_num].value;
179
            } else {
180
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
            }
182
48
            ++this->data(place).count;
183
        } else {
184
            if constexpr (T == TYPE_DECIMALV2) {
185
                this->data(place).sum += -column.get_data()[row_num];
186
            } else if constexpr (is_decimal(T)) {
187
                this->data(place).sum -= column.get_data()[row_num].value;
188
            } else {
189
                this->data(place).sum -= (DataType)column.get_data()[row_num];
190
            }
191
            --this->data(place).count;
192
        }
193
48
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
170
111
                                            const IColumn** columns, ssize_t row_num) const {
171
111
        ALLOW_FP_REASSOCIATION
172
111
        const auto& column =
173
111
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
111
        if constexpr (is_add) {
175
            if constexpr (T == TYPE_DECIMALV2) {
176
                this->data(place).sum += column.get_data()[row_num];
177
111
            } else if constexpr (is_decimal(T)) {
178
111
                this->data(place).sum += column.get_data()[row_num].value;
179
            } else {
180
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
            }
182
111
            ++this->data(place).count;
183
        } else {
184
            if constexpr (T == TYPE_DECIMALV2) {
185
                this->data(place).sum += -column.get_data()[row_num];
186
            } else if constexpr (is_decimal(T)) {
187
                this->data(place).sum -= column.get_data()[row_num].value;
188
            } else {
189
                this->data(place).sum -= (DataType)column.get_data()[row_num];
190
            }
191
            --this->data(place).count;
192
        }
193
111
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
170
233
                                            const IColumn** columns, ssize_t row_num) const {
171
233
        ALLOW_FP_REASSOCIATION
172
233
        const auto& column =
173
233
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
233
        if constexpr (is_add) {
175
            if constexpr (T == TYPE_DECIMALV2) {
176
                this->data(place).sum += column.get_data()[row_num];
177
233
            } else if constexpr (is_decimal(T)) {
178
233
                this->data(place).sum += column.get_data()[row_num].value;
179
            } else {
180
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
            }
182
233
            ++this->data(place).count;
183
        } else {
184
            if constexpr (T == TYPE_DECIMALV2) {
185
                this->data(place).sum += -column.get_data()[row_num];
186
            } else if constexpr (is_decimal(T)) {
187
                this->data(place).sum -= column.get_data()[row_num].value;
188
            } else {
189
                this->data(place).sum -= (DataType)column.get_data()[row_num];
190
            }
191
            --this->data(place).count;
192
        }
193
233
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
170
419
                                            const IColumn** columns, ssize_t row_num) const {
171
419
        ALLOW_FP_REASSOCIATION
172
419
        const auto& column =
173
419
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
419
        if constexpr (is_add) {
175
            if constexpr (T == TYPE_DECIMALV2) {
176
                this->data(place).sum += column.get_data()[row_num];
177
419
            } else if constexpr (is_decimal(T)) {
178
419
                this->data(place).sum += column.get_data()[row_num].value;
179
            } else {
180
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
            }
182
419
            ++this->data(place).count;
183
        } else {
184
            if constexpr (T == TYPE_DECIMALV2) {
185
                this->data(place).sum += -column.get_data()[row_num];
186
            } else if constexpr (is_decimal(T)) {
187
                this->data(place).sum -= column.get_data()[row_num].value;
188
            } else {
189
                this->data(place).sum -= (DataType)column.get_data()[row_num];
190
            }
191
            --this->data(place).count;
192
        }
193
419
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
170
169
                                            const IColumn** columns, ssize_t row_num) const {
171
169
        ALLOW_FP_REASSOCIATION
172
169
        const auto& column =
173
169
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
174
169
        if constexpr (is_add) {
175
            if constexpr (T == TYPE_DECIMALV2) {
176
                this->data(place).sum += column.get_data()[row_num];
177
            } else if constexpr (is_decimal(T)) {
178
                this->data(place).sum += column.get_data()[row_num].value;
179
169
            } else {
180
169
                this->data(place).sum += (DataType)column.get_data()[row_num];
181
169
            }
182
169
            ++this->data(place).count;
183
        } else {
184
            if constexpr (T == TYPE_DECIMALV2) {
185
                this->data(place).sum += -column.get_data()[row_num];
186
            } else if constexpr (is_decimal(T)) {
187
                this->data(place).sum -= column.get_data()[row_num].value;
188
            } else {
189
                this->data(place).sum -= (DataType)column.get_data()[row_num];
190
            }
191
            --this->data(place).count;
192
        }
193
169
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl
Line
Count
Source
170
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
112M
             Arena&) const override {
197
112M
        update_value<true>(place, columns, row_num);
198
112M
    }
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
108M
             Arena&) const override {
197
108M
        update_value<true>(place, columns, row_num);
198
108M
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
196
48
             Arena&) const override {
197
48
        update_value<true>(place, columns, row_num);
198
48
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
196
111
             Arena&) const override {
197
111
        update_value<true>(place, columns, row_num);
198
111
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
196
233
             Arena&) const override {
197
233
        update_value<true>(place, columns, row_num);
198
233
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
196
419
             Arena&) const override {
197
419
        update_value<true>(place, columns, row_num);
198
419
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
196
168
             Arena&) const override {
197
168
        update_value<true>(place, columns, row_num);
198
168
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
196
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
893
             Arena&) const override {
197
893
        update_value<true>(place, columns, row_num);
198
893
    }
_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.01k
    void reset(AggregateDataPtr place) const override {
201
1.01k
        this->data(place).sum = {};
202
1.01k
        this->data(place).count = 0;
203
1.01k
    }
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
137
    void reset(AggregateDataPtr place) const override {
201
137
        this->data(place).sum = {};
202
137
        this->data(place).count = 0;
203
137
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE5resetEPc
Line
Count
Source
200
106
    void reset(AggregateDataPtr place) const override {
201
106
        this->data(place).sum = {};
202
106
        this->data(place).count = 0;
203
106
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE5resetEPc
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5resetEPc
Line
Count
Source
200
90
    void reset(AggregateDataPtr place) const override {
201
90
        this->data(place).sum = {};
202
90
        this->data(place).count = 0;
203
90
    }
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
2.91k
                                     Arena&) const override {
207
2.91k
        if constexpr (T == TYPE_DECIMALV2) {
208
0
            this->data(place).sum += this->data(rhs).sum;
209
1.27k
        } else if constexpr (is_decimal(T)) {
210
1.27k
            this->data(place).sum += this->data(rhs).sum.value;
211
1.63k
        } else {
212
1.63k
            this->data(place).sum += this->data(rhs).sum;
213
1.63k
        }
214
2.91k
        this->data(place).count += this->data(rhs).count;
215
2.91k
    }
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.18k
                                     Arena&) const override {
207
        if constexpr (T == TYPE_DECIMALV2) {
208
            this->data(place).sum += this->data(rhs).sum;
209
1.18k
        } else if constexpr (is_decimal(T)) {
210
1.18k
            this->data(place).sum += this->data(rhs).sum.value;
211
        } else {
212
            this->data(place).sum += this->data(rhs).sum;
213
        }
214
1.18k
        this->data(place).count += this->data(rhs).count;
215
1.18k
    }
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
423
                                     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
423
        } else {
212
423
            this->data(place).sum += this->data(rhs).sum;
213
423
        }
214
423
        this->data(place).count += this->data(rhs).count;
215
423
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
206
240
                                     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
240
        } else {
212
240
            this->data(place).sum += this->data(rhs).sum;
213
240
        }
214
240
        this->data(place).count += this->data(rhs).count;
215
240
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE5mergeEPcPKcRNS_5ArenaE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
206
896
                                     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
896
        } else {
212
896
            this->data(place).sum += this->data(rhs).sum;
213
896
        }
214
896
        this->data(place).count += this->data(rhs).count;
215
896
    }
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
184
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
218
184
        this->data(place).write(buf);
219
184
    }
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
144
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
218
144
        this->data(place).write(buf);
219
144
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
217
17
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
218
17
        this->data(place).write(buf);
219
17
    }
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
199
                     Arena&) const override {
223
199
        this->data(place).read(buf);
224
199
    }
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
150
                     Arena&) const override {
223
150
        this->data(place).read(buf);
224
150
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
222
26
                     Arena&) const override {
223
26
        this->data(place).read(buf);
224
26
    }
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.62k
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
227
5.62k
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
228
5.62k
        if constexpr (is_decimal(T)) {
229
2.77k
            column.get_data().push_back(this->data(place).template result<ResultType>(multiplier));
230
2.84k
        } else {
231
2.84k
            column.get_data().push_back(this->data(place).template result<ResultType>());
232
2.84k
        }
233
5.62k
    }
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.43k
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
227
2.43k
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
228
2.43k
        if constexpr (is_decimal(T)) {
229
2.43k
            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.43k
    }
_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
491
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
227
491
        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
491
        } else {
231
491
            column.get_data().push_back(this->data(place).template result<ResultType>());
232
491
        }
233
491
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
226
693
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
227
693
        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
693
        } else {
231
693
            column.get_data().push_back(this->data(place).template result<ResultType>());
232
693
        }
233
693
    }
_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
1.87k
                             MutableColumnPtr& dst, const size_t num_rows) const override {
237
1.87k
        auto& col = assert_cast<ColumnFixedLengthObject&>(*dst);
238
1.87k
        col.set_item_size(sizeof(Data));
239
1.87k
        col.resize(num_rows);
240
1.87k
        auto* data = col.get_data().data();
241
4.72k
        for (size_t i = 0; i != num_rows; ++i) {
242
2.85k
            *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) =
243
2.85k
                    *reinterpret_cast<Data*>(places[i] + offset);
244
2.85k
        }
245
1.87k
    }
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
824
                             MutableColumnPtr& dst, const size_t num_rows) const override {
237
824
        auto& col = assert_cast<ColumnFixedLengthObject&>(*dst);
238
824
        col.set_item_size(sizeof(Data));
239
824
        col.resize(num_rows);
240
824
        auto* data = col.get_data().data();
241
1.96k
        for (size_t i = 0; i != num_rows; ++i) {
242
1.14k
            *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) =
243
1.14k
                    *reinterpret_cast<Data*>(places[i] + offset);
244
1.14k
        }
245
824
    }
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
47
                             MutableColumnPtr& dst, const size_t num_rows) const override {
237
47
        auto& col = assert_cast<ColumnFixedLengthObject&>(*dst);
238
47
        col.set_item_size(sizeof(Data));
239
47
        col.resize(num_rows);
240
47
        auto* data = col.get_data().data();
241
83
        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
47
    }
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
45
                             MutableColumnPtr& dst, const size_t num_rows) const override {
237
45
        auto& col = assert_cast<ColumnFixedLengthObject&>(*dst);
238
45
        col.set_item_size(sizeof(Data));
239
45
        col.resize(num_rows);
240
45
        auto* data = col.get_data().data();
241
116
        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
45
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm
Line
Count
Source
236
28
                             MutableColumnPtr& dst, const size_t num_rows) const override {
237
28
        auto& col = assert_cast<ColumnFixedLengthObject&>(*dst);
238
28
        col.set_item_size(sizeof(Data));
239
28
        col.resize(num_rows);
240
28
        auto* data = col.get_data().data();
241
100
        for (size_t i = 0; i != num_rows; ++i) {
242
72
            *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) =
243
72
                    *reinterpret_cast<Data*>(places[i] + offset);
244
72
        }
245
28
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm
Line
Count
Source
236
396
                             MutableColumnPtr& dst, const size_t num_rows) const override {
237
396
        auto& col = assert_cast<ColumnFixedLengthObject&>(*dst);
238
396
        col.set_item_size(sizeof(Data));
239
396
        col.resize(num_rows);
240
396
        auto* data = col.get_data().data();
241
706
        for (size_t i = 0; i != num_rows; ++i) {
242
310
            *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) =
243
310
                    *reinterpret_cast<Data*>(places[i] + offset);
244
310
        }
245
396
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm
Line
Count
Source
236
35
                             MutableColumnPtr& dst, const size_t num_rows) const override {
237
35
        auto& col = assert_cast<ColumnFixedLengthObject&>(*dst);
238
35
        col.set_item_size(sizeof(Data));
239
35
        col.resize(num_rows);
240
35
        auto* data = col.get_data().data();
241
275
        for (size_t i = 0; i != num_rows; ++i) {
242
240
            *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) =
243
240
                    *reinterpret_cast<Data*>(places[i] + offset);
244
240
        }
245
35
    }
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
469
                             MutableColumnPtr& dst, const size_t num_rows) const override {
237
469
        auto& col = assert_cast<ColumnFixedLengthObject&>(*dst);
238
469
        col.set_item_size(sizeof(Data));
239
469
        col.resize(num_rows);
240
469
        auto* data = col.get_data().data();
241
1.39k
        for (size_t i = 0; i != num_rows; ++i) {
242
921
            *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) =
243
921
                    *reinterpret_cast<Data*>(places[i] + offset);
244
921
        }
245
469
    }
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
74
                                           const size_t num_rows, Arena&) const override {
249
74
        auto* src_data = assert_cast<const ColVecType&>(*columns[0]).get_data().data();
250
74
        auto& dst_col = assert_cast<ColumnFixedLengthObject&>(*dst);
251
74
        dst_col.set_item_size(sizeof(Data));
252
74
        dst_col.resize(num_rows);
253
74
        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
74
    }
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
72
                                           const size_t num_rows, Arena&) const override {
249
72
        auto* src_data = assert_cast<const ColVecType&>(*columns[0]).get_data().data();
250
72
        auto& dst_col = assert_cast<ColumnFixedLengthObject&>(*dst);
251
72
        dst_col.set_item_size(sizeof(Data));
252
72
        dst_col.resize(num_rows);
253
72
        auto* data = dst_col.get_data().data();
254
8.34k
        for (size_t i = 0; i != num_rows; ++i) {
255
8.27k
            auto& state = *reinterpret_cast<Data*>(&data[sizeof(Data) * i]);
256
8.27k
            state.sum = typename Data::ResultType(src_data[i]);
257
8.27k
            state.count = 1;
258
8.27k
        }
259
72
    }
_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.24k
            Arena&) const override {
264
8.24k
        ALLOW_FP_REASSOCIATION
265
18.4E
        DCHECK(end <= column.size() && begin <= end)
266
18.4E
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
8.24k
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
8.24k
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
16.5k
        for (size_t i = begin; i <= end; ++i) {
270
8.26k
            this->data(place).sum += data[i].sum;
271
8.26k
            this->data(place).count += data[i].count;
272
8.26k
        }
273
8.24k
    }
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
114
            Arena&) const override {
264
114
        ALLOW_FP_REASSOCIATION
265
114
        DCHECK(end <= column.size() && begin <= end)
266
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
114
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
114
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
236
        for (size_t i = begin; i <= end; ++i) {
270
122
            this->data(place).sum += data[i].sum;
271
122
            this->data(place).count += data[i].count;
272
122
        }
273
114
    }
_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
172
            Arena&) const override {
264
172
        ALLOW_FP_REASSOCIATION
265
172
        DCHECK(end <= column.size() && begin <= end)
266
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
172
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
172
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
344
        for (size_t i = begin; i <= end; ++i) {
270
172
            this->data(place).sum += data[i].sum;
271
172
            this->data(place).count += data[i].count;
272
172
        }
273
172
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
263
1
            Arena&) const override {
264
1
        ALLOW_FP_REASSOCIATION
265
1
        DCHECK(end <= column.size() && begin <= end)
266
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
1
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
1
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
2
        for (size_t i = begin; i <= end; ++i) {
270
1
            this->data(place).sum += data[i].sum;
271
1
            this->data(place).count += data[i].count;
272
1
        }
273
1
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
263
7
            Arena&) const override {
264
7
        ALLOW_FP_REASSOCIATION
265
7
        DCHECK(end <= column.size() && begin <= end)
266
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
7
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
7
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
14
        for (size_t i = begin; i <= end; ++i) {
270
7
            this->data(place).sum += data[i].sum;
271
7
            this->data(place).count += data[i].count;
272
7
        }
273
7
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
263
9
            Arena&) const override {
264
9
        ALLOW_FP_REASSOCIATION
265
9
        DCHECK(end <= column.size() && begin <= end)
266
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
9
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
9
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
18
        for (size_t i = begin; i <= end; ++i) {
270
9
            this->data(place).sum += data[i].sum;
271
9
            this->data(place).count += data[i].count;
272
9
        }
273
9
    }
_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
52
        DCHECK(end <= column.size() && begin <= end)
266
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
52
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
52
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
112
        for (size_t i = begin; i <= end; ++i) {
270
60
            this->data(place).sum += data[i].sum;
271
60
            this->data(place).count += data[i].count;
272
60
        }
273
52
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
263
52
            Arena&) const override {
264
52
        ALLOW_FP_REASSOCIATION
265
52
        DCHECK(end <= column.size() && begin <= end)
266
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
52
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
52
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
112
        for (size_t i = begin; i <= end; ++i) {
270
60
            this->data(place).sum += data[i].sum;
271
60
            this->data(place).count += data[i].count;
272
60
        }
273
52
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
263
7.71k
            Arena&) const override {
264
7.71k
        ALLOW_FP_REASSOCIATION
265
18.4E
        DCHECK(end <= column.size() && begin <= end)
266
18.4E
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
7.71k
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
7.71k
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
15.4k
        for (size_t i = begin; i <= end; ++i) {
270
7.69k
            this->data(place).sum += data[i].sum;
271
7.69k
            this->data(place).count += data[i].count;
272
7.69k
        }
273
7.71k
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
263
46
            Arena&) const override {
264
46
        ALLOW_FP_REASSOCIATION
265
46
        DCHECK(end <= column.size() && begin <= end)
266
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
46
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
46
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
102
        for (size_t i = begin; i <= end; ++i) {
270
56
            this->data(place).sum += data[i].sum;
271
56
            this->data(place).count += data[i].count;
272
56
        }
273
46
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
263
1
            Arena&) const override {
264
1
        ALLOW_FP_REASSOCIATION
265
1
        DCHECK(end <= column.size() && begin <= end)
266
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
1
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
1
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
2
        for (size_t i = begin; i <= end; ++i) {
270
1
            this->data(place).sum += data[i].sum;
271
1
            this->data(place).count += data[i].count;
272
1
        }
273
1
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
263
74
            Arena&) const override {
264
74
        ALLOW_FP_REASSOCIATION
265
74
        DCHECK(end <= column.size() && begin <= end)
266
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
267
74
        auto& col = assert_cast<const ColumnFixedLengthObject&>(column);
268
74
        auto* data = reinterpret_cast<const Data*>(col.get_data().data());
269
156
        for (size_t i = begin; i <= end; ++i) {
270
82
            this->data(place).sum += data[i].sum;
271
82
            this->data(place).count += data[i].count;
272
82
        }
273
74
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
274
275
    void deserialize_and_merge_vec(const AggregateDataPtr* places, size_t offset,
276
                                   AggregateDataPtr rhs, const IColumn* column, Arena& arena,
277
886
                                   const size_t num_rows) const override {
278
886
        const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column);
279
886
        const auto* data = col.get_data().data();
280
886
        this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows);
281
886
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionAvgDataILS1_28EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
277
13
                                   const size_t num_rows) const override {
278
13
        const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column);
279
13
        const auto* data = col.get_data().data();
280
13
        this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows);
281
13
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
277
317
                                   const size_t num_rows) const override {
278
317
        const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column);
279
317
        const auto* data = col.get_data().data();
280
317
        this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows);
281
317
    }
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
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_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
22
                                   const size_t num_rows) const override {
278
22
        const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column);
279
22
        const auto* data = col.get_data().data();
280
22
        this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows);
281
22
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
277
12
                                   const size_t num_rows) const override {
278
12
        const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column);
279
12
        const auto* data = col.get_data().data();
280
12
        this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows);
281
12
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
277
130
                                   const size_t num_rows) const override {
278
130
        const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column);
279
130
        const auto* data = col.get_data().data();
280
130
        this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows);
281
130
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
277
30
                                   const size_t num_rows) const override {
278
30
        const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column);
279
30
        const auto* data = col.get_data().data();
280
30
        this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows);
281
30
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_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
335
                                   const size_t num_rows) const override {
278
335
        const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column);
279
335
        const auto* data = col.get_data().data();
280
335
        this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows);
281
335
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
282
283
    void deserialize_and_merge_vec_selected(const AggregateDataPtr* places, size_t offset,
284
                                            AggregateDataPtr rhs, const IColumn* column,
285
1
                                            Arena& arena, const size_t num_rows) const override {
286
1
        const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column);
287
1
        const auto* data = col.get_data().data();
288
1
        this->merge_vec_selected(places, offset, AggregateDataPtr(data), arena, num_rows);
289
1
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionAvgDataILS1_28EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
285
1
                                            Arena& arena, const size_t num_rows) const override {
286
1
        const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column);
287
1
        const auto* data = col.get_data().data();
288
1
        this->merge_vec_selected(places, offset, AggregateDataPtr(data), arena, num_rows);
289
1
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm
290
291
    void serialize_without_key_to_column(ConstAggregateDataPtr __restrict place,
292
558
                                         IColumn& to) const override {
293
558
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
558
        col.set_item_size(sizeof(Data));
295
558
        size_t old_size = col.size();
296
558
        col.resize(old_size + 1);
297
558
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
558
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionAvgDataILS1_28EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
292
98
                                         IColumn& to) const override {
293
98
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
98
        col.set_item_size(sizeof(Data));
295
98
        size_t old_size = col.size();
296
98
        col.resize(old_size + 1);
297
98
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
98
    }
_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
172
                                         IColumn& to) const override {
293
172
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
172
        col.set_item_size(sizeof(Data));
295
172
        size_t old_size = col.size();
296
172
        col.resize(old_size + 1);
297
172
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
172
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
292
1
                                         IColumn& to) const override {
293
1
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
1
        col.set_item_size(sizeof(Data));
295
1
        size_t old_size = col.size();
296
1
        col.resize(old_size + 1);
297
1
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
1
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
292
7
                                         IColumn& to) const override {
293
7
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
7
        col.set_item_size(sizeof(Data));
295
7
        size_t old_size = col.size();
296
7
        col.resize(old_size + 1);
297
7
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
7
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
292
9
                                         IColumn& to) const override {
293
9
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
9
        col.set_item_size(sizeof(Data));
295
9
        size_t old_size = col.size();
296
9
        col.resize(old_size + 1);
297
9
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
9
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
292
33
                                         IColumn& to) const override {
293
33
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
33
        col.set_item_size(sizeof(Data));
295
33
        size_t old_size = col.size();
296
33
        col.resize(old_size + 1);
297
33
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
33
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
292
21
                                         IColumn& to) const override {
293
21
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
21
        col.set_item_size(sizeof(Data));
295
21
        size_t old_size = col.size();
296
21
        col.resize(old_size + 1);
297
21
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
21
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
292
128
                                         IColumn& to) const override {
293
128
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
128
        col.set_item_size(sizeof(Data));
295
128
        size_t old_size = col.size();
296
128
        col.resize(old_size + 1);
297
128
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
128
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
292
29
                                         IColumn& to) const override {
293
29
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
29
        col.set_item_size(sizeof(Data));
295
29
        size_t old_size = col.size();
296
29
        col.resize(old_size + 1);
297
29
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
29
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
292
1
                                         IColumn& to) const override {
293
1
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
1
        col.set_item_size(sizeof(Data));
295
1
        size_t old_size = col.size();
296
1
        col.resize(old_size + 1);
297
1
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
1
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
292
58
                                         IColumn& to) const override {
293
58
        auto& col = assert_cast<ColumnFixedLengthObject&>(to);
294
58
        col.set_item_size(sizeof(Data));
295
58
        size_t old_size = col.size();
296
58
        col.resize(old_size + 1);
297
58
        *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place);
298
58
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
299
300
2.86k
    MutableColumnPtr create_serialize_column() const override {
301
2.86k
        return ColumnFixedLengthObject::create(sizeof(Data));
302
2.86k
    }
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
120
    MutableColumnPtr create_serialize_column() const override {
301
120
        return ColumnFixedLengthObject::create(sizeof(Data));
302
120
    }
_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
994
    MutableColumnPtr create_serialize_column() const override {
301
994
        return ColumnFixedLengthObject::create(sizeof(Data));
302
994
    }
_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
47
    MutableColumnPtr create_serialize_column() const override {
301
47
        return ColumnFixedLengthObject::create(sizeof(Data));
302
47
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE23create_serialize_columnEv
Line
Count
Source
300
7
    MutableColumnPtr create_serialize_column() const override {
301
7
        return ColumnFixedLengthObject::create(sizeof(Data));
302
7
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE23create_serialize_columnEv
Line
Count
Source
300
19
    MutableColumnPtr create_serialize_column() const override {
301
19
        return ColumnFixedLengthObject::create(sizeof(Data));
302
19
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE23create_serialize_columnEv
Line
Count
Source
300
82
    MutableColumnPtr create_serialize_column() const override {
301
82
        return ColumnFixedLengthObject::create(sizeof(Data));
302
82
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE23create_serialize_columnEv
Line
Count
Source
300
51
    MutableColumnPtr create_serialize_column() const override {
301
51
        return ColumnFixedLengthObject::create(sizeof(Data));
302
51
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE23create_serialize_columnEv
Line
Count
Source
300
951
    MutableColumnPtr create_serialize_column() const override {
301
951
        return ColumnFixedLengthObject::create(sizeof(Data));
302
951
    }
_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
527
    MutableColumnPtr create_serialize_column() const override {
301
527
        return ColumnFixedLengthObject::create(sizeof(Data));
302
527
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE23create_serialize_columnEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE23create_serialize_columnEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE23create_serialize_columnEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE23create_serialize_columnEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE23create_serialize_columnEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE23create_serialize_columnEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE23create_serialize_columnEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE23create_serialize_columnEv
303
304
3.08k
    DataTypePtr get_serialized_type() const override {
305
3.08k
        return std::make_shared<DataTypeFixedLengthObject>();
306
3.08k
    }
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
120
    DataTypePtr get_serialized_type() const override {
305
120
        return std::make_shared<DataTypeFixedLengthObject>();
306
120
    }
_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
998
    DataTypePtr get_serialized_type() const override {
305
998
        return std::make_shared<DataTypeFixedLengthObject>();
306
998
    }
_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
47
    DataTypePtr get_serialized_type() const override {
305
47
        return std::make_shared<DataTypeFixedLengthObject>();
306
47
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE19get_serialized_typeEv
Line
Count
Source
304
7
    DataTypePtr get_serialized_type() const override {
305
7
        return std::make_shared<DataTypeFixedLengthObject>();
306
7
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE19get_serialized_typeEv
Line
Count
Source
304
19
    DataTypePtr get_serialized_type() const override {
305
19
        return std::make_shared<DataTypeFixedLengthObject>();
306
19
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE19get_serialized_typeEv
Line
Count
Source
304
83
    DataTypePtr get_serialized_type() const override {
305
83
        return std::make_shared<DataTypeFixedLengthObject>();
306
83
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE19get_serialized_typeEv
Line
Count
Source
304
51
    DataTypePtr get_serialized_type() const override {
305
51
        return std::make_shared<DataTypeFixedLengthObject>();
306
51
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE19get_serialized_typeEv
Line
Count
Source
304
1.16k
    DataTypePtr get_serialized_type() const override {
305
1.16k
        return std::make_shared<DataTypeFixedLengthObject>();
306
1.16k
    }
_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
527
    DataTypePtr get_serialized_type() const override {
305
527
        return std::make_shared<DataTypeFixedLengthObject>();
306
527
    }
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
388
    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
48
    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
56
    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
26
    bool supported_incremental_mode() const override { return true; }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE26supported_incremental_modeEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE26supported_incremental_modeEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE26supported_incremental_modeEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE26supported_incremental_modeEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE26supported_incremental_modeEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE26supported_incremental_modeEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE26supported_incremental_modeEv
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE26supported_incremental_modeEv
309
310
    void execute_function_with_incremental(int64_t partition_start, int64_t partition_end,
311
                                           int64_t frame_start, int64_t frame_end,
312
                                           AggregateDataPtr place, const IColumn** columns,
313
                                           Arena& arena, bool previous_is_nul, bool end_is_nul,
314
                                           bool has_null, UInt8* use_null_result,
315
200
                                           UInt8* could_use_previous_result) const override {
316
200
        int64_t current_frame_start = std::max<int64_t>(frame_start, partition_start);
317
200
        int64_t current_frame_end = std::min<int64_t>(frame_end, partition_end);
318
200
        if (current_frame_start >= current_frame_end) {
319
0
            *use_null_result = true;
320
0
            return;
321
0
        }
322
200
        if (*could_use_previous_result) {
323
180
            auto outcoming_pos = frame_start - 1;
324
180
            auto incoming_pos = frame_end - 1;
325
180
            if (!previous_is_nul && outcoming_pos >= partition_start &&
326
180
                outcoming_pos < partition_end) {
327
132
                update_value<false>(place, columns, outcoming_pos);
328
132
            }
329
180
            if (!end_is_nul && incoming_pos >= partition_start && incoming_pos < partition_end) {
330
142
                update_value<true>(place, columns, incoming_pos);
331
142
            }
332
180
        } else {
333
20
            this->add_range_single_place(partition_start, partition_end, frame_start, frame_end,
334
20
                                         place, columns, arena, use_null_result,
335
20
                                         could_use_previous_result);
336
20
        }
337
200
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionAvgDataILS1_28EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Line
Count
Source
315
24
                                           UInt8* could_use_previous_result) const override {
316
24
        int64_t current_frame_start = std::max<int64_t>(frame_start, partition_start);
317
24
        int64_t current_frame_end = std::min<int64_t>(frame_end, partition_end);
318
24
        if (current_frame_start >= current_frame_end) {
319
0
            *use_null_result = true;
320
0
            return;
321
0
        }
322
24
        if (*could_use_previous_result) {
323
24
            auto outcoming_pos = frame_start - 1;
324
24
            auto incoming_pos = frame_end - 1;
325
24
            if (!previous_is_nul && outcoming_pos >= partition_start &&
326
24
                outcoming_pos < partition_end) {
327
20
                update_value<false>(place, columns, outcoming_pos);
328
20
            }
329
24
            if (!end_is_nul && incoming_pos >= partition_start && incoming_pos < partition_end) {
330
20
                update_value<true>(place, columns, incoming_pos);
331
20
            }
332
24
        } else {
333
0
            this->add_range_single_place(partition_start, partition_end, frame_start, frame_end,
334
0
                                         place, columns, arena, use_null_result,
335
0
                                         could_use_previous_result);
336
0
        }
337
24
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Line
Count
Source
315
15
                                           UInt8* could_use_previous_result) const override {
316
15
        int64_t current_frame_start = std::max<int64_t>(frame_start, partition_start);
317
15
        int64_t current_frame_end = std::min<int64_t>(frame_end, partition_end);
318
15
        if (current_frame_start >= current_frame_end) {
319
0
            *use_null_result = true;
320
0
            return;
321
0
        }
322
15
        if (*could_use_previous_result) {
323
15
            auto outcoming_pos = frame_start - 1;
324
15
            auto incoming_pos = frame_end - 1;
325
15
            if (!previous_is_nul && outcoming_pos >= partition_start &&
326
15
                outcoming_pos < partition_end) {
327
12
                update_value<false>(place, columns, outcoming_pos);
328
12
            }
329
15
            if (!end_is_nul && incoming_pos >= partition_start && incoming_pos < partition_end) {
330
13
                update_value<true>(place, columns, incoming_pos);
331
13
            }
332
15
        } else {
333
0
            this->add_range_single_place(partition_start, partition_end, frame_start, frame_end,
334
0
                                         place, columns, arena, use_null_result,
335
0
                                         could_use_previous_result);
336
0
        }
337
15
    }
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Line
Count
Source
315
161
                                           UInt8* could_use_previous_result) const override {
316
161
        int64_t current_frame_start = std::max<int64_t>(frame_start, partition_start);
317
161
        int64_t current_frame_end = std::min<int64_t>(frame_end, partition_end);
318
161
        if (current_frame_start >= current_frame_end) {
319
0
            *use_null_result = true;
320
0
            return;
321
0
        }
322
161
        if (*could_use_previous_result) {
323
141
            auto outcoming_pos = frame_start - 1;
324
141
            auto incoming_pos = frame_end - 1;
325
141
            if (!previous_is_nul && outcoming_pos >= partition_start &&
326
141
                outcoming_pos < partition_end) {
327
100
                update_value<false>(place, columns, outcoming_pos);
328
100
            }
329
141
            if (!end_is_nul && incoming_pos >= partition_start && incoming_pos < partition_end) {
330
109
                update_value<true>(place, columns, incoming_pos);
331
109
            }
332
141
        } else {
333
20
            this->add_range_single_place(partition_start, partition_end, frame_start, frame_end,
334
20
                                         place, columns, arena, use_null_result,
335
20
                                         could_use_previous_result);
336
20
        }
337
161
    }
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_
338
339
    void add_range_single_place(int64_t partition_start, int64_t partition_end, int64_t frame_start,
340
                                int64_t frame_end, AggregateDataPtr place, const IColumn** columns,
341
                                Arena& arena, UInt8* use_null_result,
342
571
                                UInt8* could_use_previous_result) const override {
343
571
        auto current_frame_start = std::max<int64_t>(frame_start, partition_start);
344
571
        auto current_frame_end = std::min<int64_t>(frame_end, partition_end);
345
571
        if (current_frame_start >= current_frame_end) {
346
24
            if (!*could_use_previous_result) {
347
0
                *use_null_result = true;
348
0
            }
349
547
        } else {
350
2.86k
            for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) {
351
2.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.76k
            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