be/src/exprs/aggregate/aggregate_function_avg.h
Line | Count | Source |
1 | | // Licensed to the Apache Software Foundation (ASF) under one |
2 | | // or more contributor license agreements. See the NOTICE file |
3 | | // distributed with this work for additional information |
4 | | // regarding copyright ownership. The ASF licenses this file |
5 | | // to you under the Apache License, Version 2.0 (the |
6 | | // "License"); you may not use this file except in compliance |
7 | | // with the License. You may obtain a copy of the License at |
8 | | // |
9 | | // http://www.apache.org/licenses/LICENSE-2.0 |
10 | | // |
11 | | // Unless required by applicable law or agreed to in writing, |
12 | | // software distributed under the License is distributed on an |
13 | | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
14 | | // KIND, either express or implied. See the License for the |
15 | | // specific language governing permissions and limitations |
16 | | // under the License. |
17 | | // This file is copied from |
18 | | // https://github.com/ClickHouse/ClickHouse/blob/master/src/AggregateFunctions/AggregateFunctionAvg.h |
19 | | // and modified by Doris |
20 | | |
21 | | #pragma once |
22 | | |
23 | | #include <glog/logging.h> |
24 | | #include <string.h> |
25 | | |
26 | | #include <limits> |
27 | | #include <memory> |
28 | | #include <ostream> |
29 | | #include <type_traits> |
30 | | #include <vector> |
31 | | |
32 | | #include "core/assert_cast.h" |
33 | | #include "core/column/column.h" |
34 | | #include "core/column/column_fixed_length_object.h" |
35 | | #include "core/data_type/data_type.h" |
36 | | #include "core/data_type/data_type_decimal.h" |
37 | | #include "core/data_type/data_type_fixed_length_object.h" |
38 | | #include "core/data_type/primitive_type.h" |
39 | | #include "core/types.h" |
40 | | #include "core/value/decimalv2_value.h" |
41 | | #include "exprs/aggregate/aggregate_function.h" |
42 | | |
43 | | namespace doris { |
44 | | #include "common/compile_check_begin.h" |
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.67k | ResultT result(ResultType multiplier) const { |
66 | 2.67k | if (!count) { |
67 | | // null is handled in AggregationNode::_get_without_key_result |
68 | 2 | return static_cast<ResultT>(sum); |
69 | 2 | } |
70 | | // to keep the same result with row vesion; see AggregateFunctions::decimalv2_avg_get_value |
71 | 2.67k | if constexpr (T == TYPE_DECIMALV2 && IsDecimalV2<ResultT>) { |
72 | 0 | DecimalV2Value decimal_val_count(count, 0); |
73 | 0 | DecimalV2Value decimal_val_sum(sum * multiplier); |
74 | 0 | DecimalV2Value cal_ret = decimal_val_sum / decimal_val_count; |
75 | 0 | return cal_ret; |
76 | 2.67k | } else { |
77 | 2.67k | if constexpr (T == TYPE_DECIMAL256) { |
78 | 184 | return static_cast<ResultT>(sum * multiplier / |
79 | 184 | typename PrimitiveTypeTraits<T>::CppType(count)); |
80 | 2.48k | } else { |
81 | 2.48k | return static_cast<ResultT>(sum * multiplier) / static_cast<ResultT>(count); |
82 | 2.48k | } |
83 | 2.67k | } |
84 | 2.67k | } Unexecuted instantiation: _ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE28EE6resultINS_7DecimalIiEEEET_S5_ Unexecuted instantiation: _ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE29EE6resultINS_7DecimalIlEEEET_S5_ _ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE30EE6resultINS_12Decimal128V3EEET_S4_ Line | Count | Source | 65 | 2.49k | ResultT result(ResultType multiplier) const { | 66 | 2.49k | if (!count) { | 67 | | // null is handled in AggregationNode::_get_without_key_result | 68 | 2 | return static_cast<ResultT>(sum); | 69 | 2 | } | 70 | | // to keep the same result with row vesion; see AggregateFunctions::decimalv2_avg_get_value | 71 | | if constexpr (T == TYPE_DECIMALV2 && IsDecimalV2<ResultT>) { | 72 | | DecimalV2Value decimal_val_count(count, 0); | 73 | | DecimalV2Value decimal_val_sum(sum * multiplier); | 74 | | DecimalV2Value cal_ret = decimal_val_sum / decimal_val_count; | 75 | | return cal_ret; | 76 | 2.48k | } else { | 77 | | if constexpr (T == TYPE_DECIMAL256) { | 78 | | return static_cast<ResultT>(sum * multiplier / | 79 | | typename PrimitiveTypeTraits<T>::CppType(count)); | 80 | 2.48k | } else { | 81 | 2.48k | return static_cast<ResultT>(sum * multiplier) / static_cast<ResultT>(count); | 82 | 2.48k | } | 83 | 2.48k | } | 84 | 2.48k | } |
_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 | | // to keep the same result with row vesion; see AggregateFunctions::decimalv2_avg_get_value | 71 | | if constexpr (T == TYPE_DECIMALV2 && IsDecimalV2<ResultT>) { | 72 | | DecimalV2Value decimal_val_count(count, 0); | 73 | | DecimalV2Value decimal_val_sum(sum * multiplier); | 74 | | DecimalV2Value cal_ret = decimal_val_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 | 1.91k | ResultT result() const { |
88 | 1.91k | if constexpr (std::is_floating_point_v<ResultT>) { |
89 | 1.91k | if constexpr (std::numeric_limits<ResultT>::is_iec559) { |
90 | 1.91k | return static_cast<ResultT>(sum) / |
91 | 1.91k | static_cast<ResultT>(count); /// allow division by zero |
92 | 1.91k | } |
93 | 1.91k | } |
94 | | |
95 | 1.91k | if (!count) { |
96 | | // null is handled in AggregationNode::_get_without_key_result |
97 | 0 | return static_cast<ResultT>(sum); |
98 | 0 | } |
99 | 1.91k | return static_cast<ResultT>(sum) / static_cast<ResultT>(count); |
100 | 1.91k | } _ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE6EE6resultIdEET_v Line | Count | Source | 87 | 604 | ResultT result() const { | 88 | 604 | if constexpr (std::is_floating_point_v<ResultT>) { | 89 | 604 | if constexpr (std::numeric_limits<ResultT>::is_iec559) { | 90 | 604 | return static_cast<ResultT>(sum) / | 91 | 604 | static_cast<ResultT>(count); /// allow division by zero | 92 | 604 | } | 93 | 604 | } | 94 | | | 95 | 604 | if (!count) { | 96 | | // null is handled in AggregationNode::_get_without_key_result | 97 | 0 | return static_cast<ResultT>(sum); | 98 | 0 | } | 99 | 604 | return static_cast<ResultT>(sum) / static_cast<ResultT>(count); | 100 | 604 | } |
_ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE7EE6resultIdEET_v Line | Count | Source | 87 | 553 | ResultT result() const { | 88 | 553 | if constexpr (std::is_floating_point_v<ResultT>) { | 89 | 553 | if constexpr (std::numeric_limits<ResultT>::is_iec559) { | 90 | 553 | return static_cast<ResultT>(sum) / | 91 | 553 | static_cast<ResultT>(count); /// allow division by zero | 92 | 553 | } | 93 | 553 | } | 94 | | | 95 | 553 | if (!count) { | 96 | | // null is handled in AggregationNode::_get_without_key_result | 97 | 0 | return static_cast<ResultT>(sum); | 98 | 0 | } | 99 | 553 | return static_cast<ResultT>(sum) / static_cast<ResultT>(count); | 100 | 553 | } |
_ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE9EE6resultIdEET_v Line | Count | Source | 87 | 758 | ResultT result() const { | 88 | 758 | if constexpr (std::is_floating_point_v<ResultT>) { | 89 | 758 | if constexpr (std::numeric_limits<ResultT>::is_iec559) { | 90 | 758 | return static_cast<ResultT>(sum) / | 91 | 758 | static_cast<ResultT>(count); /// allow division by zero | 92 | 758 | } | 93 | 758 | } | 94 | | | 95 | 758 | if (!count) { | 96 | | // null is handled in AggregationNode::_get_without_key_result | 97 | 0 | return static_cast<ResultT>(sum); | 98 | 0 | } | 99 | 758 | return static_cast<ResultT>(sum) / static_cast<ResultT>(count); | 100 | 758 | } |
|
101 | | |
102 | 189 | void write(BufferWritable& buf) const { |
103 | 189 | buf.write_binary(sum); |
104 | 189 | buf.write_binary(count); |
105 | 189 | } 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 | 140 | void write(BufferWritable& buf) const { | 103 | 140 | buf.write_binary(sum); | 104 | 140 | buf.write_binary(count); | 105 | 140 | } |
_ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE7EE5writeERNS_14BufferWritableE Line | Count | Source | 102 | 26 | void write(BufferWritable& buf) const { | 103 | 26 | buf.write_binary(sum); | 104 | 26 | buf.write_binary(count); | 105 | 26 | } |
Unexecuted instantiation: _ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE9EE5writeERNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE20EE5writeERNS_14BufferWritableE |
106 | | |
107 | 207 | void read(BufferReadable& buf) { |
108 | 207 | buf.read_binary(sum); |
109 | 207 | buf.read_binary(count); |
110 | 207 | } 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 | 146 | void read(BufferReadable& buf) { | 108 | 146 | buf.read_binary(sum); | 109 | 146 | buf.read_binary(count); | 110 | 146 | } |
_ZN5doris24AggregateFunctionAvgDataILNS_13PrimitiveTypeE7EE4readERNS_14BufferReadableE Line | Count | Source | 107 | 38 | void read(BufferReadable& buf) { | 108 | 38 | buf.read_binary(sum); | 109 | 38 | buf.read_binary(count); | 110 | 38 | } |
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 | 2.91k | : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>( |
145 | 2.91k | argument_types_), |
146 | 2.91k | output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, |
147 | 2.91k | get_decimal_scale(*argument_types_[0]))) { |
148 | 2.91k | if constexpr (is_decimal(T)) { |
149 | 782 | multiplier = ResultType(ResultDataType::get_scale_multiplier( |
150 | 782 | output_scale - get_decimal_scale(*argument_types_[0]))); |
151 | 782 | } |
152 | 2.91k | } 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 | 49 | : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>( | 145 | 49 | argument_types_), | 146 | 49 | output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, | 147 | 49 | get_decimal_scale(*argument_types_[0]))) { | 148 | 49 | if constexpr (is_decimal(T)) { | 149 | 49 | multiplier = ResultType(ResultDataType::get_scale_multiplier( | 150 | 49 | output_scale - get_decimal_scale(*argument_types_[0]))); | 151 | 49 | } | 152 | 49 | } |
_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 | 501 | : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>( | 145 | 501 | argument_types_), | 146 | 501 | output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, | 147 | 501 | get_decimal_scale(*argument_types_[0]))) { | 148 | 501 | if constexpr (is_decimal(T)) { | 149 | 501 | multiplier = ResultType(ResultDataType::get_scale_multiplier( | 150 | 501 | output_scale - get_decimal_scale(*argument_types_[0]))); | 151 | 501 | } | 152 | 501 | } |
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 144 | 9 | : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>( | 145 | 9 | argument_types_), | 146 | 9 | output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, | 147 | 9 | get_decimal_scale(*argument_types_[0]))) { | 148 | 9 | if constexpr (is_decimal(T)) { | 149 | 9 | multiplier = ResultType(ResultDataType::get_scale_multiplier( | 150 | 9 | output_scale - get_decimal_scale(*argument_types_[0]))); | 151 | 9 | } | 152 | 9 | } |
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 144 | 93 | : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>( | 145 | 93 | argument_types_), | 146 | 93 | output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, | 147 | 93 | get_decimal_scale(*argument_types_[0]))) { | 148 | 93 | if constexpr (is_decimal(T)) { | 149 | 93 | multiplier = ResultType(ResultDataType::get_scale_multiplier( | 150 | 93 | output_scale - get_decimal_scale(*argument_types_[0]))); | 151 | 93 | } | 152 | 93 | } |
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 144 | 24 | : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>( | 145 | 24 | argument_types_), | 146 | 24 | output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, | 147 | 24 | get_decimal_scale(*argument_types_[0]))) { | 148 | 24 | if constexpr (is_decimal(T)) { | 149 | 24 | multiplier = ResultType(ResultDataType::get_scale_multiplier( | 150 | 24 | output_scale - get_decimal_scale(*argument_types_[0]))); | 151 | 24 | } | 152 | 24 | } |
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 144 | 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 | 102 | : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>( | 145 | 102 | argument_types_), | 146 | 102 | output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, | 147 | 102 | 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 | 102 | } |
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 144 | 34 | : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>( | 145 | 34 | argument_types_), | 146 | 34 | output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, | 147 | 34 | 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 | 34 | } |
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 144 | 1.13k | : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>( | 145 | 1.13k | argument_types_), | 146 | 1.13k | output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, | 147 | 1.13k | 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.13k | } |
_ZN5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 144 | 397 | : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>( | 145 | 397 | argument_types_), | 146 | 397 | output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, | 147 | 397 | 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 | 397 | } |
_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 | 205 | : IAggregateFunctionDataHelper<Data, AggregateFunctionAvg<T, TResult, Data>>( | 145 | 205 | argument_types_), | 146 | 205 | output_scale(std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, | 147 | 205 | 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 | 205 | } |
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 | 854 | 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 | 80 | 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 | 33 | 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 | 2 | 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 | 103 | String get_name() const override { return "avg"; } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE8get_nameB5cxx11Ev Line | Count | Source | 154 | 600 | 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 | 32 | 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 | 2.77k | DataTypePtr get_return_type() const override { |
157 | 2.77k | if constexpr (is_decimal(T)) { |
158 | 1.05k | return std::make_shared<ResultDataType>( |
159 | 1.05k | ResultDataType::max_precision(), |
160 | 1.05k | std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale)); |
161 | 1.72k | } else { |
162 | 1.72k | return std::make_shared<ResultDataType>(); |
163 | 1.72k | } |
164 | 2.77k | } 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 | 155 | DataTypePtr get_return_type() const override { | 157 | 155 | if constexpr (is_decimal(T)) { | 158 | 155 | return std::make_shared<ResultDataType>( | 159 | 155 | ResultDataType::max_precision(), | 160 | 155 | std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale)); | 161 | | } else { | 162 | | return std::make_shared<ResultDataType>(); | 163 | | } | 164 | 155 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE15get_return_typeEv Line | Count | Source | 156 | 4 | DataTypePtr get_return_type() const override { | 157 | 4 | if constexpr (is_decimal(T)) { | 158 | 4 | return std::make_shared<ResultDataType>( | 159 | 4 | ResultDataType::max_precision(), | 160 | 4 | std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale)); | 161 | | } else { | 162 | | return std::make_shared<ResultDataType>(); | 163 | | } | 164 | 4 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE15get_return_typeEv _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE15get_return_typeEv Line | Count | Source | 156 | 791 | DataTypePtr get_return_type() const override { | 157 | 791 | if constexpr (is_decimal(T)) { | 158 | 791 | return std::make_shared<ResultDataType>( | 159 | 791 | ResultDataType::max_precision(), | 160 | 791 | std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale)); | 161 | | } else { | 162 | | return std::make_shared<ResultDataType>(); | 163 | | } | 164 | 791 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE15get_return_typeEv Line | Count | Source | 156 | 4 | DataTypePtr get_return_type() const override { | 157 | 4 | if constexpr (is_decimal(T)) { | 158 | 4 | return std::make_shared<ResultDataType>( | 159 | 4 | ResultDataType::max_precision(), | 160 | 4 | std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale)); | 161 | | } else { | 162 | | return std::make_shared<ResultDataType>(); | 163 | | } | 164 | 4 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE15get_return_typeEv Line | Count | Source | 156 | 36 | DataTypePtr get_return_type() const override { | 157 | 36 | if constexpr (is_decimal(T)) { | 158 | 36 | return std::make_shared<ResultDataType>( | 159 | 36 | ResultDataType::max_precision(), | 160 | 36 | std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale)); | 161 | | } else { | 162 | | return std::make_shared<ResultDataType>(); | 163 | | } | 164 | 36 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE15get_return_typeEv Line | Count | Source | 156 | 12 | DataTypePtr get_return_type() const override { | 157 | 12 | if constexpr (is_decimal(T)) { | 158 | 12 | return std::make_shared<ResultDataType>( | 159 | 12 | ResultDataType::max_precision(), | 160 | 12 | std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale)); | 161 | | } else { | 162 | | return std::make_shared<ResultDataType>(); | 163 | | } | 164 | 12 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE15get_return_typeEv Line | Count | Source | 156 | 49 | DataTypePtr get_return_type() const override { | 157 | 49 | if constexpr (is_decimal(T)) { | 158 | 49 | return std::make_shared<ResultDataType>( | 159 | 49 | ResultDataType::max_precision(), | 160 | 49 | std::max(DEFAULT_MIN_AVG_DECIMAL128_SCALE, output_scale)); | 161 | | } else { | 162 | | return std::make_shared<ResultDataType>(); | 163 | | } | 164 | 49 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE15get_return_typeEv Line | Count | Source | 156 | 187 | 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 | 187 | } else { | 162 | 187 | return std::make_shared<ResultDataType>(); | 163 | 187 | } | 164 | 187 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE15get_return_typeEv Line | Count | Source | 156 | 59 | 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 | 59 | } else { | 162 | 59 | return std::make_shared<ResultDataType>(); | 163 | 59 | } | 164 | 59 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE15get_return_typeEv Line | Count | Source | 156 | 384 | 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 | 384 | } else { | 162 | 384 | return std::make_shared<ResultDataType>(); | 163 | 384 | } | 164 | 384 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE15get_return_typeEv Line | Count | Source | 156 | 726 | 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 | 726 | } else { | 162 | 726 | return std::make_shared<ResultDataType>(); | 163 | 726 | } | 164 | 726 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE15get_return_typeEv Line | Count | Source | 156 | 4 | 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 | 4 | } else { | 162 | 4 | return std::make_shared<ResultDataType>(); | 163 | 4 | } | 164 | 4 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE15get_return_typeEv Line | Count | Source | 156 | 293 | 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 | 293 | } else { | 162 | 293 | return std::make_shared<ResultDataType>(); | 163 | 293 | } | 164 | 293 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE15get_return_typeEv _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE15get_return_typeEv Line | Count | Source | 156 | 16 | 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 | 16 | } else { | 162 | 16 | return std::make_shared<ResultDataType>(); | 163 | 16 | } | 164 | 16 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE15get_return_typeEv Line | Count | Source | 156 | 10 | 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 | 10 | } else { | 162 | 10 | return std::make_shared<ResultDataType>(); | 163 | 10 | } | 164 | 10 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE15get_return_typeEv Line | Count | Source | 156 | 14 | 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 | 14 | } else { | 162 | 14 | return std::make_shared<ResultDataType>(); | 163 | 14 | } | 164 | 14 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE15get_return_typeEv Line | Count | Source | 156 | 10 | 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 | 10 | } else { | 162 | 10 | return std::make_shared<ResultDataType>(); | 163 | 10 | } | 164 | 10 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE15get_return_typeEv Line | Count | Source | 156 | 10 | 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 | 10 | } else { | 162 | 10 | return std::make_shared<ResultDataType>(); | 163 | 10 | } | 164 | 10 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE15get_return_typeEv Line | Count | Source | 156 | 12 | 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 | 12 | } else { | 162 | 12 | return std::make_shared<ResultDataType>(); | 163 | 12 | } | 164 | 12 | } |
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 | 8.21M | const IColumn** columns, ssize_t row_num) const { |
171 | 8.21M | #ifdef __clang__ |
172 | 8.21M | #pragma clang fp reassociate(on) |
173 | 8.21M | #endif |
174 | 8.21M | const auto& column = |
175 | 8.21M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); |
176 | 8.21M | if constexpr (is_add) { |
177 | 8.21M | if constexpr (T == TYPE_DECIMALV2) { |
178 | 0 | this->data(place).sum += column.get_data()[row_num]; |
179 | 6.41M | } else if constexpr (is_decimal(T)) { |
180 | 6.41M | this->data(place).sum += column.get_data()[row_num].value; |
181 | 6.41M | } else { |
182 | 1.80M | this->data(place).sum += (DataType)column.get_data()[row_num]; |
183 | 1.80M | } |
184 | 8.21M | ++this->data(place).count; |
185 | 8.21M | } else { |
186 | 142 | if constexpr (T == TYPE_DECIMALV2) { |
187 | 0 | this->data(place).sum += -column.get_data()[row_num]; |
188 | 40 | } else if constexpr (is_decimal(T)) { |
189 | 40 | this->data(place).sum -= column.get_data()[row_num].value; |
190 | 102 | } else { |
191 | 102 | this->data(place).sum -= (DataType)column.get_data()[row_num]; |
192 | 102 | } |
193 | 142 | --this->data(place).count; |
194 | 142 | } |
195 | 8.21M | } 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 | 218 | const IColumn** columns, ssize_t row_num) const { | 171 | 218 | #ifdef __clang__ | 172 | 218 | #pragma clang fp reassociate(on) | 173 | 218 | #endif | 174 | 218 | const auto& column = | 175 | 218 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 176 | 218 | if constexpr (is_add) { | 177 | | if constexpr (T == TYPE_DECIMALV2) { | 178 | | this->data(place).sum += column.get_data()[row_num]; | 179 | 218 | } else if constexpr (is_decimal(T)) { | 180 | 218 | this->data(place).sum += column.get_data()[row_num].value; | 181 | | } else { | 182 | | this->data(place).sum += (DataType)column.get_data()[row_num]; | 183 | | } | 184 | 218 | ++this->data(place).count; | 185 | | } else { | 186 | | if constexpr (T == TYPE_DECIMALV2) { | 187 | | this->data(place).sum += -column.get_data()[row_num]; | 188 | | } else if constexpr (is_decimal(T)) { | 189 | | this->data(place).sum -= column.get_data()[row_num].value; | 190 | | } else { | 191 | | this->data(place).sum -= (DataType)column.get_data()[row_num]; | 192 | | } | 193 | | --this->data(place).count; | 194 | | } | 195 | 218 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl Line | Count | Source | 170 | 40 | const IColumn** columns, ssize_t row_num) const { | 171 | 40 | #ifdef __clang__ | 172 | 40 | #pragma clang fp reassociate(on) | 173 | 40 | #endif | 174 | 40 | const auto& column = | 175 | 40 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 176 | | if constexpr (is_add) { | 177 | | if constexpr (T == TYPE_DECIMALV2) { | 178 | | this->data(place).sum += column.get_data()[row_num]; | 179 | | } else if constexpr (is_decimal(T)) { | 180 | | this->data(place).sum += column.get_data()[row_num].value; | 181 | | } else { | 182 | | this->data(place).sum += (DataType)column.get_data()[row_num]; | 183 | | } | 184 | | ++this->data(place).count; | 185 | 40 | } else { | 186 | | if constexpr (T == TYPE_DECIMALV2) { | 187 | | this->data(place).sum += -column.get_data()[row_num]; | 188 | 40 | } else if constexpr (is_decimal(T)) { | 189 | 40 | this->data(place).sum -= column.get_data()[row_num].value; | 190 | | } else { | 191 | | this->data(place).sum -= (DataType)column.get_data()[row_num]; | 192 | | } | 193 | 40 | --this->data(place).count; | 194 | 40 | } | 195 | 40 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl Line | Count | Source | 170 | 11 | const IColumn** columns, ssize_t row_num) const { | 171 | 11 | #ifdef __clang__ | 172 | 11 | #pragma clang fp reassociate(on) | 173 | 11 | #endif | 174 | 11 | const auto& column = | 175 | 11 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 176 | 11 | if constexpr (is_add) { | 177 | | if constexpr (T == TYPE_DECIMALV2) { | 178 | | this->data(place).sum += column.get_data()[row_num]; | 179 | 11 | } else if constexpr (is_decimal(T)) { | 180 | 11 | this->data(place).sum += column.get_data()[row_num].value; | 181 | | } else { | 182 | | this->data(place).sum += (DataType)column.get_data()[row_num]; | 183 | | } | 184 | 11 | ++this->data(place).count; | 185 | | } else { | 186 | | if constexpr (T == TYPE_DECIMALV2) { | 187 | | this->data(place).sum += -column.get_data()[row_num]; | 188 | | } else if constexpr (is_decimal(T)) { | 189 | | this->data(place).sum -= column.get_data()[row_num].value; | 190 | | } else { | 191 | | this->data(place).sum -= (DataType)column.get_data()[row_num]; | 192 | | } | 193 | | --this->data(place).count; | 194 | | } | 195 | 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 | 6.41M | const IColumn** columns, ssize_t row_num) const { | 171 | 6.41M | #ifdef __clang__ | 172 | 6.41M | #pragma clang fp reassociate(on) | 173 | 6.41M | #endif | 174 | 6.41M | const auto& column = | 175 | 6.41M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 176 | 6.41M | if constexpr (is_add) { | 177 | | if constexpr (T == TYPE_DECIMALV2) { | 178 | | this->data(place).sum += column.get_data()[row_num]; | 179 | 6.41M | } else if constexpr (is_decimal(T)) { | 180 | 6.41M | this->data(place).sum += column.get_data()[row_num].value; | 181 | | } else { | 182 | | this->data(place).sum += (DataType)column.get_data()[row_num]; | 183 | | } | 184 | 6.41M | ++this->data(place).count; | 185 | | } else { | 186 | | if constexpr (T == TYPE_DECIMALV2) { | 187 | | this->data(place).sum += -column.get_data()[row_num]; | 188 | | } else if constexpr (is_decimal(T)) { | 189 | | this->data(place).sum -= column.get_data()[row_num].value; | 190 | | } else { | 191 | | this->data(place).sum -= (DataType)column.get_data()[row_num]; | 192 | | } | 193 | | --this->data(place).count; | 194 | | } | 195 | 6.41M | } |
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 | #ifdef __clang__ | 172 | 48 | #pragma clang fp reassociate(on) | 173 | 48 | #endif | 174 | 48 | const auto& column = | 175 | 48 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 176 | 48 | if constexpr (is_add) { | 177 | | if constexpr (T == TYPE_DECIMALV2) { | 178 | | this->data(place).sum += column.get_data()[row_num]; | 179 | 48 | } else if constexpr (is_decimal(T)) { | 180 | 48 | this->data(place).sum += column.get_data()[row_num].value; | 181 | | } else { | 182 | | this->data(place).sum += (DataType)column.get_data()[row_num]; | 183 | | } | 184 | 48 | ++this->data(place).count; | 185 | | } else { | 186 | | if constexpr (T == TYPE_DECIMALV2) { | 187 | | this->data(place).sum += -column.get_data()[row_num]; | 188 | | } else if constexpr (is_decimal(T)) { | 189 | | this->data(place).sum -= column.get_data()[row_num].value; | 190 | | } else { | 191 | | this->data(place).sum -= (DataType)column.get_data()[row_num]; | 192 | | } | 193 | | --this->data(place).count; | 194 | | } | 195 | 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 | #ifdef __clang__ | 172 | 111 | #pragma clang fp reassociate(on) | 173 | 111 | #endif | 174 | 111 | const auto& column = | 175 | 111 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 176 | 111 | if constexpr (is_add) { | 177 | | if constexpr (T == TYPE_DECIMALV2) { | 178 | | this->data(place).sum += column.get_data()[row_num]; | 179 | 111 | } else if constexpr (is_decimal(T)) { | 180 | 111 | this->data(place).sum += column.get_data()[row_num].value; | 181 | | } else { | 182 | | this->data(place).sum += (DataType)column.get_data()[row_num]; | 183 | | } | 184 | 111 | ++this->data(place).count; | 185 | | } else { | 186 | | if constexpr (T == TYPE_DECIMALV2) { | 187 | | this->data(place).sum += -column.get_data()[row_num]; | 188 | | } else if constexpr (is_decimal(T)) { | 189 | | this->data(place).sum -= column.get_data()[row_num].value; | 190 | | } else { | 191 | | this->data(place).sum -= (DataType)column.get_data()[row_num]; | 192 | | } | 193 | | --this->data(place).count; | 194 | | } | 195 | 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 | #ifdef __clang__ | 172 | 233 | #pragma clang fp reassociate(on) | 173 | 233 | #endif | 174 | 233 | const auto& column = | 175 | 233 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 176 | 233 | if constexpr (is_add) { | 177 | | if constexpr (T == TYPE_DECIMALV2) { | 178 | | this->data(place).sum += column.get_data()[row_num]; | 179 | 233 | } else if constexpr (is_decimal(T)) { | 180 | 233 | this->data(place).sum += column.get_data()[row_num].value; | 181 | | } else { | 182 | | this->data(place).sum += (DataType)column.get_data()[row_num]; | 183 | | } | 184 | 233 | ++this->data(place).count; | 185 | | } else { | 186 | | if constexpr (T == TYPE_DECIMALV2) { | 187 | | this->data(place).sum += -column.get_data()[row_num]; | 188 | | } else if constexpr (is_decimal(T)) { | 189 | | this->data(place).sum -= column.get_data()[row_num].value; | 190 | | } else { | 191 | | this->data(place).sum -= (DataType)column.get_data()[row_num]; | 192 | | } | 193 | | --this->data(place).count; | 194 | | } | 195 | 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 | #ifdef __clang__ | 172 | 419 | #pragma clang fp reassociate(on) | 173 | 419 | #endif | 174 | 419 | const auto& column = | 175 | 419 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 176 | 419 | if constexpr (is_add) { | 177 | | if constexpr (T == TYPE_DECIMALV2) { | 178 | | this->data(place).sum += column.get_data()[row_num]; | 179 | 419 | } else if constexpr (is_decimal(T)) { | 180 | 419 | this->data(place).sum += column.get_data()[row_num].value; | 181 | | } else { | 182 | | this->data(place).sum += (DataType)column.get_data()[row_num]; | 183 | | } | 184 | 419 | ++this->data(place).count; | 185 | | } else { | 186 | | if constexpr (T == TYPE_DECIMALV2) { | 187 | | this->data(place).sum += -column.get_data()[row_num]; | 188 | | } else if constexpr (is_decimal(T)) { | 189 | | this->data(place).sum -= column.get_data()[row_num].value; | 190 | | } else { | 191 | | this->data(place).sum -= (DataType)column.get_data()[row_num]; | 192 | | } | 193 | | --this->data(place).count; | 194 | | } | 195 | 419 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl Line | Count | Source | 170 | 204 | const IColumn** columns, ssize_t row_num) const { | 171 | 204 | #ifdef __clang__ | 172 | 204 | #pragma clang fp reassociate(on) | 173 | 204 | #endif | 174 | 204 | const auto& column = | 175 | 204 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 176 | 204 | if constexpr (is_add) { | 177 | | if constexpr (T == TYPE_DECIMALV2) { | 178 | | this->data(place).sum += column.get_data()[row_num]; | 179 | | } else if constexpr (is_decimal(T)) { | 180 | | this->data(place).sum += column.get_data()[row_num].value; | 181 | 204 | } else { | 182 | 204 | this->data(place).sum += (DataType)column.get_data()[row_num]; | 183 | 204 | } | 184 | 204 | ++this->data(place).count; | 185 | | } else { | 186 | | if constexpr (T == TYPE_DECIMALV2) { | 187 | | this->data(place).sum += -column.get_data()[row_num]; | 188 | | } else if constexpr (is_decimal(T)) { | 189 | | this->data(place).sum -= column.get_data()[row_num].value; | 190 | | } else { | 191 | | this->data(place).sum -= (DataType)column.get_data()[row_num]; | 192 | | } | 193 | | --this->data(place).count; | 194 | | } | 195 | 204 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl Line | Count | Source | 170 | 184 | const IColumn** columns, ssize_t row_num) const { | 171 | 184 | #ifdef __clang__ | 172 | 184 | #pragma clang fp reassociate(on) | 173 | 184 | #endif | 174 | 184 | const auto& column = | 175 | 184 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 176 | 184 | if constexpr (is_add) { | 177 | | if constexpr (T == TYPE_DECIMALV2) { | 178 | | this->data(place).sum += column.get_data()[row_num]; | 179 | | } else if constexpr (is_decimal(T)) { | 180 | | this->data(place).sum += column.get_data()[row_num].value; | 181 | 184 | } else { | 182 | 184 | this->data(place).sum += (DataType)column.get_data()[row_num]; | 183 | 184 | } | 184 | 184 | ++this->data(place).count; | 185 | | } else { | 186 | | if constexpr (T == TYPE_DECIMALV2) { | 187 | | this->data(place).sum += -column.get_data()[row_num]; | 188 | | } else if constexpr (is_decimal(T)) { | 189 | | this->data(place).sum -= column.get_data()[row_num].value; | 190 | | } else { | 191 | | this->data(place).sum -= (DataType)column.get_data()[row_num]; | 192 | | } | 193 | | --this->data(place).count; | 194 | | } | 195 | 184 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl Line | Count | Source | 170 | 20.6k | const IColumn** columns, ssize_t row_num) const { | 171 | 20.6k | #ifdef __clang__ | 172 | 20.6k | #pragma clang fp reassociate(on) | 173 | 20.6k | #endif | 174 | 20.6k | const auto& column = | 175 | 20.6k | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 176 | 20.6k | if constexpr (is_add) { | 177 | | if constexpr (T == TYPE_DECIMALV2) { | 178 | | this->data(place).sum += column.get_data()[row_num]; | 179 | | } else if constexpr (is_decimal(T)) { | 180 | | this->data(place).sum += column.get_data()[row_num].value; | 181 | 20.6k | } else { | 182 | 20.6k | this->data(place).sum += (DataType)column.get_data()[row_num]; | 183 | 20.6k | } | 184 | 20.6k | ++this->data(place).count; | 185 | | } else { | 186 | | if constexpr (T == TYPE_DECIMALV2) { | 187 | | this->data(place).sum += -column.get_data()[row_num]; | 188 | | } else if constexpr (is_decimal(T)) { | 189 | | this->data(place).sum -= column.get_data()[row_num].value; | 190 | | } else { | 191 | | this->data(place).sum -= (DataType)column.get_data()[row_num]; | 192 | | } | 193 | | --this->data(place).count; | 194 | | } | 195 | 20.6k | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl Line | Count | Source | 170 | 18 | const IColumn** columns, ssize_t row_num) const { | 171 | 18 | #ifdef __clang__ | 172 | 18 | #pragma clang fp reassociate(on) | 173 | 18 | #endif | 174 | 18 | const auto& column = | 175 | 18 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 176 | | if constexpr (is_add) { | 177 | | if constexpr (T == TYPE_DECIMALV2) { | 178 | | this->data(place).sum += column.get_data()[row_num]; | 179 | | } else if constexpr (is_decimal(T)) { | 180 | | this->data(place).sum += column.get_data()[row_num].value; | 181 | | } else { | 182 | | this->data(place).sum += (DataType)column.get_data()[row_num]; | 183 | | } | 184 | | ++this->data(place).count; | 185 | 18 | } else { | 186 | | if constexpr (T == TYPE_DECIMALV2) { | 187 | | this->data(place).sum += -column.get_data()[row_num]; | 188 | | } else if constexpr (is_decimal(T)) { | 189 | | this->data(place).sum -= column.get_data()[row_num].value; | 190 | 18 | } else { | 191 | 18 | this->data(place).sum -= (DataType)column.get_data()[row_num]; | 192 | 18 | } | 193 | 18 | --this->data(place).count; | 194 | 18 | } | 195 | 18 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl Line | Count | Source | 170 | 804 | const IColumn** columns, ssize_t row_num) const { | 171 | 804 | #ifdef __clang__ | 172 | 804 | #pragma clang fp reassociate(on) | 173 | 804 | #endif | 174 | 804 | const auto& column = | 175 | 804 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 176 | 804 | if constexpr (is_add) { | 177 | | if constexpr (T == TYPE_DECIMALV2) { | 178 | | this->data(place).sum += column.get_data()[row_num]; | 179 | | } else if constexpr (is_decimal(T)) { | 180 | | this->data(place).sum += column.get_data()[row_num].value; | 181 | 804 | } else { | 182 | 804 | this->data(place).sum += (DataType)column.get_data()[row_num]; | 183 | 804 | } | 184 | 804 | ++this->data(place).count; | 185 | | } else { | 186 | | if constexpr (T == TYPE_DECIMALV2) { | 187 | | this->data(place).sum += -column.get_data()[row_num]; | 188 | | } else if constexpr (is_decimal(T)) { | 189 | | this->data(place).sum -= column.get_data()[row_num].value; | 190 | | } else { | 191 | | this->data(place).sum -= (DataType)column.get_data()[row_num]; | 192 | | } | 193 | | --this->data(place).count; | 194 | | } | 195 | 804 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE12update_valueILb0EEEvPcPPKNS_7IColumnEl Line | Count | Source | 170 | 84 | const IColumn** columns, ssize_t row_num) const { | 171 | 84 | #ifdef __clang__ | 172 | 84 | #pragma clang fp reassociate(on) | 173 | 84 | #endif | 174 | 84 | const auto& column = | 175 | 84 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 176 | | if constexpr (is_add) { | 177 | | if constexpr (T == TYPE_DECIMALV2) { | 178 | | this->data(place).sum += column.get_data()[row_num]; | 179 | | } else if constexpr (is_decimal(T)) { | 180 | | this->data(place).sum += column.get_data()[row_num].value; | 181 | | } else { | 182 | | this->data(place).sum += (DataType)column.get_data()[row_num]; | 183 | | } | 184 | | ++this->data(place).count; | 185 | 84 | } else { | 186 | | if constexpr (T == TYPE_DECIMALV2) { | 187 | | this->data(place).sum += -column.get_data()[row_num]; | 188 | | } else if constexpr (is_decimal(T)) { | 189 | | this->data(place).sum -= column.get_data()[row_num].value; | 190 | 84 | } else { | 191 | 84 | this->data(place).sum -= (DataType)column.get_data()[row_num]; | 192 | 84 | } | 193 | 84 | --this->data(place).count; | 194 | 84 | } | 195 | 84 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE12update_valueILb1EEEvPcPPKNS_7IColumnEl Line | Count | Source | 170 | 1 | const IColumn** columns, ssize_t row_num) const { | 171 | 1 | #ifdef __clang__ | 172 | 1 | #pragma clang fp reassociate(on) | 173 | 1 | #endif | 174 | 1 | const auto& column = | 175 | 1 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 176 | 1 | if constexpr (is_add) { | 177 | | if constexpr (T == TYPE_DECIMALV2) { | 178 | | this->data(place).sum += column.get_data()[row_num]; | 179 | | } else if constexpr (is_decimal(T)) { | 180 | | this->data(place).sum += column.get_data()[row_num].value; | 181 | 1 | } else { | 182 | 1 | this->data(place).sum += (DataType)column.get_data()[row_num]; | 183 | 1 | } | 184 | 1 | ++this->data(place).count; | 185 | | } else { | 186 | | if constexpr (T == TYPE_DECIMALV2) { | 187 | | this->data(place).sum += -column.get_data()[row_num]; | 188 | | } else if constexpr (is_decimal(T)) { | 189 | | this->data(place).sum -= column.get_data()[row_num].value; | 190 | | } else { | 191 | | this->data(place).sum -= (DataType)column.get_data()[row_num]; | 192 | | } | 193 | | --this->data(place).count; | 194 | | } | 195 | 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 | #ifdef __clang__ | 172 | 1.77M | #pragma clang fp reassociate(on) | 173 | 1.77M | #endif | 174 | 1.77M | const auto& column = | 175 | 1.77M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 176 | 1.77M | if constexpr (is_add) { | 177 | | if constexpr (T == TYPE_DECIMALV2) { | 178 | | this->data(place).sum += column.get_data()[row_num]; | 179 | | } else if constexpr (is_decimal(T)) { | 180 | | this->data(place).sum += column.get_data()[row_num].value; | 181 | 1.77M | } else { | 182 | 1.77M | this->data(place).sum += (DataType)column.get_data()[row_num]; | 183 | 1.77M | } | 184 | 1.77M | ++this->data(place).count; | 185 | | } else { | 186 | | if constexpr (T == TYPE_DECIMALV2) { | 187 | | this->data(place).sum += -column.get_data()[row_num]; | 188 | | } else if constexpr (is_decimal(T)) { | 189 | | this->data(place).sum -= column.get_data()[row_num].value; | 190 | | } else { | 191 | | this->data(place).sum -= (DataType)column.get_data()[row_num]; | 192 | | } | 193 | | --this->data(place).count; | 194 | | } | 195 | 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 | #ifdef __clang__ | 172 | 385 | #pragma clang fp reassociate(on) | 173 | 385 | #endif | 174 | 385 | const auto& column = | 175 | 385 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 176 | 385 | if constexpr (is_add) { | 177 | | if constexpr (T == TYPE_DECIMALV2) { | 178 | | this->data(place).sum += column.get_data()[row_num]; | 179 | | } else if constexpr (is_decimal(T)) { | 180 | | this->data(place).sum += column.get_data()[row_num].value; | 181 | 385 | } else { | 182 | 385 | this->data(place).sum += (DataType)column.get_data()[row_num]; | 183 | 385 | } | 184 | 385 | ++this->data(place).count; | 185 | | } else { | 186 | | if constexpr (T == TYPE_DECIMALV2) { | 187 | | this->data(place).sum += -column.get_data()[row_num]; | 188 | | } else if constexpr (is_decimal(T)) { | 189 | | this->data(place).sum -= column.get_data()[row_num].value; | 190 | | } else { | 191 | | this->data(place).sum -= (DataType)column.get_data()[row_num]; | 192 | | } | 193 | | --this->data(place).count; | 194 | | } | 195 | 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 | #ifdef __clang__ | 172 | 329 | #pragma clang fp reassociate(on) | 173 | 329 | #endif | 174 | 329 | const auto& column = | 175 | 329 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 176 | 329 | if constexpr (is_add) { | 177 | | if constexpr (T == TYPE_DECIMALV2) { | 178 | | this->data(place).sum += column.get_data()[row_num]; | 179 | | } else if constexpr (is_decimal(T)) { | 180 | | this->data(place).sum += column.get_data()[row_num].value; | 181 | 329 | } else { | 182 | 329 | this->data(place).sum += (DataType)column.get_data()[row_num]; | 183 | 329 | } | 184 | 329 | ++this->data(place).count; | 185 | | } else { | 186 | | if constexpr (T == TYPE_DECIMALV2) { | 187 | | this->data(place).sum += -column.get_data()[row_num]; | 188 | | } else if constexpr (is_decimal(T)) { | 189 | | this->data(place).sum -= column.get_data()[row_num].value; | 190 | | } else { | 191 | | this->data(place).sum -= (DataType)column.get_data()[row_num]; | 192 | | } | 193 | | --this->data(place).count; | 194 | | } | 195 | 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 | #ifdef __clang__ | 172 | 327 | #pragma clang fp reassociate(on) | 173 | 327 | #endif | 174 | 327 | const auto& column = | 175 | 327 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 176 | 327 | if constexpr (is_add) { | 177 | | if constexpr (T == TYPE_DECIMALV2) { | 178 | | this->data(place).sum += column.get_data()[row_num]; | 179 | | } else if constexpr (is_decimal(T)) { | 180 | | this->data(place).sum += column.get_data()[row_num].value; | 181 | 327 | } else { | 182 | 327 | this->data(place).sum += (DataType)column.get_data()[row_num]; | 183 | 327 | } | 184 | 327 | ++this->data(place).count; | 185 | | } else { | 186 | | if constexpr (T == TYPE_DECIMALV2) { | 187 | | this->data(place).sum += -column.get_data()[row_num]; | 188 | | } else if constexpr (is_decimal(T)) { | 189 | | this->data(place).sum -= column.get_data()[row_num].value; | 190 | | } else { | 191 | | this->data(place).sum -= (DataType)column.get_data()[row_num]; | 192 | | } | 193 | | --this->data(place).count; | 194 | | } | 195 | 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 | #ifdef __clang__ | 172 | 421 | #pragma clang fp reassociate(on) | 173 | 421 | #endif | 174 | 421 | const auto& column = | 175 | 421 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 176 | 421 | if constexpr (is_add) { | 177 | | if constexpr (T == TYPE_DECIMALV2) { | 178 | | this->data(place).sum += column.get_data()[row_num]; | 179 | | } else if constexpr (is_decimal(T)) { | 180 | | this->data(place).sum += column.get_data()[row_num].value; | 181 | 421 | } else { | 182 | 421 | this->data(place).sum += (DataType)column.get_data()[row_num]; | 183 | 421 | } | 184 | 421 | ++this->data(place).count; | 185 | | } else { | 186 | | if constexpr (T == TYPE_DECIMALV2) { | 187 | | this->data(place).sum += -column.get_data()[row_num]; | 188 | | } else if constexpr (is_decimal(T)) { | 189 | | this->data(place).sum -= column.get_data()[row_num].value; | 190 | | } else { | 191 | | this->data(place).sum -= (DataType)column.get_data()[row_num]; | 192 | | } | 193 | | --this->data(place).count; | 194 | | } | 195 | 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 | #ifdef __clang__ | 172 | 202 | #pragma clang fp reassociate(on) | 173 | 202 | #endif | 174 | 202 | const auto& column = | 175 | 202 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 176 | 202 | if constexpr (is_add) { | 177 | | if constexpr (T == TYPE_DECIMALV2) { | 178 | | this->data(place).sum += column.get_data()[row_num]; | 179 | | } else if constexpr (is_decimal(T)) { | 180 | | this->data(place).sum += column.get_data()[row_num].value; | 181 | 202 | } else { | 182 | 202 | this->data(place).sum += (DataType)column.get_data()[row_num]; | 183 | 202 | } | 184 | 202 | ++this->data(place).count; | 185 | | } else { | 186 | | if constexpr (T == TYPE_DECIMALV2) { | 187 | | this->data(place).sum += -column.get_data()[row_num]; | 188 | | } else if constexpr (is_decimal(T)) { | 189 | | this->data(place).sum -= column.get_data()[row_num].value; | 190 | | } else { | 191 | | this->data(place).sum -= (DataType)column.get_data()[row_num]; | 192 | | } | 193 | | --this->data(place).count; | 194 | | } | 195 | 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 | #ifdef __clang__ | 172 | 315 | #pragma clang fp reassociate(on) | 173 | 315 | #endif | 174 | 315 | const auto& column = | 175 | 315 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 176 | 315 | if constexpr (is_add) { | 177 | | if constexpr (T == TYPE_DECIMALV2) { | 178 | | this->data(place).sum += column.get_data()[row_num]; | 179 | | } else if constexpr (is_decimal(T)) { | 180 | | this->data(place).sum += column.get_data()[row_num].value; | 181 | 315 | } else { | 182 | 315 | this->data(place).sum += (DataType)column.get_data()[row_num]; | 183 | 315 | } | 184 | 315 | ++this->data(place).count; | 185 | | } else { | 186 | | if constexpr (T == TYPE_DECIMALV2) { | 187 | | this->data(place).sum += -column.get_data()[row_num]; | 188 | | } else if constexpr (is_decimal(T)) { | 189 | | this->data(place).sum -= column.get_data()[row_num].value; | 190 | | } else { | 191 | | this->data(place).sum -= (DataType)column.get_data()[row_num]; | 192 | | } | 193 | | --this->data(place).count; | 194 | | } | 195 | 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 |
196 | | |
197 | | void add(AggregateDataPtr __restrict place, const IColumn** columns, ssize_t row_num, |
198 | 8.09M | Arena&) const override { |
199 | 8.09M | update_value<true>(place, columns, row_num); |
200 | 8.09M | } 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 | 198 | 162 | Arena&) const override { | 199 | 162 | update_value<true>(place, columns, row_num); | 200 | 162 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 198 | 11 | Arena&) const override { | 199 | 11 | update_value<true>(place, columns, row_num); | 200 | 11 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 198 | 6.29M | Arena&) const override { | 199 | 6.29M | update_value<true>(place, columns, row_num); | 200 | 6.29M | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 198 | 48 | Arena&) const override { | 199 | 48 | update_value<true>(place, columns, row_num); | 200 | 48 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 198 | 111 | Arena&) const override { | 199 | 111 | update_value<true>(place, columns, row_num); | 200 | 111 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 198 | 233 | Arena&) const override { | 199 | 233 | update_value<true>(place, columns, row_num); | 200 | 233 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 198 | 419 | Arena&) const override { | 199 | 419 | update_value<true>(place, columns, row_num); | 200 | 419 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 198 | 202 | Arena&) const override { | 199 | 202 | update_value<true>(place, columns, row_num); | 200 | 202 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 198 | 184 | Arena&) const override { | 199 | 184 | update_value<true>(place, columns, row_num); | 200 | 184 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 198 | 20.4k | Arena&) const override { | 199 | 20.4k | update_value<true>(place, columns, row_num); | 200 | 20.4k | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 198 | 421 | Arena&) const override { | 199 | 421 | update_value<true>(place, columns, row_num); | 200 | 421 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 198 | 1 | Arena&) const override { | 199 | 1 | update_value<true>(place, columns, row_num); | 200 | 1 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 198 | 1.77M | Arena&) const override { | 199 | 1.77M | update_value<true>(place, columns, row_num); | 200 | 1.77M | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 198 | 385 | Arena&) const override { | 199 | 385 | update_value<true>(place, columns, row_num); | 200 | 385 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 198 | 329 | Arena&) const override { | 199 | 329 | update_value<true>(place, columns, row_num); | 200 | 329 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 198 | 327 | Arena&) const override { | 199 | 327 | update_value<true>(place, columns, row_num); | 200 | 327 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 198 | 421 | Arena&) const override { | 199 | 421 | update_value<true>(place, columns, row_num); | 200 | 421 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 198 | 202 | Arena&) const override { | 199 | 202 | update_value<true>(place, columns, row_num); | 200 | 202 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 198 | 315 | Arena&) const override { | 199 | 315 | update_value<true>(place, columns, row_num); | 200 | 315 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE |
201 | | |
202 | 1.03k | void reset(AggregateDataPtr place) const override { |
203 | 1.03k | this->data(place).sum = {}; |
204 | 1.03k | this->data(place).count = 0; |
205 | 1.03k | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionAvgDataILS1_28EEEE5resetEPc Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE5resetEPc _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE5resetEPc Line | Count | Source | 202 | 12 | void reset(AggregateDataPtr place) const override { | 203 | 12 | this->data(place).sum = {}; | 204 | 12 | this->data(place).count = 0; | 205 | 12 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE5resetEPc Line | Count | Source | 202 | 4 | void reset(AggregateDataPtr place) const override { | 203 | 4 | this->data(place).sum = {}; | 204 | 4 | this->data(place).count = 0; | 205 | 4 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE5resetEPc _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE5resetEPc Line | Count | Source | 202 | 63 | void reset(AggregateDataPtr place) const override { | 203 | 63 | this->data(place).sum = {}; | 204 | 63 | this->data(place).count = 0; | 205 | 63 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE5resetEPc Line | Count | Source | 202 | 17 | void reset(AggregateDataPtr place) const override { | 203 | 17 | this->data(place).sum = {}; | 204 | 17 | this->data(place).count = 0; | 205 | 17 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE5resetEPc Line | Count | Source | 202 | 31 | void reset(AggregateDataPtr place) const override { | 203 | 31 | this->data(place).sum = {}; | 204 | 31 | this->data(place).count = 0; | 205 | 31 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE5resetEPc Line | Count | Source | 202 | 20 | void reset(AggregateDataPtr place) const override { | 203 | 20 | this->data(place).sum = {}; | 204 | 20 | this->data(place).count = 0; | 205 | 20 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE5resetEPc Line | Count | Source | 202 | 121 | void reset(AggregateDataPtr place) const override { | 203 | 121 | this->data(place).sum = {}; | 204 | 121 | this->data(place).count = 0; | 205 | 121 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE5resetEPc Line | Count | Source | 202 | 2 | void reset(AggregateDataPtr place) const override { | 203 | 2 | this->data(place).sum = {}; | 204 | 2 | this->data(place).count = 0; | 205 | 2 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE5resetEPc _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE5resetEPc Line | Count | Source | 202 | 151 | void reset(AggregateDataPtr place) const override { | 203 | 151 | this->data(place).sum = {}; | 204 | 151 | this->data(place).count = 0; | 205 | 151 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE5resetEPc Line | Count | Source | 202 | 112 | void reset(AggregateDataPtr place) const override { | 203 | 112 | this->data(place).sum = {}; | 204 | 112 | this->data(place).count = 0; | 205 | 112 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE5resetEPc _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5resetEPc Line | Count | Source | 202 | 88 | void reset(AggregateDataPtr place) const override { | 203 | 88 | this->data(place).sum = {}; | 204 | 88 | this->data(place).count = 0; | 205 | 88 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE5resetEPc _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5resetEPc Line | Count | Source | 202 | 73 | void reset(AggregateDataPtr place) const override { | 203 | 73 | this->data(place).sum = {}; | 204 | 73 | this->data(place).count = 0; | 205 | 73 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5resetEPc Line | Count | Source | 202 | 75 | void reset(AggregateDataPtr place) const override { | 203 | 75 | this->data(place).sum = {}; | 204 | 75 | this->data(place).count = 0; | 205 | 75 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5resetEPc Line | Count | Source | 202 | 76 | void reset(AggregateDataPtr place) const override { | 203 | 76 | this->data(place).sum = {}; | 204 | 76 | this->data(place).count = 0; | 205 | 76 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5resetEPc Line | Count | Source | 202 | 67 | void reset(AggregateDataPtr place) const override { | 203 | 67 | this->data(place).sum = {}; | 204 | 67 | this->data(place).count = 0; | 205 | 67 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5resetEPc Line | Count | Source | 202 | 56 | void reset(AggregateDataPtr place) const override { | 203 | 56 | this->data(place).sum = {}; | 204 | 56 | this->data(place).count = 0; | 205 | 56 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5resetEPc Line | Count | Source | 202 | 68 | void reset(AggregateDataPtr place) const override { | 203 | 68 | this->data(place).sum = {}; | 204 | 68 | this->data(place).count = 0; | 205 | 68 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5resetEPc |
206 | | |
207 | | NO_SANITIZE_UNDEFINED void merge(AggregateDataPtr __restrict place, ConstAggregateDataPtr rhs, |
208 | 2.13k | Arena&) const override { |
209 | 2.13k | if constexpr (T == TYPE_DECIMALV2) { |
210 | 0 | this->data(place).sum += this->data(rhs).sum; |
211 | 1.40k | } else if constexpr (is_decimal(T)) { |
212 | 1.40k | this->data(place).sum += this->data(rhs).sum.value; |
213 | 1.40k | } else { |
214 | 725 | this->data(place).sum += this->data(rhs).sum; |
215 | 725 | } |
216 | 2.13k | this->data(place).count += this->data(rhs).count; |
217 | 2.13k | } 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 | 208 | 29 | Arena&) const override { | 209 | | if constexpr (T == TYPE_DECIMALV2) { | 210 | | this->data(place).sum += this->data(rhs).sum; | 211 | 29 | } else if constexpr (is_decimal(T)) { | 212 | 29 | this->data(place).sum += this->data(rhs).sum.value; | 213 | | } else { | 214 | | this->data(place).sum += this->data(rhs).sum; | 215 | | } | 216 | 29 | this->data(place).count += this->data(rhs).count; | 217 | 29 | } |
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 | 208 | 1.31k | Arena&) const override { | 209 | | if constexpr (T == TYPE_DECIMALV2) { | 210 | | this->data(place).sum += this->data(rhs).sum; | 211 | 1.31k | } else if constexpr (is_decimal(T)) { | 212 | 1.31k | this->data(place).sum += this->data(rhs).sum.value; | 213 | | } else { | 214 | | this->data(place).sum += this->data(rhs).sum; | 215 | | } | 216 | 1.31k | this->data(place).count += this->data(rhs).count; | 217 | 1.31k | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE5mergeEPcPKcRNS_5ArenaE _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 208 | 48 | Arena&) const override { | 209 | | if constexpr (T == TYPE_DECIMALV2) { | 210 | | this->data(place).sum += this->data(rhs).sum; | 211 | 48 | } else if constexpr (is_decimal(T)) { | 212 | 48 | this->data(place).sum += this->data(rhs).sum.value; | 213 | | } else { | 214 | | this->data(place).sum += this->data(rhs).sum; | 215 | | } | 216 | 48 | this->data(place).count += this->data(rhs).count; | 217 | 48 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE5mergeEPcPKcRNS_5ArenaE _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 208 | 18 | Arena&) const override { | 209 | | if constexpr (T == TYPE_DECIMALV2) { | 210 | | this->data(place).sum += this->data(rhs).sum; | 211 | 18 | } else if constexpr (is_decimal(T)) { | 212 | 18 | this->data(place).sum += this->data(rhs).sum.value; | 213 | | } else { | 214 | | this->data(place).sum += this->data(rhs).sum; | 215 | | } | 216 | 18 | this->data(place).count += this->data(rhs).count; | 217 | 18 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 208 | 42 | Arena&) const override { | 209 | | if constexpr (T == TYPE_DECIMALV2) { | 210 | | this->data(place).sum += this->data(rhs).sum; | 211 | | } else if constexpr (is_decimal(T)) { | 212 | | this->data(place).sum += this->data(rhs).sum.value; | 213 | 42 | } else { | 214 | 42 | this->data(place).sum += this->data(rhs).sum; | 215 | 42 | } | 216 | 42 | this->data(place).count += this->data(rhs).count; | 217 | 42 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 208 | 27 | Arena&) const override { | 209 | | if constexpr (T == TYPE_DECIMALV2) { | 210 | | this->data(place).sum += this->data(rhs).sum; | 211 | | } else if constexpr (is_decimal(T)) { | 212 | | this->data(place).sum += this->data(rhs).sum.value; | 213 | 27 | } else { | 214 | 27 | this->data(place).sum += this->data(rhs).sum; | 215 | 27 | } | 216 | 27 | this->data(place).count += this->data(rhs).count; | 217 | 27 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 208 | 435 | Arena&) const override { | 209 | | if constexpr (T == TYPE_DECIMALV2) { | 210 | | this->data(place).sum += this->data(rhs).sum; | 211 | | } else if constexpr (is_decimal(T)) { | 212 | | this->data(place).sum += this->data(rhs).sum.value; | 213 | 435 | } else { | 214 | 435 | this->data(place).sum += this->data(rhs).sum; | 215 | 435 | } | 216 | 435 | this->data(place).count += this->data(rhs).count; | 217 | 435 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 208 | 93 | Arena&) const override { | 209 | | if constexpr (T == TYPE_DECIMALV2) { | 210 | | this->data(place).sum += this->data(rhs).sum; | 211 | | } else if constexpr (is_decimal(T)) { | 212 | | this->data(place).sum += this->data(rhs).sum.value; | 213 | 93 | } else { | 214 | 93 | this->data(place).sum += this->data(rhs).sum; | 215 | 93 | } | 216 | 93 | this->data(place).count += this->data(rhs).count; | 217 | 93 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE5mergeEPcPKcRNS_5ArenaE _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 208 | 128 | Arena&) const override { | 209 | | if constexpr (T == TYPE_DECIMALV2) { | 210 | | this->data(place).sum += this->data(rhs).sum; | 211 | | } else if constexpr (is_decimal(T)) { | 212 | | this->data(place).sum += this->data(rhs).sum.value; | 213 | 128 | } else { | 214 | 128 | this->data(place).sum += this->data(rhs).sum; | 215 | 128 | } | 216 | 128 | this->data(place).count += this->data(rhs).count; | 217 | 128 | } |
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 |
218 | | |
219 | 189 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { |
220 | 189 | this->data(place).write(buf); |
221 | 189 | } 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 | 219 | 10 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 220 | 10 | this->data(place).write(buf); | 221 | 10 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE9serializeEPKcRNS_14BufferWritableE _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 219 | 13 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 220 | 13 | this->data(place).write(buf); | 221 | 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 | 219 | 140 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 220 | 140 | this->data(place).write(buf); | 221 | 140 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 219 | 26 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 220 | 26 | this->data(place).write(buf); | 221 | 26 | } |
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 |
222 | | |
223 | | void deserialize(AggregateDataPtr __restrict place, BufferReadable& buf, |
224 | 207 | Arena&) const override { |
225 | 207 | this->data(place).read(buf); |
226 | 207 | } 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 | 224 | 10 | Arena&) const override { | 225 | 10 | this->data(place).read(buf); | 226 | 10 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 224 | 13 | Arena&) const override { | 225 | 13 | this->data(place).read(buf); | 226 | 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 | 224 | 146 | Arena&) const override { | 225 | 146 | this->data(place).read(buf); | 226 | 146 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 224 | 38 | Arena&) const override { | 225 | 38 | this->data(place).read(buf); | 226 | 38 | } |
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 |
227 | | |
228 | 4.58k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { |
229 | 4.58k | auto& column = assert_cast<ColVecResult&>(to); |
230 | 4.58k | if constexpr (is_decimal(T)) { |
231 | 2.67k | column.get_data().push_back(this->data(place).template result<ResultType>(multiplier)); |
232 | 2.67k | } else { |
233 | 1.91k | column.get_data().push_back(this->data(place).template result<ResultType>()); |
234 | 1.91k | } |
235 | 4.58k | } 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 | 228 | 119 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 229 | 119 | auto& column = assert_cast<ColVecResult&>(to); | 230 | 119 | if constexpr (is_decimal(T)) { | 231 | 119 | column.get_data().push_back(this->data(place).template result<ResultType>(multiplier)); | 232 | | } else { | 233 | | column.get_data().push_back(this->data(place).template result<ResultType>()); | 234 | | } | 235 | 119 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 228 | 5 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 229 | 5 | auto& column = assert_cast<ColVecResult&>(to); | 230 | 5 | if constexpr (is_decimal(T)) { | 231 | 5 | column.get_data().push_back(this->data(place).template result<ResultType>(multiplier)); | 232 | | } else { | 233 | | column.get_data().push_back(this->data(place).template result<ResultType>()); | 234 | | } | 235 | 5 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE18insert_result_intoEPKcRNS_7IColumnE _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 228 | 2.31k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 229 | 2.31k | auto& column = assert_cast<ColVecResult&>(to); | 230 | 2.31k | if constexpr (is_decimal(T)) { | 231 | 2.31k | column.get_data().push_back(this->data(place).template result<ResultType>(multiplier)); | 232 | | } else { | 233 | | column.get_data().push_back(this->data(place).template result<ResultType>()); | 234 | | } | 235 | 2.31k | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 228 | 18 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 229 | 18 | auto& column = assert_cast<ColVecResult&>(to); | 230 | 18 | if constexpr (is_decimal(T)) { | 231 | 18 | column.get_data().push_back(this->data(place).template result<ResultType>(multiplier)); | 232 | | } else { | 233 | | column.get_data().push_back(this->data(place).template result<ResultType>()); | 234 | | } | 235 | 18 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 228 | 52 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 229 | 52 | auto& column = assert_cast<ColVecResult&>(to); | 230 | 52 | if constexpr (is_decimal(T)) { | 231 | 52 | column.get_data().push_back(this->data(place).template result<ResultType>(multiplier)); | 232 | | } else { | 233 | | column.get_data().push_back(this->data(place).template result<ResultType>()); | 234 | | } | 235 | 52 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 228 | 20 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 229 | 20 | auto& column = assert_cast<ColVecResult&>(to); | 230 | 20 | if constexpr (is_decimal(T)) { | 231 | 20 | column.get_data().push_back(this->data(place).template result<ResultType>(multiplier)); | 232 | | } else { | 233 | | column.get_data().push_back(this->data(place).template result<ResultType>()); | 234 | | } | 235 | 20 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 228 | 141 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 229 | 141 | auto& column = assert_cast<ColVecResult&>(to); | 230 | 141 | if constexpr (is_decimal(T)) { | 231 | 141 | column.get_data().push_back(this->data(place).template result<ResultType>(multiplier)); | 232 | | } else { | 233 | | column.get_data().push_back(this->data(place).template result<ResultType>()); | 234 | | } | 235 | 141 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 228 | 88 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 229 | 88 | auto& column = assert_cast<ColVecResult&>(to); | 230 | | if constexpr (is_decimal(T)) { | 231 | | column.get_data().push_back(this->data(place).template result<ResultType>(multiplier)); | 232 | 88 | } else { | 233 | 88 | column.get_data().push_back(this->data(place).template result<ResultType>()); | 234 | 88 | } | 235 | 88 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 228 | 54 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 229 | 54 | auto& column = assert_cast<ColVecResult&>(to); | 230 | | if constexpr (is_decimal(T)) { | 231 | | column.get_data().push_back(this->data(place).template result<ResultType>(multiplier)); | 232 | 54 | } else { | 233 | 54 | column.get_data().push_back(this->data(place).template result<ResultType>()); | 234 | 54 | } | 235 | 54 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 228 | 462 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 229 | 462 | auto& column = assert_cast<ColVecResult&>(to); | 230 | | if constexpr (is_decimal(T)) { | 231 | | column.get_data().push_back(this->data(place).template result<ResultType>(multiplier)); | 232 | 462 | } else { | 233 | 462 | column.get_data().push_back(this->data(place).template result<ResultType>()); | 234 | 462 | } | 235 | 462 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 228 | 552 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 229 | 552 | auto& column = assert_cast<ColVecResult&>(to); | 230 | | if constexpr (is_decimal(T)) { | 231 | | column.get_data().push_back(this->data(place).template result<ResultType>(multiplier)); | 232 | 552 | } else { | 233 | 552 | column.get_data().push_back(this->data(place).template result<ResultType>()); | 234 | 552 | } | 235 | 552 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 228 | 1 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 229 | 1 | auto& column = assert_cast<ColVecResult&>(to); | 230 | | if constexpr (is_decimal(T)) { | 231 | | column.get_data().push_back(this->data(place).template result<ResultType>(multiplier)); | 232 | 1 | } else { | 233 | 1 | column.get_data().push_back(this->data(place).template result<ResultType>()); | 234 | 1 | } | 235 | 1 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 228 | 377 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 229 | 377 | auto& column = assert_cast<ColVecResult&>(to); | 230 | | if constexpr (is_decimal(T)) { | 231 | | column.get_data().push_back(this->data(place).template result<ResultType>(multiplier)); | 232 | 377 | } else { | 233 | 377 | column.get_data().push_back(this->data(place).template result<ResultType>()); | 234 | 377 | } | 235 | 377 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionAvgDataILS1_20EEEE18insert_result_intoEPKcRNS_7IColumnE _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 228 | 68 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 229 | 68 | auto& column = assert_cast<ColVecResult&>(to); | 230 | | if constexpr (is_decimal(T)) { | 231 | | column.get_data().push_back(this->data(place).template result<ResultType>(multiplier)); | 232 | 68 | } else { | 233 | 68 | column.get_data().push_back(this->data(place).template result<ResultType>()); | 234 | 68 | } | 235 | 68 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 228 | 66 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 229 | 66 | auto& column = assert_cast<ColVecResult&>(to); | 230 | | if constexpr (is_decimal(T)) { | 231 | | column.get_data().push_back(this->data(place).template result<ResultType>(multiplier)); | 232 | 66 | } else { | 233 | 66 | column.get_data().push_back(this->data(place).template result<ResultType>()); | 234 | 66 | } | 235 | 66 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 228 | 71 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 229 | 71 | auto& column = assert_cast<ColVecResult&>(to); | 230 | | if constexpr (is_decimal(T)) { | 231 | | column.get_data().push_back(this->data(place).template result<ResultType>(multiplier)); | 232 | 71 | } else { | 233 | 71 | column.get_data().push_back(this->data(place).template result<ResultType>()); | 234 | 71 | } | 235 | 71 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 228 | 62 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 229 | 62 | auto& column = assert_cast<ColVecResult&>(to); | 230 | | if constexpr (is_decimal(T)) { | 231 | | column.get_data().push_back(this->data(place).template result<ResultType>(multiplier)); | 232 | 62 | } else { | 233 | 62 | column.get_data().push_back(this->data(place).template result<ResultType>()); | 234 | 62 | } | 235 | 62 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 228 | 51 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 229 | 51 | auto& column = assert_cast<ColVecResult&>(to); | 230 | | if constexpr (is_decimal(T)) { | 231 | | column.get_data().push_back(this->data(place).template result<ResultType>(multiplier)); | 232 | 51 | } else { | 233 | 51 | column.get_data().push_back(this->data(place).template result<ResultType>()); | 234 | 51 | } | 235 | 51 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 228 | 63 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 229 | 63 | auto& column = assert_cast<ColVecResult&>(to); | 230 | | if constexpr (is_decimal(T)) { | 231 | | column.get_data().push_back(this->data(place).template result<ResultType>(multiplier)); | 232 | 63 | } else { | 233 | 63 | column.get_data().push_back(this->data(place).template result<ResultType>()); | 234 | 63 | } | 235 | 63 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE2ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE18insert_result_intoEPKcRNS_7IColumnE |
236 | | |
237 | | void serialize_to_column(const std::vector<AggregateDataPtr>& places, size_t offset, |
238 | 2.30k | MutableColumnPtr& dst, const size_t num_rows) const override { |
239 | 2.30k | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); |
240 | 2.30k | col.set_item_size(sizeof(Data)); |
241 | 2.30k | col.resize(num_rows); |
242 | 2.30k | auto* data = col.get_data().data(); |
243 | 4.43k | for (size_t i = 0; i != num_rows; ++i) { |
244 | 2.12k | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = |
245 | 2.12k | *reinterpret_cast<Data*>(places[i] + offset); |
246 | 2.12k | } |
247 | 2.30k | } 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 | 238 | 34 | MutableColumnPtr& dst, const size_t num_rows) const override { | 239 | 34 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 240 | 34 | col.set_item_size(sizeof(Data)); | 241 | 34 | col.resize(num_rows); | 242 | 34 | auto* data = col.get_data().data(); | 243 | 88 | for (size_t i = 0; i != num_rows; ++i) { | 244 | 54 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 245 | 54 | *reinterpret_cast<Data*>(places[i] + offset); | 246 | 54 | } | 247 | 34 | } |
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 | 238 | 1.72k | MutableColumnPtr& dst, const size_t num_rows) const override { | 239 | 1.72k | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 240 | 1.72k | col.set_item_size(sizeof(Data)); | 241 | 1.72k | col.resize(num_rows); | 242 | 1.72k | auto* data = col.get_data().data(); | 243 | 3.04k | for (size_t i = 0; i != num_rows; ++i) { | 244 | 1.31k | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 245 | 1.31k | *reinterpret_cast<Data*>(places[i] + offset); | 246 | 1.31k | } | 247 | 1.72k | } |
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 | 238 | 36 | MutableColumnPtr& dst, const size_t num_rows) const override { | 239 | 36 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 240 | 36 | col.set_item_size(sizeof(Data)); | 241 | 36 | col.resize(num_rows); | 242 | 36 | auto* data = col.get_data().data(); | 243 | 74 | for (size_t i = 0; i != num_rows; ++i) { | 244 | 38 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 245 | 38 | *reinterpret_cast<Data*>(places[i] + offset); | 246 | 38 | } | 247 | 36 | } |
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 | 238 | 10 | MutableColumnPtr& dst, const size_t num_rows) const override { | 239 | 10 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 240 | 10 | col.set_item_size(sizeof(Data)); | 241 | 10 | col.resize(num_rows); | 242 | 10 | auto* data = col.get_data().data(); | 243 | 12 | for (size_t i = 0; i != num_rows; ++i) { | 244 | 2 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 245 | 2 | *reinterpret_cast<Data*>(places[i] + offset); | 246 | 2 | } | 247 | 10 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 238 | 90 | MutableColumnPtr& dst, const size_t num_rows) const override { | 239 | 90 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 240 | 90 | col.set_item_size(sizeof(Data)); | 241 | 90 | col.resize(num_rows); | 242 | 90 | auto* data = col.get_data().data(); | 243 | 166 | for (size_t i = 0; i != num_rows; ++i) { | 244 | 76 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 245 | 76 | *reinterpret_cast<Data*>(places[i] + offset); | 246 | 76 | } | 247 | 90 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 238 | 34 | MutableColumnPtr& dst, const size_t num_rows) const override { | 239 | 34 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 240 | 34 | col.set_item_size(sizeof(Data)); | 241 | 34 | col.resize(num_rows); | 242 | 34 | auto* data = col.get_data().data(); | 243 | 118 | for (size_t i = 0; i != num_rows; ++i) { | 244 | 84 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 245 | 84 | *reinterpret_cast<Data*>(places[i] + offset); | 246 | 84 | } | 247 | 34 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 238 | 134 | MutableColumnPtr& dst, const size_t num_rows) const override { | 239 | 134 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 240 | 134 | col.set_item_size(sizeof(Data)); | 241 | 134 | col.resize(num_rows); | 242 | 134 | auto* data = col.get_data().data(); | 243 | 460 | for (size_t i = 0; i != num_rows; ++i) { | 244 | 326 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 245 | 326 | *reinterpret_cast<Data*>(places[i] + offset); | 246 | 326 | } | 247 | 134 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 238 | 47 | MutableColumnPtr& dst, const size_t num_rows) const override { | 239 | 47 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 240 | 47 | col.set_item_size(sizeof(Data)); | 241 | 47 | col.resize(num_rows); | 242 | 47 | auto* data = col.get_data().data(); | 243 | 128 | for (size_t i = 0; i != num_rows; ++i) { | 244 | 81 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 245 | 81 | *reinterpret_cast<Data*>(places[i] + offset); | 246 | 81 | } | 247 | 47 | } |
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 | 238 | 193 | MutableColumnPtr& dst, const size_t num_rows) const override { | 239 | 193 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 240 | 193 | col.set_item_size(sizeof(Data)); | 241 | 193 | col.resize(num_rows); | 242 | 193 | auto* data = col.get_data().data(); | 243 | 346 | for (size_t i = 0; i != num_rows; ++i) { | 244 | 153 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 245 | 153 | *reinterpret_cast<Data*>(places[i] + offset); | 246 | 153 | } | 247 | 193 | } |
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 |
248 | | |
249 | | void streaming_agg_serialize_to_column(const IColumn** columns, MutableColumnPtr& dst, |
250 | 89 | const size_t num_rows, Arena&) const override { |
251 | 89 | auto* src_data = assert_cast<const ColVecType&>(*columns[0]).get_data().data(); |
252 | 89 | auto& dst_col = assert_cast<ColumnFixedLengthObject&>(*dst); |
253 | 89 | dst_col.set_item_size(sizeof(Data)); |
254 | 89 | dst_col.resize(num_rows); |
255 | 89 | auto* data = dst_col.get_data().data(); |
256 | 8.40k | for (size_t i = 0; i != num_rows; ++i) { |
257 | 8.31k | auto& state = *reinterpret_cast<Data*>(&data[sizeof(Data) * i]); |
258 | 8.31k | state.sum = typename Data::ResultType(src_data[i]); |
259 | 8.31k | state.count = 1; |
260 | 8.31k | } |
261 | 89 | } 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 | 250 | 1 | const size_t num_rows, Arena&) const override { | 251 | 1 | auto* src_data = assert_cast<const ColVecType&>(*columns[0]).get_data().data(); | 252 | 1 | auto& dst_col = assert_cast<ColumnFixedLengthObject&>(*dst); | 253 | 1 | dst_col.set_item_size(sizeof(Data)); | 254 | 1 | dst_col.resize(num_rows); | 255 | 1 | auto* data = dst_col.get_data().data(); | 256 | 2 | for (size_t i = 0; i != num_rows; ++i) { | 257 | 1 | auto& state = *reinterpret_cast<Data*>(&data[sizeof(Data) * i]); | 258 | 1 | state.sum = typename Data::ResultType(src_data[i]); | 259 | 1 | state.count = 1; | 260 | 1 | } | 261 | 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 | 250 | 87 | const size_t num_rows, Arena&) const override { | 251 | 87 | auto* src_data = assert_cast<const ColVecType&>(*columns[0]).get_data().data(); | 252 | 87 | auto& dst_col = assert_cast<ColumnFixedLengthObject&>(*dst); | 253 | 87 | dst_col.set_item_size(sizeof(Data)); | 254 | 87 | dst_col.resize(num_rows); | 255 | 87 | auto* data = dst_col.get_data().data(); | 256 | 8.40k | for (size_t i = 0; i != num_rows; ++i) { | 257 | 8.31k | auto& state = *reinterpret_cast<Data*>(&data[sizeof(Data) * i]); | 258 | 8.31k | state.sum = typename Data::ResultType(src_data[i]); | 259 | 8.31k | state.count = 1; | 260 | 8.31k | } | 261 | 87 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Line | Count | Source | 250 | 1 | const size_t num_rows, Arena&) const override { | 251 | 1 | auto* src_data = assert_cast<const ColVecType&>(*columns[0]).get_data().data(); | 252 | 1 | auto& dst_col = assert_cast<ColumnFixedLengthObject&>(*dst); | 253 | 1 | dst_col.set_item_size(sizeof(Data)); | 254 | 1 | dst_col.resize(num_rows); | 255 | 1 | auto* data = dst_col.get_data().data(); | 256 | 4 | for (size_t i = 0; i != num_rows; ++i) { | 257 | 3 | auto& state = *reinterpret_cast<Data*>(&data[sizeof(Data) * i]); | 258 | 3 | state.sum = typename Data::ResultType(src_data[i]); | 259 | 3 | state.count = 1; | 260 | 3 | } | 261 | 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 |
262 | | |
263 | | NO_SANITIZE_UNDEFINED void deserialize_and_merge_from_column_range( |
264 | | AggregateDataPtr __restrict place, const IColumn& column, size_t begin, size_t end, |
265 | 8.74k | Arena&) const override { |
266 | 8.74k | DCHECK(end <= column.size() && begin <= end) |
267 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); |
268 | 8.74k | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); |
269 | 8.74k | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); |
270 | 17.5k | for (size_t i = begin; i <= end; ++i) { |
271 | 8.79k | this->data(place).sum += data[i].sum; |
272 | 8.79k | this->data(place).count += data[i].count; |
273 | 8.79k | } |
274 | 8.74k | } 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 | 265 | 36 | Arena&) const override { | 266 | 36 | DCHECK(end <= column.size() && begin <= end) | 267 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 268 | 36 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 269 | 36 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 270 | 80 | for (size_t i = begin; i <= end; ++i) { | 271 | 44 | this->data(place).sum += data[i].sum; | 272 | 44 | this->data(place).count += data[i].count; | 273 | 44 | } | 274 | 36 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 265 | 1 | Arena&) const override { | 266 | 1 | DCHECK(end <= column.size() && begin <= end) | 267 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 268 | 1 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 269 | 1 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 270 | 2 | for (size_t i = begin; i <= end; ++i) { | 271 | 1 | this->data(place).sum += data[i].sum; | 272 | 1 | this->data(place).count += data[i].count; | 273 | 1 | } | 274 | 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 | 265 | 15 | Arena&) const override { | 266 | 15 | DCHECK(end <= column.size() && begin <= end) | 267 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 268 | 15 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 269 | 15 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 270 | 30 | for (size_t i = begin; i <= end; ++i) { | 271 | 15 | this->data(place).sum += data[i].sum; | 272 | 15 | this->data(place).count += data[i].count; | 273 | 15 | } | 274 | 15 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 265 | 1 | Arena&) const override { | 266 | 1 | DCHECK(end <= column.size() && begin <= end) | 267 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 268 | 1 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 269 | 1 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 270 | 2 | for (size_t i = begin; i <= end; ++i) { | 271 | 1 | this->data(place).sum += data[i].sum; | 272 | 1 | this->data(place).count += data[i].count; | 273 | 1 | } | 274 | 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 | 265 | 8 | Arena&) const override { | 266 | 8 | DCHECK(end <= column.size() && begin <= end) | 267 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 268 | 8 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 269 | 8 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 270 | 16 | for (size_t i = begin; i <= end; ++i) { | 271 | 8 | this->data(place).sum += data[i].sum; | 272 | 8 | this->data(place).count += data[i].count; | 273 | 8 | } | 274 | 8 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 265 | 7 | Arena&) const override { | 266 | 7 | DCHECK(end <= column.size() && begin <= end) | 267 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 268 | 7 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 269 | 7 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 270 | 14 | for (size_t i = begin; i <= end; ++i) { | 271 | 7 | this->data(place).sum += data[i].sum; | 272 | 7 | this->data(place).count += data[i].count; | 273 | 7 | } | 274 | 7 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 265 | 70 | Arena&) const override { | 266 | 70 | DCHECK(end <= column.size() && begin <= end) | 267 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 268 | 70 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 269 | 70 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 270 | 148 | for (size_t i = begin; i <= end; ++i) { | 271 | 78 | this->data(place).sum += data[i].sum; | 272 | 78 | this->data(place).count += data[i].count; | 273 | 78 | } | 274 | 70 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 265 | 73 | Arena&) const override { | 266 | 73 | DCHECK(end <= column.size() && begin <= end) | 267 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 268 | 73 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 269 | 73 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 270 | 154 | for (size_t i = begin; i <= end; ++i) { | 271 | 81 | this->data(place).sum += data[i].sum; | 272 | 81 | this->data(place).count += data[i].count; | 273 | 81 | } | 274 | 73 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 265 | 8.42k | Arena&) const override { | 266 | 8.42k | DCHECK(end <= column.size() && begin <= end) | 267 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 268 | 8.42k | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 269 | 8.42k | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 270 | 16.8k | for (size_t i = begin; i <= end; ++i) { | 271 | 8.43k | this->data(place).sum += data[i].sum; | 272 | 8.43k | this->data(place).count += data[i].count; | 273 | 8.43k | } | 274 | 8.42k | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 265 | 43 | Arena&) const override { | 266 | 43 | DCHECK(end <= column.size() && begin <= end) | 267 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 268 | 43 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 269 | 43 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 270 | 96 | for (size_t i = begin; i <= end; ++i) { | 271 | 53 | this->data(place).sum += data[i].sum; | 272 | 53 | this->data(place).count += data[i].count; | 273 | 53 | } | 274 | 43 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 265 | 1 | Arena&) const override { | 266 | 1 | DCHECK(end <= column.size() && begin <= end) | 267 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 268 | 1 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 269 | 1 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 270 | 2 | for (size_t i = begin; i <= end; ++i) { | 271 | 1 | this->data(place).sum += data[i].sum; | 272 | 1 | this->data(place).count += data[i].count; | 273 | 1 | } | 274 | 1 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 265 | 63 | Arena&) const override { | 266 | 63 | DCHECK(end <= column.size() && begin <= end) | 267 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 268 | 63 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 269 | 63 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 270 | 134 | for (size_t i = begin; i <= end; ++i) { | 271 | 71 | this->data(place).sum += data[i].sum; | 272 | 71 | this->data(place).count += data[i].count; | 273 | 71 | } | 274 | 63 | } |
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 |
275 | | |
276 | | void deserialize_and_merge_vec(const AggregateDataPtr* places, size_t offset, |
277 | | AggregateDataPtr rhs, const IColumn* column, Arena& arena, |
278 | 834 | const size_t num_rows) const override { |
279 | 834 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); |
280 | 834 | const auto* data = col.get_data().data(); |
281 | 834 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); |
282 | 834 | } 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 | 278 | 12 | const size_t num_rows) const override { | 279 | 12 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 280 | 12 | const auto* data = col.get_data().data(); | 281 | 12 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 282 | 12 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 278 | 579 | const size_t num_rows) const override { | 279 | 579 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 280 | 579 | const auto* data = col.get_data().data(); | 281 | 579 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 282 | 579 | } |
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 | 278 | 33 | const size_t num_rows) const override { | 279 | 33 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 280 | 33 | const auto* data = col.get_data().data(); | 281 | 33 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 282 | 33 | } |
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 | 278 | 2 | const size_t num_rows) const override { | 279 | 2 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 280 | 2 | const auto* data = col.get_data().data(); | 281 | 2 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 282 | 2 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 278 | 21 | const size_t num_rows) const override { | 279 | 21 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 280 | 21 | const auto* data = col.get_data().data(); | 281 | 21 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 282 | 21 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 278 | 10 | const size_t num_rows) const override { | 279 | 10 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 280 | 10 | const auto* data = col.get_data().data(); | 281 | 10 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 282 | 10 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 278 | 65 | const size_t num_rows) const override { | 279 | 65 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 280 | 65 | const auto* data = col.get_data().data(); | 281 | 65 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 282 | 65 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 278 | 22 | const size_t num_rows) const override { | 279 | 22 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 280 | 22 | const auto* data = col.get_data().data(); | 281 | 22 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 282 | 22 | } |
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 | 278 | 90 | const size_t num_rows) const override { | 279 | 90 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 280 | 90 | const auto* data = col.get_data().data(); | 281 | 90 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 282 | 90 | } |
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 |
283 | | |
284 | | void deserialize_and_merge_vec_selected(const AggregateDataPtr* places, size_t offset, |
285 | | AggregateDataPtr rhs, const IColumn* column, |
286 | 1 | Arena& arena, const size_t num_rows) const override { |
287 | 1 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); |
288 | 1 | const auto* data = col.get_data().data(); |
289 | 1 | this->merge_vec_selected(places, offset, AggregateDataPtr(data), arena, num_rows); |
290 | 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 | 286 | 1 | Arena& arena, const size_t num_rows) const override { | 287 | 1 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 288 | 1 | const auto* data = col.get_data().data(); | 289 | 1 | this->merge_vec_selected(places, offset, AggregateDataPtr(data), arena, num_rows); | 290 | 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 |
291 | | |
292 | | void serialize_without_key_to_column(ConstAggregateDataPtr __restrict place, |
293 | 296 | IColumn& to) const override { |
294 | 296 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); |
295 | 296 | col.set_item_size(sizeof(Data)); |
296 | 296 | size_t old_size = col.size(); |
297 | 296 | col.resize(old_size + 1); |
298 | 296 | *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place); |
299 | 296 | } 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 | 293 | 20 | IColumn& to) const override { | 294 | 20 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 295 | 20 | col.set_item_size(sizeof(Data)); | 296 | 20 | size_t old_size = col.size(); | 297 | 20 | col.resize(old_size + 1); | 298 | 20 | *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place); | 299 | 20 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 293 | 1 | IColumn& to) const override { | 294 | 1 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 295 | 1 | col.set_item_size(sizeof(Data)); | 296 | 1 | size_t old_size = col.size(); | 297 | 1 | col.resize(old_size + 1); | 298 | 1 | *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place); | 299 | 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 | 293 | 15 | IColumn& to) const override { | 294 | 15 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 295 | 15 | col.set_item_size(sizeof(Data)); | 296 | 15 | size_t old_size = col.size(); | 297 | 15 | col.resize(old_size + 1); | 298 | 15 | *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place); | 299 | 15 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 293 | 1 | IColumn& to) const override { | 294 | 1 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 295 | 1 | col.set_item_size(sizeof(Data)); | 296 | 1 | size_t old_size = col.size(); | 297 | 1 | col.resize(old_size + 1); | 298 | 1 | *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place); | 299 | 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 | 293 | 8 | IColumn& to) const override { | 294 | 8 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 295 | 8 | col.set_item_size(sizeof(Data)); | 296 | 8 | size_t old_size = col.size(); | 297 | 8 | col.resize(old_size + 1); | 298 | 8 | *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place); | 299 | 8 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 293 | 7 | IColumn& to) const override { | 294 | 7 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 295 | 7 | col.set_item_size(sizeof(Data)); | 296 | 7 | size_t old_size = col.size(); | 297 | 7 | col.resize(old_size + 1); | 298 | 7 | *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place); | 299 | 7 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 293 | 45 | IColumn& to) const override { | 294 | 45 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 295 | 45 | col.set_item_size(sizeof(Data)); | 296 | 45 | size_t old_size = col.size(); | 297 | 45 | col.resize(old_size + 1); | 298 | 45 | *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place); | 299 | 45 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 293 | 27 | IColumn& to) const override { | 294 | 27 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 295 | 27 | col.set_item_size(sizeof(Data)); | 296 | 27 | size_t old_size = col.size(); | 297 | 27 | col.resize(old_size + 1); | 298 | 27 | *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place); | 299 | 27 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 293 | 98 | IColumn& to) const override { | 294 | 98 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 295 | 98 | col.set_item_size(sizeof(Data)); | 296 | 98 | size_t old_size = col.size(); | 297 | 98 | col.resize(old_size + 1); | 298 | 98 | *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place); | 299 | 98 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 293 | 26 | IColumn& to) const override { | 294 | 26 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 295 | 26 | col.set_item_size(sizeof(Data)); | 296 | 26 | size_t old_size = col.size(); | 297 | 26 | col.resize(old_size + 1); | 298 | 26 | *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place); | 299 | 26 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 293 | 1 | IColumn& to) const override { | 294 | 1 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 295 | 1 | col.set_item_size(sizeof(Data)); | 296 | 1 | size_t old_size = col.size(); | 297 | 1 | col.resize(old_size + 1); | 298 | 1 | *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place); | 299 | 1 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 293 | 47 | IColumn& to) const override { | 294 | 47 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 295 | 47 | col.set_item_size(sizeof(Data)); | 296 | 47 | size_t old_size = col.size(); | 297 | 47 | col.resize(old_size + 1); | 298 | 47 | *(reinterpret_cast<Data*>(col.get_data().data()) + old_size) = this->data(place); | 299 | 47 | } |
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 |
300 | | |
301 | 3.02k | MutableColumnPtr create_serialize_column() const override { |
302 | 3.02k | return ColumnFixedLengthObject::create(sizeof(Data)); |
303 | 3.02k | } 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 | 301 | 54 | MutableColumnPtr create_serialize_column() const override { | 302 | 54 | return ColumnFixedLengthObject::create(sizeof(Data)); | 303 | 54 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE23create_serialize_columnEv Line | Count | Source | 301 | 1 | MutableColumnPtr create_serialize_column() const override { | 302 | 1 | return ColumnFixedLengthObject::create(sizeof(Data)); | 303 | 1 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE23create_serialize_columnEv _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE23create_serialize_columnEv Line | Count | Source | 301 | 1.72k | MutableColumnPtr create_serialize_column() const override { | 302 | 1.72k | return ColumnFixedLengthObject::create(sizeof(Data)); | 303 | 1.72k | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE23create_serialize_columnEv Line | Count | Source | 301 | 1 | MutableColumnPtr create_serialize_column() const override { | 302 | 1 | return ColumnFixedLengthObject::create(sizeof(Data)); | 303 | 1 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE23create_serialize_columnEv Line | Count | Source | 301 | 36 | MutableColumnPtr create_serialize_column() const override { | 302 | 36 | return ColumnFixedLengthObject::create(sizeof(Data)); | 303 | 36 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE23create_serialize_columnEv Line | Count | Source | 301 | 8 | MutableColumnPtr create_serialize_column() const override { | 302 | 8 | return ColumnFixedLengthObject::create(sizeof(Data)); | 303 | 8 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE23create_serialize_columnEv Line | Count | Source | 301 | 17 | MutableColumnPtr create_serialize_column() const override { | 302 | 17 | return ColumnFixedLengthObject::create(sizeof(Data)); | 303 | 17 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE23create_serialize_columnEv Line | Count | Source | 301 | 138 | MutableColumnPtr create_serialize_column() const override { | 302 | 138 | return ColumnFixedLengthObject::create(sizeof(Data)); | 303 | 138 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE23create_serialize_columnEv Line | Count | Source | 301 | 63 | MutableColumnPtr create_serialize_column() const override { | 302 | 63 | return ColumnFixedLengthObject::create(sizeof(Data)); | 303 | 63 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE23create_serialize_columnEv Line | Count | Source | 301 | 663 | MutableColumnPtr create_serialize_column() const override { | 302 | 663 | return ColumnFixedLengthObject::create(sizeof(Data)); | 303 | 663 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE23create_serialize_columnEv Line | Count | Source | 301 | 74 | MutableColumnPtr create_serialize_column() const override { | 302 | 74 | return ColumnFixedLengthObject::create(sizeof(Data)); | 303 | 74 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE23create_serialize_columnEv Line | Count | Source | 301 | 1 | MutableColumnPtr create_serialize_column() const override { | 302 | 1 | return ColumnFixedLengthObject::create(sizeof(Data)); | 303 | 1 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE23create_serialize_columnEv Line | Count | Source | 301 | 241 | MutableColumnPtr create_serialize_column() const override { | 302 | 241 | return ColumnFixedLengthObject::create(sizeof(Data)); | 303 | 241 | } |
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 |
304 | | |
305 | 3.23k | DataTypePtr get_serialized_type() const override { |
306 | 3.23k | return std::make_shared<DataTypeFixedLengthObject>(); |
307 | 3.23k | } 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 | 305 | 54 | DataTypePtr get_serialized_type() const override { | 306 | 54 | return std::make_shared<DataTypeFixedLengthObject>(); | 307 | 54 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE19get_serialized_typeEv Line | Count | Source | 305 | 1 | DataTypePtr get_serialized_type() const override { | 306 | 1 | return std::make_shared<DataTypeFixedLengthObject>(); | 307 | 1 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionAvgDataILS1_29EEEE19get_serialized_typeEv _ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE19get_serialized_typeEv Line | Count | Source | 305 | 1.74k | DataTypePtr get_serialized_type() const override { | 306 | 1.74k | return std::make_shared<DataTypeFixedLengthObject>(); | 307 | 1.74k | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE19get_serialized_typeEv Line | Count | Source | 305 | 1 | DataTypePtr get_serialized_type() const override { | 306 | 1 | return std::make_shared<DataTypeFixedLengthObject>(); | 307 | 1 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionAvgDataILS1_30EEEE19get_serialized_typeEv Line | Count | Source | 305 | 36 | DataTypePtr get_serialized_type() const override { | 306 | 36 | return std::make_shared<DataTypeFixedLengthObject>(); | 307 | 36 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE19get_serialized_typeEv Line | Count | Source | 305 | 8 | DataTypePtr get_serialized_type() const override { | 306 | 8 | return std::make_shared<DataTypeFixedLengthObject>(); | 307 | 8 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionAvgDataILS1_35EEEE19get_serialized_typeEv Line | Count | Source | 305 | 17 | DataTypePtr get_serialized_type() const override { | 306 | 17 | return std::make_shared<DataTypeFixedLengthObject>(); | 307 | 17 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE3ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE19get_serialized_typeEv Line | Count | Source | 305 | 139 | DataTypePtr get_serialized_type() const override { | 306 | 139 | return std::make_shared<DataTypeFixedLengthObject>(); | 307 | 139 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE4ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE19get_serialized_typeEv Line | Count | Source | 305 | 63 | DataTypePtr get_serialized_type() const override { | 306 | 63 | return std::make_shared<DataTypeFixedLengthObject>(); | 307 | 63 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE5ELS1_9ENS_24AggregateFunctionAvgDataILS1_6EEEE19get_serialized_typeEv Line | Count | Source | 305 | 862 | DataTypePtr get_serialized_type() const override { | 306 | 862 | return std::make_shared<DataTypeFixedLengthObject>(); | 307 | 862 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE19get_serialized_typeEv Line | Count | Source | 305 | 69 | DataTypePtr get_serialized_type() const override { | 306 | 69 | return std::make_shared<DataTypeFixedLengthObject>(); | 307 | 69 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE7ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE19get_serialized_typeEv Line | Count | Source | 305 | 1 | DataTypePtr get_serialized_type() const override { | 306 | 1 | return std::make_shared<DataTypeFixedLengthObject>(); | 307 | 1 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionAvgDataILS1_9EEEE19get_serialized_typeEv Line | Count | Source | 305 | 241 | DataTypePtr get_serialized_type() const override { | 306 | 241 | return std::make_shared<DataTypeFixedLengthObject>(); | 307 | 241 | } |
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 |
308 | | |
309 | 769 | 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 | 309 | 80 | 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 | 309 | 33 | 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 | 309 | 2 | 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 | 309 | 46 | bool supported_incremental_mode() const override { return true; } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE26supported_incremental_modeEv Line | Count | Source | 309 | 576 | 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 | 309 | 32 | 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 |
310 | | |
311 | | void execute_function_with_incremental(int64_t partition_start, int64_t partition_end, |
312 | | int64_t frame_start, int64_t frame_end, |
313 | | AggregateDataPtr place, const IColumn** columns, |
314 | | Arena& arena, bool previous_is_nul, bool end_is_nul, |
315 | | bool has_null, UInt8* use_null_result, |
316 | 212 | UInt8* could_use_previous_result) const override { |
317 | 212 | int64_t current_frame_start = std::max<int64_t>(frame_start, partition_start); |
318 | 212 | int64_t current_frame_end = std::min<int64_t>(frame_end, partition_end); |
319 | 212 | if (current_frame_start >= current_frame_end) { |
320 | 0 | *use_null_result = true; |
321 | 0 | return; |
322 | 0 | } |
323 | 212 | if (*could_use_previous_result) { |
324 | 194 | auto outcoming_pos = frame_start - 1; |
325 | 194 | auto incoming_pos = frame_end - 1; |
326 | 194 | if (!previous_is_nul && outcoming_pos >= partition_start && |
327 | 194 | outcoming_pos < partition_end) { |
328 | 142 | update_value<false>(place, columns, outcoming_pos); |
329 | 142 | } |
330 | 194 | if (!end_is_nul && incoming_pos >= partition_start && incoming_pos < partition_end) { |
331 | 152 | update_value<true>(place, columns, incoming_pos); |
332 | 152 | } |
333 | 194 | } else { |
334 | 18 | this->add_range_single_place(partition_start, partition_end, frame_start, frame_end, |
335 | 18 | place, columns, arena, use_null_result, |
336 | 18 | could_use_previous_result); |
337 | 18 | } |
338 | 212 | } 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 | 316 | 48 | UInt8* could_use_previous_result) const override { | 317 | 48 | int64_t current_frame_start = std::max<int64_t>(frame_start, partition_start); | 318 | 48 | int64_t current_frame_end = std::min<int64_t>(frame_end, partition_end); | 319 | 48 | if (current_frame_start >= current_frame_end) { | 320 | 0 | *use_null_result = true; | 321 | 0 | return; | 322 | 0 | } | 323 | 48 | if (*could_use_previous_result) { | 324 | 48 | auto outcoming_pos = frame_start - 1; | 325 | 48 | auto incoming_pos = frame_end - 1; | 326 | 48 | if (!previous_is_nul && outcoming_pos >= partition_start && | 327 | 48 | outcoming_pos < partition_end) { | 328 | 40 | update_value<false>(place, columns, outcoming_pos); | 329 | 40 | } | 330 | 48 | if (!end_is_nul && incoming_pos >= partition_start && incoming_pos < partition_end) { | 331 | 40 | update_value<true>(place, columns, incoming_pos); | 332 | 40 | } | 333 | 48 | } else { | 334 | 0 | this->add_range_single_place(partition_start, partition_end, frame_start, frame_end, | 335 | 0 | place, columns, arena, use_null_result, | 336 | 0 | could_use_previous_result); | 337 | 0 | } | 338 | 48 | } |
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 | 316 | 23 | UInt8* could_use_previous_result) const override { | 317 | 23 | int64_t current_frame_start = std::max<int64_t>(frame_start, partition_start); | 318 | 23 | int64_t current_frame_end = std::min<int64_t>(frame_end, partition_end); | 319 | 23 | if (current_frame_start >= current_frame_end) { | 320 | 0 | *use_null_result = true; | 321 | 0 | return; | 322 | 0 | } | 323 | 23 | if (*could_use_previous_result) { | 324 | 23 | auto outcoming_pos = frame_start - 1; | 325 | 23 | auto incoming_pos = frame_end - 1; | 326 | 23 | if (!previous_is_nul && outcoming_pos >= partition_start && | 327 | 23 | outcoming_pos < partition_end) { | 328 | 18 | update_value<false>(place, columns, outcoming_pos); | 329 | 18 | } | 330 | 23 | if (!end_is_nul && incoming_pos >= partition_start && incoming_pos < partition_end) { | 331 | 19 | update_value<true>(place, columns, incoming_pos); | 332 | 19 | } | 333 | 23 | } else { | 334 | 0 | this->add_range_single_place(partition_start, partition_end, frame_start, frame_end, | 335 | 0 | place, columns, arena, use_null_result, | 336 | 0 | could_use_previous_result); | 337 | 0 | } | 338 | 23 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Line | Count | Source | 316 | 141 | UInt8* could_use_previous_result) const override { | 317 | 141 | int64_t current_frame_start = std::max<int64_t>(frame_start, partition_start); | 318 | 141 | int64_t current_frame_end = std::min<int64_t>(frame_end, partition_end); | 319 | 141 | if (current_frame_start >= current_frame_end) { | 320 | 0 | *use_null_result = true; | 321 | 0 | return; | 322 | 0 | } | 323 | 141 | if (*could_use_previous_result) { | 324 | 123 | auto outcoming_pos = frame_start - 1; | 325 | 123 | auto incoming_pos = frame_end - 1; | 326 | 123 | if (!previous_is_nul && outcoming_pos >= partition_start && | 327 | 123 | outcoming_pos < partition_end) { | 328 | 84 | update_value<false>(place, columns, outcoming_pos); | 329 | 84 | } | 330 | 123 | if (!end_is_nul && incoming_pos >= partition_start && incoming_pos < partition_end) { | 331 | 93 | update_value<true>(place, columns, incoming_pos); | 332 | 93 | } | 333 | 123 | } else { | 334 | 18 | this->add_range_single_place(partition_start, partition_end, frame_start, frame_end, | 335 | 18 | place, columns, arena, use_null_result, | 336 | 18 | could_use_previous_result); | 337 | 18 | } | 338 | 141 | } |
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_ |
339 | | |
340 | | void add_range_single_place(int64_t partition_start, int64_t partition_end, int64_t frame_start, |
341 | | int64_t frame_end, AggregateDataPtr place, const IColumn** columns, |
342 | | Arena& arena, UInt8* use_null_result, |
343 | 542 | UInt8* could_use_previous_result) const override { |
344 | 542 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); |
345 | 542 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); |
346 | 542 | if (current_frame_start >= current_frame_end) { |
347 | 20 | if (!*could_use_previous_result) { |
348 | 0 | *use_null_result = true; |
349 | 0 | } |
350 | 522 | } else { |
351 | 2.81k | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { |
352 | 2.29k | update_value<true>(place, columns, row_num); |
353 | 2.29k | } |
354 | 522 | *use_null_result = false; |
355 | 522 | *could_use_previous_result = true; |
356 | 522 | } |
357 | 542 | } 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 | 343 | 8 | UInt8* could_use_previous_result) const override { | 344 | 8 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 345 | 8 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 346 | 8 | if (current_frame_start >= current_frame_end) { | 347 | 0 | if (!*could_use_previous_result) { | 348 | 0 | *use_null_result = true; | 349 | 0 | } | 350 | 8 | } else { | 351 | 24 | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 352 | 16 | update_value<true>(place, columns, row_num); | 353 | 16 | } | 354 | 8 | *use_null_result = false; | 355 | 8 | *could_use_previous_result = true; | 356 | 8 | } | 357 | 8 | } |
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 | 343 | 77 | UInt8* could_use_previous_result) const override { | 344 | 77 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 345 | 77 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 346 | 77 | if (current_frame_start >= current_frame_end) { | 347 | 0 | if (!*could_use_previous_result) { | 348 | 0 | *use_null_result = true; | 349 | 0 | } | 350 | 77 | } else { | 351 | 1.77k | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 352 | 1.69k | update_value<true>(place, columns, row_num); | 353 | 1.69k | } | 354 | 77 | *use_null_result = false; | 355 | 77 | *could_use_previous_result = true; | 356 | 77 | } | 357 | 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 | 343 | 2 | UInt8* could_use_previous_result) const override { | 344 | 2 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 345 | 2 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 346 | 2 | if (current_frame_start >= current_frame_end) { | 347 | 0 | if (!*could_use_previous_result) { | 348 | 0 | *use_null_result = true; | 349 | 0 | } | 350 | 2 | } else { | 351 | 4 | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 352 | 2 | update_value<true>(place, columns, row_num); | 353 | 2 | } | 354 | 2 | *use_null_result = false; | 355 | 2 | *could_use_previous_result = true; | 356 | 2 | } | 357 | 2 | } |
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 | 343 | 104 | UInt8* could_use_previous_result) const override { | 344 | 104 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 345 | 104 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 346 | 104 | if (current_frame_start >= current_frame_end) { | 347 | 0 | if (!*could_use_previous_result) { | 348 | 0 | *use_null_result = true; | 349 | 0 | } | 350 | 104 | } else { | 351 | 280 | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 352 | 176 | update_value<true>(place, columns, row_num); | 353 | 176 | } | 354 | 104 | *use_null_result = false; | 355 | 104 | *could_use_previous_result = true; | 356 | 104 | } | 357 | 104 | } |
_ZNK5doris20AggregateFunctionAvgILNS_13PrimitiveTypeE6ELS1_9ENS_24AggregateFunctionAvgDataILS1_7EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 343 | 235 | UInt8* could_use_previous_result) const override { | 344 | 235 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 345 | 235 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 346 | 235 | if (current_frame_start >= current_frame_end) { | 347 | 20 | if (!*could_use_previous_result) { | 348 | 0 | *use_null_result = true; | 349 | 0 | } | 350 | 215 | } else { | 351 | 505 | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 352 | 290 | update_value<true>(place, columns, row_num); | 353 | 290 | } | 354 | 215 | *use_null_result = false; | 355 | 215 | *could_use_previous_result = true; | 356 | 215 | } | 357 | 235 | } |
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 | 343 | 116 | UInt8* could_use_previous_result) const override { | 344 | 116 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 345 | 116 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 346 | 116 | if (current_frame_start >= current_frame_end) { | 347 | 0 | if (!*could_use_previous_result) { | 348 | 0 | *use_null_result = true; | 349 | 0 | } | 350 | 116 | } else { | 351 | 232 | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 352 | 116 | update_value<true>(place, columns, row_num); | 353 | 116 | } | 354 | 116 | *use_null_result = false; | 355 | 116 | *could_use_previous_result = true; | 356 | 116 | } | 357 | 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_ |
358 | | |
359 | | private: |
360 | | uint32_t output_scale; |
361 | | ResultType multiplier; |
362 | | }; |
363 | | |
364 | | } // namespace doris |
365 | | |
366 | | #include "common/compile_check_end.h" |