be/src/exprs/aggregate/aggregate_function_sum.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/AggregateFunctionSum.h |
19 | | // and modified by Doris |
20 | | |
21 | | #pragma once |
22 | | |
23 | | #include <stddef.h> |
24 | | |
25 | | #include <memory> |
26 | | #include <type_traits> |
27 | | #include <vector> |
28 | | |
29 | | #include "common/compiler_util.h" |
30 | | #include "core/assert_cast.h" |
31 | | #include "core/column/column.h" |
32 | | #include "core/data_type/data_type.h" |
33 | | #include "core/data_type/data_type_decimal.h" |
34 | | #include "core/data_type/data_type_fixed_length_object.h" |
35 | | #include "core/data_type/primitive_type.h" |
36 | | #include "core/field.h" |
37 | | #include "core/types.h" |
38 | | #include "exprs/aggregate/aggregate_function.h" |
39 | | |
40 | | namespace doris { |
41 | | class Arena; |
42 | | class BufferReadable; |
43 | | class BufferWritable; |
44 | | template <PrimitiveType T> |
45 | | class ColumnDecimal; |
46 | | template <PrimitiveType T> |
47 | | class DataTypeNumber; |
48 | | template <PrimitiveType T> |
49 | | class ColumnVector; |
50 | | |
51 | | template <PrimitiveType T> |
52 | | struct AggregateFunctionSumData { |
53 | | typename PrimitiveTypeTraits<T>::CppType sum {}; |
54 | | |
55 | 48.6M | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { |
56 | 48.6M | ALLOW_FP_REASSOCIATION |
57 | 48.6M | sum += value; |
58 | 48.6M | } _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE3EE3addEa Line | Count | Source | 55 | 40 | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 56 | 40 | ALLOW_FP_REASSOCIATION | 57 | 40 | sum += value; | 58 | 40 | } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE4EE3addEs Line | Count | Source | 55 | 140 | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 56 | 140 | ALLOW_FP_REASSOCIATION | 57 | 140 | sum += value; | 58 | 140 | } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE5EE3addEi Line | Count | Source | 55 | 819k | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 56 | 819k | ALLOW_FP_REASSOCIATION | 57 | 819k | sum += value; | 58 | 819k | } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE6EE3addEl Line | Count | Source | 55 | 31.8M | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 56 | 31.8M | ALLOW_FP_REASSOCIATION | 57 | 31.8M | sum += value; | 58 | 31.8M | } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE7EE3addEn Line | Count | Source | 55 | 16.9k | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 56 | 16.9k | ALLOW_FP_REASSOCIATION | 57 | 16.9k | sum += value; | 58 | 16.9k | } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE8EE3addEf Line | Count | Source | 55 | 10.2k | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 56 | 10.2k | ALLOW_FP_REASSOCIATION | 57 | 10.2k | sum += value; | 58 | 10.2k | } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE9EE3addEd Line | Count | Source | 55 | 2.55M | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 56 | 2.55M | ALLOW_FP_REASSOCIATION | 57 | 2.55M | sum += value; | 58 | 2.55M | } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE28EE3addENS_7DecimalIiEE Line | Count | Source | 55 | 10 | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 56 | 10 | ALLOW_FP_REASSOCIATION | 57 | 10 | sum += value; | 58 | 10 | } |
Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE29EE3addENS_7DecimalIlEE _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE30EE3addENS_12Decimal128V3E Line | Count | Source | 55 | 13.3M | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 56 | 13.3M | ALLOW_FP_REASSOCIATION | 57 | 13.3M | sum += value; | 58 | 13.3M | } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE35EE3addENS_7DecimalIN4wide7integerILm256EiEEEE Line | Count | Source | 55 | 828 | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 56 | 828 | ALLOW_FP_REASSOCIATION | 57 | 828 | sum += value; | 58 | 828 | } |
Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE20EE3addENS_14DecimalV2ValueE |
59 | | |
60 | 208k | void merge(const AggregateFunctionSumData& rhs) { sum += rhs.sum; }Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE3EE5mergeERKS2_ Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE4EE5mergeERKS2_ Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE5EE5mergeERKS2_ _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE6EE5mergeERKS2_ Line | Count | Source | 60 | 54.1k | void merge(const AggregateFunctionSumData& rhs) { sum += rhs.sum; } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE7EE5mergeERKS2_ Line | Count | Source | 60 | 94 | void merge(const AggregateFunctionSumData& rhs) { sum += rhs.sum; } |
Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE8EE5mergeERKS2_ _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE9EE5mergeERKS2_ Line | Count | Source | 60 | 6.09k | void merge(const AggregateFunctionSumData& rhs) { sum += rhs.sum; } |
Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE28EE5mergeERKS2_ Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE29EE5mergeERKS2_ _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE30EE5mergeERKS2_ Line | Count | Source | 60 | 147k | void merge(const AggregateFunctionSumData& rhs) { sum += rhs.sum; } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE35EE5mergeERKS2_ Line | Count | Source | 60 | 56 | void merge(const AggregateFunctionSumData& rhs) { sum += rhs.sum; } |
Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE20EE5mergeERKS2_ |
61 | | |
62 | 644 | void write(BufferWritable& buf) const { buf.write_binary(sum); }Unexecuted instantiation: _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE3EE5writeERNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE4EE5writeERNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE5EE5writeERNS_14BufferWritableE _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE6EE5writeERNS_14BufferWritableE Line | Count | Source | 62 | 588 | void write(BufferWritable& buf) const { buf.write_binary(sum); } |
Unexecuted instantiation: _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE7EE5writeERNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE8EE5writeERNS_14BufferWritableE _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE9EE5writeERNS_14BufferWritableE Line | Count | Source | 62 | 1 | void write(BufferWritable& buf) const { buf.write_binary(sum); } |
Unexecuted instantiation: _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE28EE5writeERNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE29EE5writeERNS_14BufferWritableE _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE30EE5writeERNS_14BufferWritableE Line | Count | Source | 62 | 27 | void write(BufferWritable& buf) const { buf.write_binary(sum); } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE35EE5writeERNS_14BufferWritableE Line | Count | Source | 62 | 28 | void write(BufferWritable& buf) const { buf.write_binary(sum); } |
Unexecuted instantiation: _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE20EE5writeERNS_14BufferWritableE |
63 | | |
64 | 596 | void read(BufferReadable& buf) { buf.read_binary(sum); }Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE3EE4readERNS_14BufferReadableE Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE4EE4readERNS_14BufferReadableE Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE5EE4readERNS_14BufferReadableE _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE6EE4readERNS_14BufferReadableE Line | Count | Source | 64 | 546 | void read(BufferReadable& buf) { buf.read_binary(sum); } |
Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE7EE4readERNS_14BufferReadableE Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE8EE4readERNS_14BufferReadableE Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE9EE4readERNS_14BufferReadableE Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE28EE4readERNS_14BufferReadableE Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE29EE4readERNS_14BufferReadableE _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE30EE4readERNS_14BufferReadableE Line | Count | Source | 64 | 22 | void read(BufferReadable& buf) { buf.read_binary(sum); } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE35EE4readERNS_14BufferReadableE Line | Count | Source | 64 | 28 | void read(BufferReadable& buf) { buf.read_binary(sum); } |
Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE20EE4readERNS_14BufferReadableE |
65 | | |
66 | 2.66M | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; }_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE3EE3getEv Line | Count | Source | 66 | 14 | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE4EE3getEv Line | Count | Source | 66 | 47 | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE5EE3getEv Line | Count | Source | 66 | 409k | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE6EE3getEv Line | Count | Source | 66 | 991k | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE7EE3getEv Line | Count | Source | 66 | 5.46k | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE8EE3getEv Line | Count | Source | 66 | 5.20k | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE9EE3getEv Line | Count | Source | 66 | 12.8k | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE28EE3getEv Line | Count | Source | 66 | 4 | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
Unexecuted instantiation: _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE29EE3getEv _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE30EE3getEv Line | Count | Source | 66 | 1.24M | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE35EE3getEv Line | Count | Source | 66 | 239 | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
Unexecuted instantiation: _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE20EE3getEv |
67 | | }; |
68 | | |
69 | | template <PrimitiveType T, PrimitiveType TResult, typename Data> |
70 | | class AggregateFunctionSum; |
71 | | |
72 | | template <PrimitiveType T, PrimitiveType TResult> |
73 | | constexpr static bool is_valid_sum_types = |
74 | | (is_same_or_wider_decimalv3(T, TResult) || (is_decimalv2(T) && is_decimalv2(TResult)) || |
75 | | (is_float_or_double(T) && is_float_or_double(TResult)) || |
76 | | (is_int_or_bool(T) && is_int(TResult))); |
77 | | /// Counts the sum of the numbers. |
78 | | template <PrimitiveType T, PrimitiveType TResult, typename Data> |
79 | | requires(is_valid_sum_types<T, TResult>) |
80 | | class AggregateFunctionSum<T, TResult, Data> final |
81 | | : public IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>, |
82 | | UnaryExpression, |
83 | | NullableAggregateFunction { |
84 | | public: |
85 | | using ResultDataType = typename PrimitiveTypeTraits<TResult>::DataType; |
86 | | using ColVecType = typename PrimitiveTypeTraits<T>::ColumnType; |
87 | | using ColVecResult = typename PrimitiveTypeTraits<TResult>::ColumnType; |
88 | | |
89 | 2.15k | String get_name() const override { return "sum"; }Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE8get_nameB5cxx11Ev _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE8get_nameB5cxx11Ev Line | Count | Source | 89 | 382 | String get_name() const override { return "sum"; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE8get_nameB5cxx11Ev _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE8get_nameB5cxx11Ev Line | Count | Source | 89 | 150 | String get_name() const override { return "sum"; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE8get_nameB5cxx11Ev _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE8get_nameB5cxx11Ev Line | Count | Source | 89 | 31 | String get_name() const override { return "sum"; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE8get_nameB5cxx11Ev Line | Count | Source | 89 | 3 | String get_name() const override { return "sum"; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE8get_nameB5cxx11Ev _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE8get_nameB5cxx11Ev Line | Count | Source | 89 | 11 | String get_name() const override { return "sum"; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE8get_nameB5cxx11Ev _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE8get_nameB5cxx11Ev Line | Count | Source | 89 | 8 | String get_name() const override { return "sum"; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE8get_nameB5cxx11Ev _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE8get_nameB5cxx11Ev Line | Count | Source | 89 | 1 | String get_name() const override { return "sum"; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE8get_nameB5cxx11Ev Line | Count | Source | 89 | 701 | String get_name() const override { return "sum"; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE8get_nameB5cxx11Ev Line | Count | Source | 89 | 2 | String get_name() const override { return "sum"; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE8get_nameB5cxx11Ev Line | Count | Source | 89 | 864 | String get_name() const override { return "sum"; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE8get_nameB5cxx11Ev Line | Count | Source | 89 | 1 | String get_name() const override { return "sum"; } |
|
90 | | |
91 | | AggregateFunctionSum(const DataTypes& argument_types_) |
92 | 25.6k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( |
93 | 25.6k | argument_types_), |
94 | 25.6k | scale(get_decimal_scale(*argument_types_[0])) {}_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 92 | 921 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 921 | argument_types_), | 94 | 921 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 92 | 980 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 980 | argument_types_), | 94 | 980 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 92 | 1.20k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 1.20k | argument_types_), | 94 | 1.20k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 92 | 6.68k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 6.68k | argument_types_), | 94 | 6.68k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 92 | 1.22k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 1.22k | argument_types_), | 94 | 1.22k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 92 | 1.49k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 1.49k | argument_types_), | 94 | 1.49k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 92 | 2.30k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 2.30k | argument_types_), | 94 | 2.30k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 92 | 894 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 894 | argument_types_), | 94 | 894 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 92 | 30 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 30 | argument_types_), | 94 | 30 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 92 | 2.22k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 2.22k | argument_types_), | 94 | 2.22k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 92 | 127 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 127 | argument_types_), | 94 | 127 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 92 | 1 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 1 | argument_types_), | 94 | 1 | scale(get_decimal_scale(*argument_types_[0])) {} |
Unexecuted instantiation: _ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE _ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 92 | 74 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 74 | argument_types_), | 94 | 74 | scale(get_decimal_scale(*argument_types_[0])) {} |
Unexecuted instantiation: _ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE _ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 92 | 1.14k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 1.14k | argument_types_), | 94 | 1.14k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 92 | 18 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 18 | argument_types_), | 94 | 18 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 92 | 13 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 13 | argument_types_), | 94 | 13 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 92 | 902 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 902 | argument_types_), | 94 | 902 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 92 | 84 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 84 | argument_types_), | 94 | 84 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 92 | 5.31k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 5.31k | argument_types_), | 94 | 5.31k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 92 | 65 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 65 | argument_types_), | 94 | 65 | scale(get_decimal_scale(*argument_types_[0])) {} |
|
95 | | |
96 | 92.1k | DataTypePtr get_return_type() const override { |
97 | 92.1k | if constexpr (is_decimal(TResult)) { |
98 | 19.1k | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); |
99 | 72.9k | } else { |
100 | 72.9k | return std::make_shared<ResultDataType>(); |
101 | 72.9k | } |
102 | 92.1k | } _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE15get_return_typeEv Line | Count | Source | 96 | 1.39k | DataTypePtr get_return_type() const override { | 97 | | if constexpr (is_decimal(TResult)) { | 98 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 99 | 1.39k | } else { | 100 | 1.39k | return std::make_shared<ResultDataType>(); | 101 | 1.39k | } | 102 | 1.39k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE15get_return_typeEv Line | Count | Source | 96 | 1.51k | DataTypePtr get_return_type() const override { | 97 | | if constexpr (is_decimal(TResult)) { | 98 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 99 | 1.51k | } else { | 100 | 1.51k | return std::make_shared<ResultDataType>(); | 101 | 1.51k | } | 102 | 1.51k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE15get_return_typeEv Line | Count | Source | 96 | 1.82k | DataTypePtr get_return_type() const override { | 97 | | if constexpr (is_decimal(TResult)) { | 98 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 99 | 1.82k | } else { | 100 | 1.82k | return std::make_shared<ResultDataType>(); | 101 | 1.82k | } | 102 | 1.82k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE15get_return_typeEv Line | Count | Source | 96 | 26.6k | DataTypePtr get_return_type() const override { | 97 | | if constexpr (is_decimal(TResult)) { | 98 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 99 | 26.6k | } else { | 100 | 26.6k | return std::make_shared<ResultDataType>(); | 101 | 26.6k | } | 102 | 26.6k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE15get_return_typeEv Line | Count | Source | 96 | 2.33k | DataTypePtr get_return_type() const override { | 97 | | if constexpr (is_decimal(TResult)) { | 98 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 99 | 2.33k | } else { | 100 | 2.33k | return std::make_shared<ResultDataType>(); | 101 | 2.33k | } | 102 | 2.33k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE15get_return_typeEv Line | Count | Source | 96 | 2.08k | DataTypePtr get_return_type() const override { | 97 | | if constexpr (is_decimal(TResult)) { | 98 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 99 | 2.08k | } else { | 100 | 2.08k | return std::make_shared<ResultDataType>(); | 101 | 2.08k | } | 102 | 2.08k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE15get_return_typeEv Line | Count | Source | 96 | 6.19k | DataTypePtr get_return_type() const override { | 97 | | if constexpr (is_decimal(TResult)) { | 98 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 99 | 6.19k | } else { | 100 | 6.19k | return std::make_shared<ResultDataType>(); | 101 | 6.19k | } | 102 | 6.19k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE15get_return_typeEv Line | Count | Source | 96 | 1.78k | DataTypePtr get_return_type() const override { | 97 | 1.78k | if constexpr (is_decimal(TResult)) { | 98 | 1.78k | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 99 | | } else { | 100 | | return std::make_shared<ResultDataType>(); | 101 | | } | 102 | 1.78k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE15get_return_typeEv Line | Count | Source | 96 | 56 | DataTypePtr get_return_type() const override { | 97 | 56 | if constexpr (is_decimal(TResult)) { | 98 | 56 | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 99 | | } else { | 100 | | return std::make_shared<ResultDataType>(); | 101 | | } | 102 | 56 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE15get_return_typeEv Line | Count | Source | 96 | 5.18k | DataTypePtr get_return_type() const override { | 97 | 5.18k | if constexpr (is_decimal(TResult)) { | 98 | 5.18k | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 99 | | } else { | 100 | | return std::make_shared<ResultDataType>(); | 101 | | } | 102 | 5.18k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE15get_return_typeEv Line | Count | Source | 96 | 531 | DataTypePtr get_return_type() const override { | 97 | 531 | if constexpr (is_decimal(TResult)) { | 98 | 531 | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 99 | | } else { | 100 | | return std::make_shared<ResultDataType>(); | 101 | | } | 102 | 531 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE15get_return_typeEv Line | Count | Source | 96 | 1 | DataTypePtr get_return_type() const override { | 97 | 1 | if constexpr (is_decimal(TResult)) { | 98 | 1 | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 99 | | } else { | 100 | | return std::make_shared<ResultDataType>(); | 101 | | } | 102 | 1 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE15get_return_typeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE15get_return_typeEv Line | Count | Source | 96 | 369 | DataTypePtr get_return_type() const override { | 97 | 369 | if constexpr (is_decimal(TResult)) { | 98 | 369 | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 99 | | } else { | 100 | | return std::make_shared<ResultDataType>(); | 101 | | } | 102 | 369 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE15get_return_typeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE15get_return_typeEv Line | Count | Source | 96 | 10.9k | DataTypePtr get_return_type() const override { | 97 | 10.9k | if constexpr (is_decimal(TResult)) { | 98 | 10.9k | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 99 | | } else { | 100 | | return std::make_shared<ResultDataType>(); | 101 | | } | 102 | 10.9k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE15get_return_typeEv Line | Count | Source | 96 | 111 | DataTypePtr get_return_type() const override { | 97 | 111 | if constexpr (is_decimal(TResult)) { | 98 | 111 | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 99 | | } else { | 100 | | return std::make_shared<ResultDataType>(); | 101 | | } | 102 | 111 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE15get_return_typeEv Line | Count | Source | 96 | 128 | DataTypePtr get_return_type() const override { | 97 | 128 | if constexpr (is_decimal(TResult)) { | 98 | 128 | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 99 | | } else { | 100 | | return std::make_shared<ResultDataType>(); | 101 | | } | 102 | 128 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE15get_return_typeEv Line | Count | Source | 96 | 4.99k | DataTypePtr get_return_type() const override { | 97 | | if constexpr (is_decimal(TResult)) { | 98 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 99 | 4.99k | } else { | 100 | 4.99k | return std::make_shared<ResultDataType>(); | 101 | 4.99k | } | 102 | 4.99k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE15get_return_typeEv Line | Count | Source | 96 | 339 | DataTypePtr get_return_type() const override { | 97 | | if constexpr (is_decimal(TResult)) { | 98 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 99 | 339 | } else { | 100 | 339 | return std::make_shared<ResultDataType>(); | 101 | 339 | } | 102 | 339 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE15get_return_typeEv Line | Count | Source | 96 | 25.5k | DataTypePtr get_return_type() const override { | 97 | | if constexpr (is_decimal(TResult)) { | 98 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 99 | 25.5k | } else { | 100 | 25.5k | return std::make_shared<ResultDataType>(); | 101 | 25.5k | } | 102 | 25.5k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE15get_return_typeEv Line | Count | Source | 96 | 154 | DataTypePtr get_return_type() const override { | 97 | | if constexpr (is_decimal(TResult)) { | 98 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 99 | 154 | } else { | 100 | 154 | return std::make_shared<ResultDataType>(); | 101 | 154 | } | 102 | 154 | } |
|
103 | | |
104 | 0 | bool is_trivial() const override { return true; }Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE10is_trivialEv |
105 | | |
106 | | void add(AggregateDataPtr __restrict place, const IColumn** columns, ssize_t row_num, |
107 | 48.6M | Arena&) const override { |
108 | 48.6M | const auto& column = |
109 | 48.6M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); |
110 | 48.6M | this->data(place).add( |
111 | 48.6M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); |
112 | 48.6M | } _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 107 | 40 | Arena&) const override { | 108 | 40 | const auto& column = | 109 | 40 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 110 | 40 | this->data(place).add( | 111 | 40 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 112 | 40 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 107 | 140 | Arena&) const override { | 108 | 140 | const auto& column = | 109 | 140 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 110 | 140 | this->data(place).add( | 111 | 140 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 112 | 140 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 107 | 819k | Arena&) const override { | 108 | 819k | const auto& column = | 109 | 819k | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 110 | 819k | this->data(place).add( | 111 | 819k | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 112 | 819k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 107 | 5.18M | Arena&) const override { | 108 | 5.18M | const auto& column = | 109 | 5.18M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 110 | 5.18M | this->data(place).add( | 111 | 5.18M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 112 | 5.18M | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 107 | 16.9k | Arena&) const override { | 108 | 16.9k | const auto& column = | 109 | 16.9k | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 110 | 16.9k | this->data(place).add( | 111 | 16.9k | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 112 | 16.9k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 107 | 10.2k | Arena&) const override { | 108 | 10.2k | const auto& column = | 109 | 10.2k | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 110 | 10.2k | this->data(place).add( | 111 | 10.2k | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 112 | 10.2k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 107 | 2.55M | Arena&) const override { | 108 | 2.55M | const auto& column = | 109 | 2.55M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 110 | 2.55M | this->data(place).add( | 111 | 2.55M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 112 | 2.55M | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 107 | 10 | Arena&) const override { | 108 | 10 | const auto& column = | 109 | 10 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 110 | 10 | this->data(place).add( | 111 | 10 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 112 | 10 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 107 | 5.31M | Arena&) const override { | 108 | 5.31M | const auto& column = | 109 | 5.31M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 110 | 5.31M | this->data(place).add( | 111 | 5.31M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 112 | 5.31M | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 107 | 763 | Arena&) const override { | 108 | 763 | const auto& column = | 109 | 763 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 110 | 763 | this->data(place).add( | 111 | 763 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 112 | 763 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 107 | 288 | Arena&) const override { | 108 | 288 | const auto& column = | 109 | 288 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 110 | 288 | this->data(place).add( | 111 | 288 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 112 | 288 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 107 | 8.16M | Arena&) const override { | 108 | 8.16M | const auto& column = | 109 | 8.16M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 110 | 8.16M | this->data(place).add( | 111 | 8.16M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 112 | 8.16M | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 107 | 51 | Arena&) const override { | 108 | 51 | const auto& column = | 109 | 51 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 110 | 51 | this->data(place).add( | 111 | 51 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 112 | 51 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 107 | 12 | Arena&) const override { | 108 | 12 | const auto& column = | 109 | 12 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 110 | 12 | this->data(place).add( | 111 | 12 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 112 | 12 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 107 | 20.2M | Arena&) const override { | 108 | 20.2M | const auto& column = | 109 | 20.2M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 110 | 20.2M | this->data(place).add( | 111 | 20.2M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 112 | 20.2M | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 107 | 594 | Arena&) const override { | 108 | 594 | const auto& column = | 109 | 594 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 110 | 594 | this->data(place).add( | 111 | 594 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 112 | 594 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 107 | 6.39M | Arena&) const override { | 108 | 6.39M | const auto& column = | 109 | 6.39M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 110 | 6.39M | this->data(place).add( | 111 | 6.39M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 112 | 6.39M | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 107 | 339 | Arena&) const override { | 108 | 339 | const auto& column = | 109 | 339 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 110 | 339 | this->data(place).add( | 111 | 339 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 112 | 339 | } |
|
113 | | |
114 | 1.39M | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; }Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE5resetEPc _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE5resetEPc Line | Count | Source | 114 | 22 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE5resetEPc Line | Count | Source | 114 | 409k | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5resetEPc Line | Count | Source | 114 | 963k | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE5resetEPc Line | Count | Source | 114 | 5.32k | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE5resetEPc Line | Count | Source | 114 | 5.20k | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE5resetEPc Line | Count | Source | 114 | 6.69k | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE5resetEPc Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE5resetEPc _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE5resetEPc Line | Count | Source | 114 | 130 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE5resetEPc Line | Count | Source | 114 | 163 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE5resetEPc Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE5resetEPc _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE5resetEPc Line | Count | Source | 114 | 9 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE5resetEPc _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE5resetEPc Line | Count | Source | 114 | 7 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE5resetEPc _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE5resetEPc Line | Count | Source | 114 | 1 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5resetEPc Line | Count | Source | 114 | 150 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5resetEPc Line | Count | Source | 114 | 76 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5resetEPc Line | Count | Source | 114 | 1.05k | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE5resetEPc Line | Count | Source | 114 | 70 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
|
115 | | |
116 | | void merge(AggregateDataPtr __restrict place, ConstAggregateDataPtr rhs, |
117 | 208k | Arena&) const override { |
118 | 208k | this->data(place).merge(this->data(rhs)); |
119 | 208k | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE5mergeEPcPKcRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE5mergeEPcPKcRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE5mergeEPcPKcRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 117 | 11.5k | Arena&) const override { | 118 | 11.5k | this->data(place).merge(this->data(rhs)); | 119 | 11.5k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 117 | 94 | Arena&) const override { | 118 | 94 | this->data(place).merge(this->data(rhs)); | 119 | 94 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE5mergeEPcPKcRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 117 | 6.09k | Arena&) const override { | 118 | 6.09k | this->data(place).merge(this->data(rhs)); | 119 | 6.09k | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE5mergeEPcPKcRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE5mergeEPcPKcRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 117 | 19.9k | Arena&) const override { | 118 | 19.9k | this->data(place).merge(this->data(rhs)); | 119 | 19.9k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 117 | 34 | Arena&) const override { | 118 | 34 | this->data(place).merge(this->data(rhs)); | 119 | 34 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE5mergeEPcPKcRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE5mergeEPcPKcRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 117 | 45 | Arena&) const override { | 118 | 45 | this->data(place).merge(this->data(rhs)); | 119 | 45 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE5mergeEPcPKcRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 117 | 127k | Arena&) const override { | 118 | 127k | this->data(place).merge(this->data(rhs)); | 119 | 127k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 117 | 18 | Arena&) const override { | 118 | 18 | this->data(place).merge(this->data(rhs)); | 119 | 18 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 117 | 4 | Arena&) const override { | 118 | 4 | this->data(place).merge(this->data(rhs)); | 119 | 4 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 117 | 302 | Arena&) const override { | 118 | 302 | this->data(place).merge(this->data(rhs)); | 119 | 302 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 117 | 23 | Arena&) const override { | 118 | 23 | this->data(place).merge(this->data(rhs)); | 119 | 23 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 117 | 42.2k | Arena&) const override { | 118 | 42.2k | this->data(place).merge(this->data(rhs)); | 119 | 42.2k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 117 | 2 | Arena&) const override { | 118 | 2 | this->data(place).merge(this->data(rhs)); | 119 | 2 | } |
|
120 | | |
121 | 644 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { |
122 | 644 | this->data(place).write(buf); |
123 | 644 | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE9serializeEPKcRNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE9serializeEPKcRNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE9serializeEPKcRNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE9serializeEPKcRNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE9serializeEPKcRNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE9serializeEPKcRNS_14BufferWritableE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 121 | 1 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 122 | 1 | this->data(place).write(buf); | 123 | 1 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE9serializeEPKcRNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE9serializeEPKcRNS_14BufferWritableE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 121 | 10 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 122 | 10 | this->data(place).write(buf); | 123 | 10 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 121 | 19 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 122 | 19 | this->data(place).write(buf); | 123 | 19 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE9serializeEPKcRNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE9serializeEPKcRNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE9serializeEPKcRNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE9serializeEPKcRNS_14BufferWritableE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 121 | 17 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 122 | 17 | this->data(place).write(buf); | 123 | 17 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 121 | 9 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 122 | 9 | this->data(place).write(buf); | 123 | 9 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE9serializeEPKcRNS_14BufferWritableE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 121 | 4 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 122 | 4 | this->data(place).write(buf); | 123 | 4 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE9serializeEPKcRNS_14BufferWritableE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 121 | 584 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 122 | 584 | this->data(place).write(buf); | 123 | 584 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE9serializeEPKcRNS_14BufferWritableE |
124 | | |
125 | | void deserialize(AggregateDataPtr __restrict place, BufferReadable& buf, |
126 | 596 | Arena&) const override { |
127 | 596 | this->data(place).read(buf); |
128 | 596 | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 126 | 10 | Arena&) const override { | 127 | 10 | this->data(place).read(buf); | 128 | 10 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 126 | 19 | Arena&) const override { | 127 | 19 | this->data(place).read(buf); | 128 | 19 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 126 | 12 | Arena&) const override { | 127 | 12 | this->data(place).read(buf); | 128 | 12 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 126 | 9 | Arena&) const override { | 127 | 9 | this->data(place).read(buf); | 128 | 9 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 126 | 4 | Arena&) const override { | 127 | 4 | this->data(place).read(buf); | 128 | 4 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 126 | 542 | Arena&) const override { | 127 | 542 | this->data(place).read(buf); | 128 | 542 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE |
129 | | |
130 | 2.71M | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { |
131 | 2.71M | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); |
132 | 2.71M | column.get_data().push_back(this->data(place).get()); |
133 | 2.71M | } _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 130 | 14 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 131 | 14 | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); | 132 | 14 | column.get_data().push_back(this->data(place).get()); | 133 | 14 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 130 | 47 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 131 | 47 | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); | 132 | 47 | column.get_data().push_back(this->data(place).get()); | 133 | 47 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 130 | 409k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 131 | 409k | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); | 132 | 409k | column.get_data().push_back(this->data(place).get()); | 133 | 409k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 130 | 982k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 131 | 982k | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); | 132 | 982k | column.get_data().push_back(this->data(place).get()); | 133 | 982k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 130 | 5.46k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 131 | 5.46k | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); | 132 | 5.46k | column.get_data().push_back(this->data(place).get()); | 133 | 5.46k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 130 | 5.20k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 131 | 5.20k | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); | 132 | 5.20k | column.get_data().push_back(this->data(place).get()); | 133 | 5.20k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 130 | 12.7k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 131 | 12.7k | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); | 132 | 12.7k | column.get_data().push_back(this->data(place).get()); | 133 | 12.7k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 130 | 4 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 131 | 4 | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); | 132 | 4 | column.get_data().push_back(this->data(place).get()); | 133 | 4 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE18insert_result_intoEPKcRNS_7IColumnE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 130 | 159k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 131 | 159k | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); | 132 | 159k | column.get_data().push_back(this->data(place).get()); | 133 | 159k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 130 | 207 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 131 | 207 | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); | 132 | 207 | column.get_data().push_back(this->data(place).get()); | 133 | 207 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE18insert_result_intoEPKcRNS_7IColumnE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE18insert_result_intoEPKcRNS_7IColumnE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 130 | 156 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 131 | 156 | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); | 132 | 156 | column.get_data().push_back(this->data(place).get()); | 133 | 156 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE18insert_result_intoEPKcRNS_7IColumnE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 130 | 1.12M | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 131 | 1.12M | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); | 132 | 1.12M | column.get_data().push_back(this->data(place).get()); | 133 | 1.12M | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 130 | 21 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 131 | 21 | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); | 132 | 21 | column.get_data().push_back(this->data(place).get()); | 133 | 21 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 130 | 11 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 131 | 11 | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); | 132 | 11 | column.get_data().push_back(this->data(place).get()); | 133 | 11 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 130 | 1.52k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 131 | 1.52k | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); | 132 | 1.52k | column.get_data().push_back(this->data(place).get()); | 133 | 1.52k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 130 | 197 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 131 | 197 | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); | 132 | 197 | column.get_data().push_back(this->data(place).get()); | 133 | 197 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 130 | 8.28k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 131 | 8.28k | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); | 132 | 8.28k | column.get_data().push_back(this->data(place).get()); | 133 | 8.28k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 130 | 78 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 131 | 78 | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); | 132 | 78 | column.get_data().push_back(this->data(place).get()); | 133 | 78 | } |
|
134 | | |
135 | | void serialize_to_column(const std::vector<AggregateDataPtr>& places, size_t offset, |
136 | 10.4k | MutableColumnPtr& dst, const size_t num_rows) const override { |
137 | 10.4k | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); |
138 | 18.4E | DCHECK(col.item_size() == sizeof(Data)) |
139 | 18.4E | << "size is not equal: " << col.item_size() << " " << sizeof(Data); |
140 | 10.4k | col.resize(num_rows); |
141 | 10.4k | auto* data = col.get_data().data(); |
142 | 1.34M | for (size_t i = 0; i != num_rows; ++i) { |
143 | 1.33M | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = |
144 | 1.33M | *reinterpret_cast<Data*>(places[i] + offset); |
145 | 1.33M | } |
146 | 10.4k | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 136 | 4.17k | MutableColumnPtr& dst, const size_t num_rows) const override { | 137 | 4.17k | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 138 | 18.4E | DCHECK(col.item_size() == sizeof(Data)) | 139 | 18.4E | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 140 | 4.17k | col.resize(num_rows); | 141 | 4.17k | auto* data = col.get_data().data(); | 142 | 52.3k | for (size_t i = 0; i != num_rows; ++i) { | 143 | 48.2k | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 144 | 48.2k | *reinterpret_cast<Data*>(places[i] + offset); | 145 | 48.2k | } | 146 | 4.17k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 136 | 131 | MutableColumnPtr& dst, const size_t num_rows) const override { | 137 | 131 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 138 | 131 | DCHECK(col.item_size() == sizeof(Data)) | 139 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 140 | 131 | col.resize(num_rows); | 141 | 131 | auto* data = col.get_data().data(); | 142 | 225 | for (size_t i = 0; i != num_rows; ++i) { | 143 | 94 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 144 | 94 | *reinterpret_cast<Data*>(places[i] + offset); | 145 | 94 | } | 146 | 131 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 136 | 171 | MutableColumnPtr& dst, const size_t num_rows) const override { | 137 | 171 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 138 | 18.4E | DCHECK(col.item_size() == sizeof(Data)) | 139 | 18.4E | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 140 | 171 | col.resize(num_rows); | 141 | 171 | auto* data = col.get_data().data(); | 142 | 6.26k | for (size_t i = 0; i != num_rows; ++i) { | 143 | 6.09k | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 144 | 6.09k | *reinterpret_cast<Data*>(places[i] + offset); | 145 | 6.09k | } | 146 | 171 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 136 | 1.16k | MutableColumnPtr& dst, const size_t num_rows) const override { | 137 | 1.16k | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 138 | 18.4E | DCHECK(col.item_size() == sizeof(Data)) | 139 | 18.4E | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 140 | 1.16k | col.resize(num_rows); | 141 | 1.16k | auto* data = col.get_data().data(); | 142 | 21.6k | for (size_t i = 0; i != num_rows; ++i) { | 143 | 20.5k | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 144 | 20.5k | *reinterpret_cast<Data*>(places[i] + offset); | 145 | 20.5k | } | 146 | 1.16k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 136 | 12 | MutableColumnPtr& dst, const size_t num_rows) const override { | 137 | 12 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 138 | 12 | DCHECK(col.item_size() == sizeof(Data)) | 139 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 140 | 12 | col.resize(num_rows); | 141 | 12 | auto* data = col.get_data().data(); | 142 | 18 | for (size_t i = 0; i != num_rows; ++i) { | 143 | 6 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 144 | 6 | *reinterpret_cast<Data*>(places[i] + offset); | 145 | 6 | } | 146 | 12 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 136 | 28 | MutableColumnPtr& dst, const size_t num_rows) const override { | 137 | 28 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 138 | 28 | DCHECK(col.item_size() == sizeof(Data)) | 139 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 140 | 28 | col.resize(num_rows); | 141 | 28 | auto* data = col.get_data().data(); | 142 | 73 | for (size_t i = 0; i != num_rows; ++i) { | 143 | 45 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 144 | 45 | *reinterpret_cast<Data*>(places[i] + offset); | 145 | 45 | } | 146 | 28 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 136 | 2.17k | MutableColumnPtr& dst, const size_t num_rows) const override { | 137 | 2.17k | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 138 | 18.4E | DCHECK(col.item_size() == sizeof(Data)) | 139 | 18.4E | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 140 | 2.17k | col.resize(num_rows); | 141 | 2.17k | auto* data = col.get_data().data(); | 142 | 130k | for (size_t i = 0; i != num_rows; ++i) { | 143 | 128k | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 144 | 128k | *reinterpret_cast<Data*>(places[i] + offset); | 145 | 128k | } | 146 | 2.17k | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 136 | 9 | MutableColumnPtr& dst, const size_t num_rows) const override { | 137 | 9 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 138 | 9 | DCHECK(col.item_size() == sizeof(Data)) | 139 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 140 | 9 | col.resize(num_rows); | 141 | 9 | auto* data = col.get_data().data(); | 142 | 13 | for (size_t i = 0; i != num_rows; ++i) { | 143 | 4 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 144 | 4 | *reinterpret_cast<Data*>(places[i] + offset); | 145 | 4 | } | 146 | 9 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 136 | 694 | MutableColumnPtr& dst, const size_t num_rows) const override { | 137 | 694 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 138 | 18.4E | DCHECK(col.item_size() == sizeof(Data)) | 139 | 18.4E | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 140 | 694 | col.resize(num_rows); | 141 | 694 | auto* data = col.get_data().data(); | 142 | 982 | for (size_t i = 0; i != num_rows; ++i) { | 143 | 288 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 144 | 288 | *reinterpret_cast<Data*>(places[i] + offset); | 145 | 288 | } | 146 | 694 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 136 | 24 | MutableColumnPtr& dst, const size_t num_rows) const override { | 137 | 24 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 138 | 24 | DCHECK(col.item_size() == sizeof(Data)) | 139 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 140 | 24 | col.resize(num_rows); | 141 | 24 | auto* data = col.get_data().data(); | 142 | 47 | for (size_t i = 0; i != num_rows; ++i) { | 143 | 23 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 144 | 23 | *reinterpret_cast<Data*>(places[i] + offset); | 145 | 23 | } | 146 | 24 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 136 | 1.89k | MutableColumnPtr& dst, const size_t num_rows) const override { | 137 | 1.89k | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 138 | 18.4E | DCHECK(col.item_size() == sizeof(Data)) | 139 | 18.4E | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 140 | 1.89k | col.resize(num_rows); | 141 | 1.89k | auto* data = col.get_data().data(); | 142 | 1.13M | for (size_t i = 0; i != num_rows; ++i) { | 143 | 1.12M | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 144 | 1.12M | *reinterpret_cast<Data*>(places[i] + offset); | 145 | 1.12M | } | 146 | 1.89k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 136 | 3 | MutableColumnPtr& dst, const size_t num_rows) const override { | 137 | 3 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 138 | 3 | DCHECK(col.item_size() == sizeof(Data)) | 139 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 140 | 3 | col.resize(num_rows); | 141 | 3 | auto* data = col.get_data().data(); | 142 | 5 | for (size_t i = 0; i != num_rows; ++i) { | 143 | 2 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 144 | 2 | *reinterpret_cast<Data*>(places[i] + offset); | 145 | 2 | } | 146 | 3 | } |
|
147 | | |
148 | | void streaming_agg_serialize_to_column(const IColumn** columns, MutableColumnPtr& dst, |
149 | 11 | const size_t num_rows, Arena&) const override { |
150 | 11 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); |
151 | 11 | auto& src = assert_cast<const ColVecType&>(*columns[0]); |
152 | 11 | DCHECK(col.item_size() == sizeof(Data)) |
153 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); |
154 | 11 | col.resize(num_rows); |
155 | 11 | auto* src_data = src.get_data().data(); |
156 | 11 | auto* dst_data = col.get_data().data(); |
157 | 38 | for (size_t i = 0; i != num_rows; ++i) { |
158 | 27 | auto& state = *reinterpret_cast<Data*>(&dst_data[sizeof(Data) * i]); |
159 | 27 | state.sum = typename PrimitiveTypeTraits<TResult>::CppType(src_data[i]); |
160 | 27 | } |
161 | 11 | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Line | Count | Source | 149 | 5 | const size_t num_rows, Arena&) const override { | 150 | 5 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 151 | 5 | auto& src = assert_cast<const ColVecType&>(*columns[0]); | 152 | 5 | DCHECK(col.item_size() == sizeof(Data)) | 153 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 154 | 5 | col.resize(num_rows); | 155 | 5 | auto* src_data = src.get_data().data(); | 156 | 5 | auto* dst_data = col.get_data().data(); | 157 | 22 | for (size_t i = 0; i != num_rows; ++i) { | 158 | 17 | auto& state = *reinterpret_cast<Data*>(&dst_data[sizeof(Data) * i]); | 159 | 17 | state.sum = typename PrimitiveTypeTraits<TResult>::CppType(src_data[i]); | 160 | 17 | } | 161 | 5 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Line | Count | Source | 149 | 4 | const size_t num_rows, Arena&) const override { | 150 | 4 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 151 | 4 | auto& src = assert_cast<const ColVecType&>(*columns[0]); | 152 | 4 | DCHECK(col.item_size() == sizeof(Data)) | 153 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 154 | 4 | col.resize(num_rows); | 155 | 4 | auto* src_data = src.get_data().data(); | 156 | 4 | auto* dst_data = col.get_data().data(); | 157 | 12 | for (size_t i = 0; i != num_rows; ++i) { | 158 | 8 | auto& state = *reinterpret_cast<Data*>(&dst_data[sizeof(Data) * i]); | 159 | 8 | state.sum = typename PrimitiveTypeTraits<TResult>::CppType(src_data[i]); | 160 | 8 | } | 161 | 4 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Line | Count | Source | 149 | 2 | const size_t num_rows, Arena&) const override { | 150 | 2 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 151 | 2 | auto& src = assert_cast<const ColVecType&>(*columns[0]); | 152 | 2 | DCHECK(col.item_size() == sizeof(Data)) | 153 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 154 | 2 | col.resize(num_rows); | 155 | 2 | auto* src_data = src.get_data().data(); | 156 | 2 | auto* dst_data = col.get_data().data(); | 157 | 4 | for (size_t i = 0; i != num_rows; ++i) { | 158 | 2 | auto& state = *reinterpret_cast<Data*>(&dst_data[sizeof(Data) * i]); | 159 | 2 | state.sum = typename PrimitiveTypeTraits<TResult>::CppType(src_data[i]); | 160 | 2 | } | 161 | 2 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE |
162 | | |
163 | | void deserialize_and_merge_from_column_range(AggregateDataPtr __restrict place, |
164 | | const IColumn& column, size_t begin, size_t end, |
165 | 30.1k | Arena&) const override { |
166 | 30.1k | DCHECK(end <= column.size() && begin <= end) |
167 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); |
168 | 30.1k | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); |
169 | 30.1k | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); |
170 | 60.2k | for (size_t i = begin; i <= end; ++i) { |
171 | 30.1k | this->data(place).sum += data[i].sum; |
172 | 30.1k | } |
173 | 30.1k | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 165 | 188 | Arena&) const override { | 166 | 188 | DCHECK(end <= column.size() && begin <= end) | 167 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 168 | 188 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 169 | 188 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 170 | 379 | for (size_t i = begin; i <= end; ++i) { | 171 | 191 | this->data(place).sum += data[i].sum; | 172 | 191 | } | 173 | 188 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 165 | 14 | Arena&) const override { | 166 | 14 | DCHECK(end <= column.size() && begin <= end) | 167 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 168 | 14 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 169 | 14 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 170 | 28 | for (size_t i = begin; i <= end; ++i) { | 171 | 14 | this->data(place).sum += data[i].sum; | 172 | 14 | } | 173 | 14 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 165 | 88 | Arena&) const override { | 166 | 88 | DCHECK(end <= column.size() && begin <= end) | 167 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 168 | 88 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 169 | 88 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 170 | 176 | for (size_t i = begin; i <= end; ++i) { | 171 | 88 | this->data(place).sum += data[i].sum; | 172 | 88 | } | 173 | 88 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 165 | 106 | Arena&) const override { | 166 | 106 | DCHECK(end <= column.size() && begin <= end) | 167 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 168 | 106 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 169 | 106 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 170 | 212 | for (size_t i = begin; i <= end; ++i) { | 171 | 106 | this->data(place).sum += data[i].sum; | 172 | 106 | } | 173 | 106 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 165 | 1 | Arena&) const override { | 166 | 1 | DCHECK(end <= column.size() && begin <= end) | 167 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 168 | 1 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 169 | 1 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 170 | 2 | for (size_t i = begin; i <= end; ++i) { | 171 | 1 | this->data(place).sum += data[i].sum; | 172 | 1 | } | 173 | 1 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 165 | 21 | Arena&) const override { | 166 | 21 | DCHECK(end <= column.size() && begin <= end) | 167 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 168 | 21 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 169 | 21 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 170 | 42 | for (size_t i = begin; i <= end; ++i) { | 171 | 21 | this->data(place).sum += data[i].sum; | 172 | 21 | } | 173 | 21 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 165 | 68 | Arena&) const override { | 166 | 68 | DCHECK(end <= column.size() && begin <= end) | 167 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 168 | 68 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 169 | 68 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 170 | 136 | for (size_t i = begin; i <= end; ++i) { | 171 | 68 | this->data(place).sum += data[i].sum; | 172 | 68 | } | 173 | 68 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 165 | 3 | Arena&) const override { | 166 | 3 | DCHECK(end <= column.size() && begin <= end) | 167 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 168 | 3 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 169 | 3 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 170 | 6 | for (size_t i = begin; i <= end; ++i) { | 171 | 3 | this->data(place).sum += data[i].sum; | 172 | 3 | } | 173 | 3 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 165 | 139 | Arena&) const override { | 166 | 139 | DCHECK(end <= column.size() && begin <= end) | 167 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 168 | 139 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 169 | 139 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 170 | 281 | for (size_t i = begin; i <= end; ++i) { | 171 | 142 | this->data(place).sum += data[i].sum; | 172 | 142 | } | 173 | 139 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 165 | 14 | Arena&) const override { | 166 | 14 | DCHECK(end <= column.size() && begin <= end) | 167 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 168 | 14 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 169 | 14 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 170 | 28 | for (size_t i = begin; i <= end; ++i) { | 171 | 14 | this->data(place).sum += data[i].sum; | 172 | 14 | } | 173 | 14 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 165 | 29.4k | Arena&) const override { | 166 | 29.4k | DCHECK(end <= column.size() && begin <= end) | 167 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 168 | 29.4k | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 169 | 29.4k | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 170 | 58.9k | for (size_t i = begin; i <= end; ++i) { | 171 | 29.4k | this->data(place).sum += data[i].sum; | 172 | 29.4k | } | 173 | 29.4k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 165 | 24 | Arena&) const override { | 166 | 24 | DCHECK(end <= column.size() && begin <= end) | 167 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 168 | 24 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 169 | 24 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 170 | 48 | for (size_t i = begin; i <= end; ++i) { | 171 | 24 | this->data(place).sum += data[i].sum; | 172 | 24 | } | 173 | 24 | } |
|
174 | | |
175 | | void deserialize_and_merge_vec(const AggregateDataPtr* places, size_t offset, |
176 | | AggregateDataPtr rhs, const IColumn* column, Arena& arena, |
177 | 8.18k | const size_t num_rows) const override { |
178 | 8.18k | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); |
179 | 8.18k | const auto* data = col.get_data().data(); |
180 | 8.18k | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); |
181 | 8.18k | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 177 | 3.70k | const size_t num_rows) const override { | 178 | 3.70k | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 179 | 3.70k | const auto* data = col.get_data().data(); | 180 | 3.70k | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 181 | 3.70k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 177 | 70 | const size_t num_rows) const override { | 178 | 70 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 179 | 70 | const auto* data = col.get_data().data(); | 180 | 70 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 181 | 70 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 177 | 148 | const size_t num_rows) const override { | 178 | 148 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 179 | 148 | const auto* data = col.get_data().data(); | 180 | 148 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 181 | 148 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 177 | 842 | const size_t num_rows) const override { | 178 | 842 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 179 | 842 | const auto* data = col.get_data().data(); | 180 | 842 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 181 | 842 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 177 | 6 | const size_t num_rows) const override { | 178 | 6 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 179 | 6 | const auto* data = col.get_data().data(); | 180 | 6 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 181 | 6 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 177 | 24 | const size_t num_rows) const override { | 178 | 24 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 179 | 24 | const auto* data = col.get_data().data(); | 180 | 24 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 181 | 24 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 177 | 1.59k | const size_t num_rows) const override { | 178 | 1.59k | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 179 | 1.59k | const auto* data = col.get_data().data(); | 180 | 1.59k | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 181 | 1.59k | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 177 | 3 | const size_t num_rows) const override { | 178 | 3 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 179 | 3 | const auto* data = col.get_data().data(); | 180 | 3 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 181 | 3 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 177 | 251 | const size_t num_rows) const override { | 178 | 251 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 179 | 251 | const auto* data = col.get_data().data(); | 180 | 251 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 181 | 251 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 177 | 12 | const size_t num_rows) const override { | 178 | 12 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 179 | 12 | const auto* data = col.get_data().data(); | 180 | 12 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 181 | 12 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 177 | 1.52k | const size_t num_rows) const override { | 178 | 1.52k | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 179 | 1.52k | const auto* data = col.get_data().data(); | 180 | 1.52k | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 181 | 1.52k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 177 | 2 | const size_t num_rows) const override { | 178 | 2 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 179 | 2 | const auto* data = col.get_data().data(); | 180 | 2 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 181 | 2 | } |
|
182 | | |
183 | | void deserialize_and_merge_vec_selected(const AggregateDataPtr* places, size_t offset, |
184 | | AggregateDataPtr rhs, const IColumn* column, |
185 | 2 | Arena& arena, const size_t num_rows) const override { |
186 | 2 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); |
187 | 2 | const auto* data = col.get_data().data(); |
188 | 2 | this->merge_vec_selected(places, offset, AggregateDataPtr(data), arena, num_rows); |
189 | 2 | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 185 | 2 | Arena& arena, const size_t num_rows) const override { | 186 | 2 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 187 | 2 | const auto* data = col.get_data().data(); | 188 | 2 | this->merge_vec_selected(places, offset, AggregateDataPtr(data), arena, num_rows); | 189 | 2 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm |
190 | | |
191 | | void serialize_without_key_to_column(ConstAggregateDataPtr __restrict place, |
192 | 1.27k | IColumn& to) const override { |
193 | 1.27k | auto& col = assert_cast<ColumnFixedLengthObject&>(to); |
194 | 18.4E | DCHECK(col.item_size() == sizeof(Data)) |
195 | 18.4E | << "size is not equal: " << col.item_size() << " " << sizeof(Data); |
196 | 1.27k | size_t old_size = col.size(); |
197 | 1.27k | col.resize(old_size + 1); |
198 | 1.27k | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; |
199 | 1.27k | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 192 | 187 | IColumn& to) const override { | 193 | 187 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 194 | 187 | DCHECK(col.item_size() == sizeof(Data)) | 195 | 1 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 196 | 187 | size_t old_size = col.size(); | 197 | 187 | col.resize(old_size + 1); | 198 | 187 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 199 | 187 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 192 | 14 | IColumn& to) const override { | 193 | 14 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 194 | 14 | DCHECK(col.item_size() == sizeof(Data)) | 195 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 196 | 14 | size_t old_size = col.size(); | 197 | 14 | col.resize(old_size + 1); | 198 | 14 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 199 | 14 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 192 | 87 | IColumn& to) const override { | 193 | 87 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 194 | 87 | DCHECK(col.item_size() == sizeof(Data)) | 195 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 196 | 87 | size_t old_size = col.size(); | 197 | 87 | col.resize(old_size + 1); | 198 | 87 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 199 | 87 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 192 | 105 | IColumn& to) const override { | 193 | 105 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 194 | 105 | DCHECK(col.item_size() == sizeof(Data)) | 195 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 196 | 105 | size_t old_size = col.size(); | 197 | 105 | col.resize(old_size + 1); | 198 | 105 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 199 | 105 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 192 | 1 | IColumn& to) const override { | 193 | 1 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 194 | 1 | DCHECK(col.item_size() == sizeof(Data)) | 195 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 196 | 1 | size_t old_size = col.size(); | 197 | 1 | col.resize(old_size + 1); | 198 | 1 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 199 | 1 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 192 | 21 | IColumn& to) const override { | 193 | 21 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 194 | 21 | DCHECK(col.item_size() == sizeof(Data)) | 195 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 196 | 21 | size_t old_size = col.size(); | 197 | 21 | col.resize(old_size + 1); | 198 | 21 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 199 | 21 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 192 | 63 | IColumn& to) const override { | 193 | 63 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 194 | 63 | DCHECK(col.item_size() == sizeof(Data)) | 195 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 196 | 63 | size_t old_size = col.size(); | 197 | 63 | col.resize(old_size + 1); | 198 | 63 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 199 | 63 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 192 | 3 | IColumn& to) const override { | 193 | 3 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 194 | 3 | DCHECK(col.item_size() == sizeof(Data)) | 195 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 196 | 3 | size_t old_size = col.size(); | 197 | 3 | col.resize(old_size + 1); | 198 | 3 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 199 | 3 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 192 | 131 | IColumn& to) const override { | 193 | 131 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 194 | 131 | DCHECK(col.item_size() == sizeof(Data)) | 195 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 196 | 131 | size_t old_size = col.size(); | 197 | 131 | col.resize(old_size + 1); | 198 | 131 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 199 | 131 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 192 | 14 | IColumn& to) const override { | 193 | 14 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 194 | 14 | DCHECK(col.item_size() == sizeof(Data)) | 195 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 196 | 14 | size_t old_size = col.size(); | 197 | 14 | col.resize(old_size + 1); | 198 | 14 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 199 | 14 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 192 | 627 | IColumn& to) const override { | 193 | 627 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 194 | 18.4E | DCHECK(col.item_size() == sizeof(Data)) | 195 | 18.4E | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 196 | 627 | size_t old_size = col.size(); | 197 | 627 | col.resize(old_size + 1); | 198 | 627 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 199 | 627 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 192 | 24 | IColumn& to) const override { | 193 | 24 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 194 | 24 | DCHECK(col.item_size() == sizeof(Data)) | 195 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 196 | 24 | size_t old_size = col.size(); | 197 | 24 | col.resize(old_size + 1); | 198 | 24 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 199 | 24 | } |
|
200 | | |
201 | 11.7k | MutableColumnPtr create_serialize_column() const override { |
202 | 11.7k | return ColumnFixedLengthObject::create(sizeof(Data)); |
203 | 11.7k | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE23create_serialize_columnEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE23create_serialize_columnEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE23create_serialize_columnEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE23create_serialize_columnEv Line | Count | Source | 201 | 4.38k | MutableColumnPtr create_serialize_column() const override { | 202 | 4.38k | return ColumnFixedLengthObject::create(sizeof(Data)); | 203 | 4.38k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE23create_serialize_columnEv Line | Count | Source | 201 | 145 | MutableColumnPtr create_serialize_column() const override { | 202 | 145 | return ColumnFixedLengthObject::create(sizeof(Data)); | 203 | 145 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE23create_serialize_columnEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE23create_serialize_columnEv Line | Count | Source | 201 | 259 | MutableColumnPtr create_serialize_column() const override { | 202 | 259 | return ColumnFixedLengthObject::create(sizeof(Data)); | 203 | 259 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE23create_serialize_columnEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE23create_serialize_columnEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE23create_serialize_columnEv Line | Count | Source | 201 | 1.26k | MutableColumnPtr create_serialize_column() const override { | 202 | 1.26k | return ColumnFixedLengthObject::create(sizeof(Data)); | 203 | 1.26k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE23create_serialize_columnEv Line | Count | Source | 201 | 13 | MutableColumnPtr create_serialize_column() const override { | 202 | 13 | return ColumnFixedLengthObject::create(sizeof(Data)); | 203 | 13 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE23create_serialize_columnEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE23create_serialize_columnEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE23create_serialize_columnEv Line | Count | Source | 201 | 49 | MutableColumnPtr create_serialize_column() const override { | 202 | 49 | return ColumnFixedLengthObject::create(sizeof(Data)); | 203 | 49 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE23create_serialize_columnEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE23create_serialize_columnEv Line | Count | Source | 201 | 2.27k | MutableColumnPtr create_serialize_column() const override { | 202 | 2.27k | return ColumnFixedLengthObject::create(sizeof(Data)); | 203 | 2.27k | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE23create_serialize_columnEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE23create_serialize_columnEv Line | Count | Source | 201 | 12 | MutableColumnPtr create_serialize_column() const override { | 202 | 12 | return ColumnFixedLengthObject::create(sizeof(Data)); | 203 | 12 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE23create_serialize_columnEv Line | Count | Source | 201 | 833 | MutableColumnPtr create_serialize_column() const override { | 202 | 833 | return ColumnFixedLengthObject::create(sizeof(Data)); | 203 | 833 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE23create_serialize_columnEv Line | Count | Source | 201 | 38 | MutableColumnPtr create_serialize_column() const override { | 202 | 38 | return ColumnFixedLengthObject::create(sizeof(Data)); | 203 | 38 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE23create_serialize_columnEv Line | Count | Source | 201 | 2.43k | MutableColumnPtr create_serialize_column() const override { | 202 | 2.43k | return ColumnFixedLengthObject::create(sizeof(Data)); | 203 | 2.43k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE23create_serialize_columnEv Line | Count | Source | 201 | 27 | MutableColumnPtr create_serialize_column() const override { | 202 | 27 | return ColumnFixedLengthObject::create(sizeof(Data)); | 203 | 27 | } |
|
204 | | |
205 | 11.8k | DataTypePtr get_serialized_type() const override { |
206 | 11.8k | return std::make_shared<DataTypeFixedLengthObject>(); |
207 | 11.8k | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE19get_serialized_typeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE19get_serialized_typeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE19get_serialized_typeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19get_serialized_typeEv Line | Count | Source | 205 | 4.40k | DataTypePtr get_serialized_type() const override { | 206 | 4.40k | return std::make_shared<DataTypeFixedLengthObject>(); | 207 | 4.40k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE19get_serialized_typeEv Line | Count | Source | 205 | 143 | DataTypePtr get_serialized_type() const override { | 206 | 143 | return std::make_shared<DataTypeFixedLengthObject>(); | 207 | 143 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE19get_serialized_typeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE19get_serialized_typeEv Line | Count | Source | 205 | 258 | DataTypePtr get_serialized_type() const override { | 206 | 258 | return std::make_shared<DataTypeFixedLengthObject>(); | 207 | 258 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE19get_serialized_typeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE19get_serialized_typeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE19get_serialized_typeEv Line | Count | Source | 205 | 1.27k | DataTypePtr get_serialized_type() const override { | 206 | 1.27k | return std::make_shared<DataTypeFixedLengthObject>(); | 207 | 1.27k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19get_serialized_typeEv Line | Count | Source | 205 | 13 | DataTypePtr get_serialized_type() const override { | 206 | 13 | return std::make_shared<DataTypeFixedLengthObject>(); | 207 | 13 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE19get_serialized_typeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE19get_serialized_typeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE19get_serialized_typeEv Line | Count | Source | 205 | 49 | DataTypePtr get_serialized_type() const override { | 206 | 49 | return std::make_shared<DataTypeFixedLengthObject>(); | 207 | 49 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19get_serialized_typeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE19get_serialized_typeEv Line | Count | Source | 205 | 2.28k | DataTypePtr get_serialized_type() const override { | 206 | 2.28k | return std::make_shared<DataTypeFixedLengthObject>(); | 207 | 2.28k | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19get_serialized_typeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19get_serialized_typeEv Line | Count | Source | 205 | 12 | DataTypePtr get_serialized_type() const override { | 206 | 12 | return std::make_shared<DataTypeFixedLengthObject>(); | 207 | 12 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19get_serialized_typeEv Line | Count | Source | 205 | 840 | DataTypePtr get_serialized_type() const override { | 206 | 840 | return std::make_shared<DataTypeFixedLengthObject>(); | 207 | 840 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19get_serialized_typeEv Line | Count | Source | 205 | 37 | DataTypePtr get_serialized_type() const override { | 206 | 37 | return std::make_shared<DataTypeFixedLengthObject>(); | 207 | 37 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19get_serialized_typeEv Line | Count | Source | 205 | 2.45k | DataTypePtr get_serialized_type() const override { | 206 | 2.45k | return std::make_shared<DataTypeFixedLengthObject>(); | 207 | 2.45k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE19get_serialized_typeEv Line | Count | Source | 205 | 27 | DataTypePtr get_serialized_type() const override { | 206 | 27 | return std::make_shared<DataTypeFixedLengthObject>(); | 207 | 27 | } |
|
208 | | |
209 | | // Floating-point accumulation is not exactly invertible: subtracting an outgoing |
210 | | // value cannot restore the rounding lost when it was added, so a value that has |
211 | | // left the frame would still distort later results. Recompute such frames instead. |
212 | 1.91k | bool supported_incremental_mode() const override { |
213 | 1.91k | return !std::is_floating_point_v<typename PrimitiveTypeTraits<TResult>::CppType>; |
214 | 1.91k | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE26supported_incremental_modeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE26supported_incremental_modeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE26supported_incremental_modeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE26supported_incremental_modeEv Line | Count | Source | 212 | 346 | bool supported_incremental_mode() const override { | 213 | 346 | return !std::is_floating_point_v<typename PrimitiveTypeTraits<TResult>::CppType>; | 214 | 346 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE26supported_incremental_modeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE26supported_incremental_modeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE26supported_incremental_modeEv Line | Count | Source | 212 | 148 | bool supported_incremental_mode() const override { | 213 | 148 | return !std::is_floating_point_v<typename PrimitiveTypeTraits<TResult>::CppType>; | 214 | 148 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE26supported_incremental_modeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE26supported_incremental_modeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE26supported_incremental_modeEv Line | Count | Source | 212 | 19 | bool supported_incremental_mode() const override { | 213 | 19 | return !std::is_floating_point_v<typename PrimitiveTypeTraits<TResult>::CppType>; | 214 | 19 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE26supported_incremental_modeEv Line | Count | Source | 212 | 1 | bool supported_incremental_mode() const override { | 213 | 1 | return !std::is_floating_point_v<typename PrimitiveTypeTraits<TResult>::CppType>; | 214 | 1 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE26supported_incremental_modeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE26supported_incremental_modeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE26supported_incremental_modeEv Line | Count | Source | 212 | 11 | bool supported_incremental_mode() const override { | 213 | 11 | return !std::is_floating_point_v<typename PrimitiveTypeTraits<TResult>::CppType>; | 214 | 11 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE26supported_incremental_modeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE26supported_incremental_modeEv Line | Count | Source | 212 | 7 | bool supported_incremental_mode() const override { | 213 | 7 | return !std::is_floating_point_v<typename PrimitiveTypeTraits<TResult>::CppType>; | 214 | 7 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE26supported_incremental_modeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE26supported_incremental_modeEv Line | Count | Source | 212 | 1 | bool supported_incremental_mode() const override { | 213 | 1 | return !std::is_floating_point_v<typename PrimitiveTypeTraits<TResult>::CppType>; | 214 | 1 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE26supported_incremental_modeEv Line | Count | Source | 212 | 705 | bool supported_incremental_mode() const override { | 213 | 705 | return !std::is_floating_point_v<typename PrimitiveTypeTraits<TResult>::CppType>; | 214 | 705 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE26supported_incremental_modeEv Line | Count | Source | 212 | 2 | bool supported_incremental_mode() const override { | 213 | 2 | return !std::is_floating_point_v<typename PrimitiveTypeTraits<TResult>::CppType>; | 214 | 2 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE26supported_incremental_modeEv Line | Count | Source | 212 | 673 | bool supported_incremental_mode() const override { | 213 | 673 | return !std::is_floating_point_v<typename PrimitiveTypeTraits<TResult>::CppType>; | 214 | 673 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE26supported_incremental_modeEv Line | Count | Source | 212 | 1 | bool supported_incremental_mode() const override { | 213 | 1 | return !std::is_floating_point_v<typename PrimitiveTypeTraits<TResult>::CppType>; | 214 | 1 | } |
|
215 | | |
216 | | NO_SANITIZE_UNDEFINED void execute_function_with_incremental( |
217 | | int64_t partition_start, int64_t partition_end, int64_t frame_start, int64_t frame_end, |
218 | | AggregateDataPtr place, const IColumn** columns, Arena& arena, bool previous_is_nul, |
219 | | bool end_is_nul, bool has_null, UInt8* use_null_result, |
220 | 592 | UInt8* could_use_previous_result) const override { |
221 | 592 | int64_t current_frame_start = std::max<int64_t>(frame_start, partition_start); |
222 | 592 | int64_t current_frame_end = std::min<int64_t>(frame_end, partition_end); |
223 | | |
224 | 592 | if (current_frame_start >= current_frame_end) { |
225 | 16 | *use_null_result = true; |
226 | 16 | return; |
227 | 16 | } |
228 | 576 | if (*could_use_previous_result) { |
229 | 518 | const auto& column = |
230 | 518 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); |
231 | 518 | const auto* data = column.get_data().data(); |
232 | 518 | auto outcoming_pos = frame_start - 1; |
233 | 518 | auto incoming_pos = frame_end - 1; |
234 | 518 | if (!previous_is_nul && outcoming_pos >= partition_start && |
235 | 518 | outcoming_pos < partition_end) { |
236 | 370 | this->data(place).add( |
237 | 370 | typename PrimitiveTypeTraits<TResult>::CppType(-data[outcoming_pos])); |
238 | 370 | } |
239 | 518 | if (!end_is_nul && incoming_pos >= partition_start && incoming_pos < partition_end) { |
240 | 398 | this->data(place).add( |
241 | 398 | typename PrimitiveTypeTraits<TResult>::CppType(data[incoming_pos])); |
242 | 398 | } |
243 | 518 | } else { |
244 | 58 | this->add_range_single_place(partition_start, partition_end, frame_start, frame_end, |
245 | 58 | place, columns, arena, use_null_result, |
246 | 58 | could_use_previous_result); |
247 | 58 | } |
248 | 576 | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Line | Count | Source | 220 | 161 | UInt8* could_use_previous_result) const override { | 221 | 161 | int64_t current_frame_start = std::max<int64_t>(frame_start, partition_start); | 222 | 161 | int64_t current_frame_end = std::min<int64_t>(frame_end, partition_end); | 223 | | | 224 | 161 | if (current_frame_start >= current_frame_end) { | 225 | 0 | *use_null_result = true; | 226 | 0 | return; | 227 | 0 | } | 228 | 161 | if (*could_use_previous_result) { | 229 | 141 | const auto& column = | 230 | 141 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 231 | 141 | const auto* data = column.get_data().data(); | 232 | 141 | auto outcoming_pos = frame_start - 1; | 233 | 141 | auto incoming_pos = frame_end - 1; | 234 | 141 | if (!previous_is_nul && outcoming_pos >= partition_start && | 235 | 141 | outcoming_pos < partition_end) { | 236 | 98 | this->data(place).add( | 237 | 98 | typename PrimitiveTypeTraits<TResult>::CppType(-data[outcoming_pos])); | 238 | 98 | } | 239 | 141 | if (!end_is_nul && incoming_pos >= partition_start && incoming_pos < partition_end) { | 240 | 116 | this->data(place).add( | 241 | 116 | typename PrimitiveTypeTraits<TResult>::CppType(data[incoming_pos])); | 242 | 116 | } | 243 | 141 | } else { | 244 | 20 | this->add_range_single_place(partition_start, partition_end, frame_start, frame_end, | 245 | 20 | place, columns, arena, use_null_result, | 246 | 20 | could_use_previous_result); | 247 | 20 | } | 248 | 161 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Line | Count | Source | 220 | 3 | UInt8* could_use_previous_result) const override { | 221 | 3 | int64_t current_frame_start = std::max<int64_t>(frame_start, partition_start); | 222 | 3 | int64_t current_frame_end = std::min<int64_t>(frame_end, partition_end); | 223 | | | 224 | 3 | if (current_frame_start >= current_frame_end) { | 225 | 0 | *use_null_result = true; | 226 | 0 | return; | 227 | 0 | } | 228 | 3 | if (*could_use_previous_result) { | 229 | 3 | const auto& column = | 230 | 3 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 231 | 3 | const auto* data = column.get_data().data(); | 232 | 3 | auto outcoming_pos = frame_start - 1; | 233 | 3 | auto incoming_pos = frame_end - 1; | 234 | 3 | if (!previous_is_nul && outcoming_pos >= partition_start && | 235 | 3 | outcoming_pos < partition_end) { | 236 | 2 | this->data(place).add( | 237 | 2 | typename PrimitiveTypeTraits<TResult>::CppType(-data[outcoming_pos])); | 238 | 2 | } | 239 | 3 | if (!end_is_nul && incoming_pos >= partition_start && incoming_pos < partition_end) { | 240 | 3 | this->data(place).add( | 241 | 3 | typename PrimitiveTypeTraits<TResult>::CppType(data[incoming_pos])); | 242 | 3 | } | 243 | 3 | } else { | 244 | 0 | this->add_range_single_place(partition_start, partition_end, frame_start, frame_end, | 245 | 0 | place, columns, arena, use_null_result, | 246 | 0 | could_use_previous_result); | 247 | 0 | } | 248 | 3 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Line | Count | Source | 220 | 236 | UInt8* could_use_previous_result) const override { | 221 | 236 | int64_t current_frame_start = std::max<int64_t>(frame_start, partition_start); | 222 | 236 | int64_t current_frame_end = std::min<int64_t>(frame_end, partition_end); | 223 | | | 224 | 236 | if (current_frame_start >= current_frame_end) { | 225 | 16 | *use_null_result = true; | 226 | 16 | return; | 227 | 16 | } | 228 | 220 | if (*could_use_previous_result) { | 229 | 202 | const auto& column = | 230 | 202 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 231 | 202 | const auto* data = column.get_data().data(); | 232 | 202 | auto outcoming_pos = frame_start - 1; | 233 | 202 | auto incoming_pos = frame_end - 1; | 234 | 202 | if (!previous_is_nul && outcoming_pos >= partition_start && | 235 | 202 | outcoming_pos < partition_end) { | 236 | 170 | this->data(place).add( | 237 | 170 | typename PrimitiveTypeTraits<TResult>::CppType(-data[outcoming_pos])); | 238 | 170 | } | 239 | 202 | if (!end_is_nul && incoming_pos >= partition_start && incoming_pos < partition_end) { | 240 | 178 | this->data(place).add( | 241 | 178 | typename PrimitiveTypeTraits<TResult>::CppType(data[incoming_pos])); | 242 | 178 | } | 243 | 202 | } else { | 244 | 18 | this->add_range_single_place(partition_start, partition_end, frame_start, frame_end, | 245 | 18 | place, columns, arena, use_null_result, | 246 | 18 | could_use_previous_result); | 247 | 18 | } | 248 | 220 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Line | Count | Source | 220 | 192 | UInt8* could_use_previous_result) const override { | 221 | 192 | int64_t current_frame_start = std::max<int64_t>(frame_start, partition_start); | 222 | 192 | int64_t current_frame_end = std::min<int64_t>(frame_end, partition_end); | 223 | | | 224 | 192 | if (current_frame_start >= current_frame_end) { | 225 | 0 | *use_null_result = true; | 226 | 0 | return; | 227 | 0 | } | 228 | 192 | if (*could_use_previous_result) { | 229 | 172 | const auto& column = | 230 | 172 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 231 | 172 | const auto* data = column.get_data().data(); | 232 | 172 | auto outcoming_pos = frame_start - 1; | 233 | 172 | auto incoming_pos = frame_end - 1; | 234 | 172 | if (!previous_is_nul && outcoming_pos >= partition_start && | 235 | 172 | outcoming_pos < partition_end) { | 236 | 100 | this->data(place).add( | 237 | 100 | typename PrimitiveTypeTraits<TResult>::CppType(-data[outcoming_pos])); | 238 | 100 | } | 239 | 172 | if (!end_is_nul && incoming_pos >= partition_start && incoming_pos < partition_end) { | 240 | 101 | this->data(place).add( | 241 | 101 | typename PrimitiveTypeTraits<TResult>::CppType(data[incoming_pos])); | 242 | 101 | } | 243 | 172 | } else { | 244 | 20 | this->add_range_single_place(partition_start, partition_end, frame_start, frame_end, | 245 | 20 | place, columns, arena, use_null_result, | 246 | 20 | could_use_previous_result); | 247 | 20 | } | 248 | 192 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ |
249 | | |
250 | | void add_range_single_place(int64_t partition_start, int64_t partition_end, int64_t frame_start, |
251 | | int64_t frame_end, AggregateDataPtr place, const IColumn** columns, |
252 | | Arena& arena, UInt8* use_null_result, |
253 | 2.51k | UInt8* could_use_previous_result) const override { |
254 | 2.51k | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); |
255 | 2.51k | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); |
256 | | |
257 | 2.51k | if (current_frame_start >= current_frame_end) { |
258 | 68 | if (!*could_use_previous_result) { |
259 | 14 | *use_null_result = true; |
260 | 14 | } |
261 | 2.45k | } else { |
262 | 2.45k | const auto& column = |
263 | 2.45k | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); |
264 | 6.22k | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { |
265 | 3.77k | this->data(place).add( |
266 | 3.77k | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); |
267 | 3.77k | } |
268 | 2.45k | *use_null_result = false; |
269 | 2.45k | *could_use_previous_result = true; |
270 | 2.45k | } |
271 | 2.51k | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 253 | 519 | UInt8* could_use_previous_result) const override { | 254 | 519 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 255 | 519 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 256 | | | 257 | 519 | if (current_frame_start >= current_frame_end) { | 258 | 27 | if (!*could_use_previous_result) { | 259 | 6 | *use_null_result = true; | 260 | 6 | } | 261 | 492 | } else { | 262 | 492 | const auto& column = | 263 | 492 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 264 | 1.18k | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 265 | 697 | this->data(place).add( | 266 | 697 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 267 | 697 | } | 268 | 492 | *use_null_result = false; | 269 | 492 | *could_use_previous_result = true; | 270 | 492 | } | 271 | 519 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 253 | 678 | UInt8* could_use_previous_result) const override { | 254 | 678 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 255 | 678 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 256 | | | 257 | 678 | if (current_frame_start >= current_frame_end) { | 258 | 0 | if (!*could_use_previous_result) { | 259 | 0 | *use_null_result = true; | 260 | 0 | } | 261 | 678 | } else { | 262 | 678 | const auto& column = | 263 | 678 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 264 | 1.62k | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 265 | 949 | this->data(place).add( | 266 | 949 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 267 | 949 | } | 268 | 678 | *use_null_result = false; | 269 | 678 | *could_use_previous_result = true; | 270 | 678 | } | 271 | 678 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 253 | 10 | UInt8* could_use_previous_result) const override { | 254 | 10 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 255 | 10 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 256 | | | 257 | 10 | if (current_frame_start >= current_frame_end) { | 258 | 0 | if (!*could_use_previous_result) { | 259 | 0 | *use_null_result = true; | 260 | 0 | } | 261 | 10 | } else { | 262 | 10 | const auto& column = | 263 | 10 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 264 | 20 | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 265 | 10 | this->data(place).add( | 266 | 10 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 267 | 10 | } | 268 | 10 | *use_null_result = false; | 269 | 10 | *could_use_previous_result = true; | 270 | 10 | } | 271 | 10 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 253 | 1 | UInt8* could_use_previous_result) const override { | 254 | 1 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 255 | 1 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 256 | | | 257 | 1 | if (current_frame_start >= current_frame_end) { | 258 | 0 | if (!*could_use_previous_result) { | 259 | 0 | *use_null_result = true; | 260 | 0 | } | 261 | 1 | } else { | 262 | 1 | const auto& column = | 263 | 1 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 264 | 2 | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 265 | 1 | this->data(place).add( | 266 | 1 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 267 | 1 | } | 268 | 1 | *use_null_result = false; | 269 | 1 | *could_use_previous_result = true; | 270 | 1 | } | 271 | 1 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 253 | 3 | UInt8* could_use_previous_result) const override { | 254 | 3 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 255 | 3 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 256 | | | 257 | 3 | if (current_frame_start >= current_frame_end) { | 258 | 0 | if (!*could_use_previous_result) { | 259 | 0 | *use_null_result = true; | 260 | 0 | } | 261 | 3 | } else { | 262 | 3 | const auto& column = | 263 | 3 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 264 | 6 | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 265 | 3 | this->data(place).add( | 266 | 3 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 267 | 3 | } | 268 | 3 | *use_null_result = false; | 269 | 3 | *could_use_previous_result = true; | 270 | 3 | } | 271 | 3 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 253 | 23 | UInt8* could_use_previous_result) const override { | 254 | 23 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 255 | 23 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 256 | | | 257 | 23 | if (current_frame_start >= current_frame_end) { | 258 | 0 | if (!*could_use_previous_result) { | 259 | 0 | *use_null_result = true; | 260 | 0 | } | 261 | 23 | } else { | 262 | 23 | const auto& column = | 263 | 23 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 264 | 53 | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 265 | 30 | this->data(place).add( | 266 | 30 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 267 | 30 | } | 268 | 23 | *use_null_result = false; | 269 | 23 | *could_use_previous_result = true; | 270 | 23 | } | 271 | 23 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 253 | 1 | UInt8* could_use_previous_result) const override { | 254 | 1 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 255 | 1 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 256 | | | 257 | 1 | if (current_frame_start >= current_frame_end) { | 258 | 0 | if (!*could_use_previous_result) { | 259 | 0 | *use_null_result = true; | 260 | 0 | } | 261 | 1 | } else { | 262 | 1 | const auto& column = | 263 | 1 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 264 | 2 | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 265 | 1 | this->data(place).add( | 266 | 1 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 267 | 1 | } | 268 | 1 | *use_null_result = false; | 269 | 1 | *could_use_previous_result = true; | 270 | 1 | } | 271 | 1 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 253 | 349 | UInt8* could_use_previous_result) const override { | 254 | 349 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 255 | 349 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 256 | | | 257 | 349 | if (current_frame_start >= current_frame_end) { | 258 | 36 | if (!*could_use_previous_result) { | 259 | 8 | *use_null_result = true; | 260 | 8 | } | 261 | 313 | } else { | 262 | 313 | const auto& column = | 263 | 313 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 264 | 760 | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 265 | 447 | this->data(place).add( | 266 | 447 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 267 | 447 | } | 268 | 313 | *use_null_result = false; | 269 | 313 | *could_use_previous_result = true; | 270 | 313 | } | 271 | 349 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 253 | 5 | UInt8* could_use_previous_result) const override { | 254 | 5 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 255 | 5 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 256 | | | 257 | 5 | if (current_frame_start >= current_frame_end) { | 258 | 0 | if (!*could_use_previous_result) { | 259 | 0 | *use_null_result = true; | 260 | 0 | } | 261 | 5 | } else { | 262 | 5 | const auto& column = | 263 | 5 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 264 | 10 | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 265 | 5 | this->data(place).add( | 266 | 5 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 267 | 5 | } | 268 | 5 | *use_null_result = false; | 269 | 5 | *could_use_previous_result = true; | 270 | 5 | } | 271 | 5 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 253 | 925 | UInt8* could_use_previous_result) const override { | 254 | 925 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 255 | 925 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 256 | | | 257 | 925 | if (current_frame_start >= current_frame_end) { | 258 | 5 | if (!*could_use_previous_result) { | 259 | 0 | *use_null_result = true; | 260 | 0 | } | 261 | 920 | } else { | 262 | 920 | const auto& column = | 263 | 920 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 264 | 2.54k | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 265 | 1.62k | this->data(place).add( | 266 | 1.62k | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 267 | 1.62k | } | 268 | 920 | *use_null_result = false; | 269 | 920 | *could_use_previous_result = true; | 270 | 920 | } | 271 | 925 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 253 | 4 | UInt8* could_use_previous_result) const override { | 254 | 4 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 255 | 4 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 256 | | | 257 | 4 | if (current_frame_start >= current_frame_end) { | 258 | 0 | if (!*could_use_previous_result) { | 259 | 0 | *use_null_result = true; | 260 | 0 | } | 261 | 4 | } else { | 262 | 4 | const auto& column = | 263 | 4 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 264 | 11 | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 265 | 7 | this->data(place).add( | 266 | 7 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 267 | 7 | } | 268 | 4 | *use_null_result = false; | 269 | 4 | *could_use_previous_result = true; | 270 | 4 | } | 271 | 4 | } |
|
272 | | |
273 | | private: |
274 | | UInt32 scale; |
275 | | }; |
276 | | |
277 | | constexpr PrimitiveType result_type(PrimitiveType T) { |
278 | | if (T == TYPE_LARGEINT) { |
279 | | return TYPE_LARGEINT; |
280 | | } else if (is_int_or_bool(T)) { |
281 | | return TYPE_BIGINT; |
282 | | } else if (is_float_or_double(T) || is_time_type(T)) { |
283 | | return TYPE_DOUBLE; |
284 | | } else { |
285 | | return T; |
286 | | } |
287 | | } |
288 | | |
289 | | // TODO: use result type from FE plan |
290 | | template <PrimitiveType T> |
291 | | struct SumSimple { |
292 | | static_assert(!is_decimalv3(T)); |
293 | | /// @note It uses slow Decimal128 (cause we need such a variant). sumWithOverflow is faster for Decimal32/64 |
294 | | static constexpr PrimitiveType ResultType = result_type(T); |
295 | | using AggregateDataType = AggregateFunctionSumData<ResultType>; |
296 | | using Function = AggregateFunctionSum<T, ResultType, AggregateDataType>; |
297 | | }; |
298 | | |
299 | | template <PrimitiveType T> |
300 | | using AggregateFunctionSumSimple = typename SumSimple<T>::Function; |
301 | | |
302 | | // use result type got from FE plan |
303 | | template <PrimitiveType InputType, PrimitiveType ResultType> |
304 | | struct SumDecimalV3 { |
305 | | static_assert(is_decimalv3(InputType) && is_decimalv3(ResultType)); |
306 | | using AggregateDataType = AggregateFunctionSumData<ResultType>; |
307 | | using Function = AggregateFunctionSum<InputType, ResultType, AggregateDataType>; |
308 | | }; |
309 | | template <PrimitiveType InputType, PrimitiveType ResultType> |
310 | | using AggregateFunctionSumDecimalV3 = typename SumDecimalV3<InputType, ResultType>::Function; |
311 | | |
312 | | template <PrimitiveType T> |
313 | | struct SumSimpleForAggReader { |
314 | | using AggregateDataType = AggregateFunctionSumData<T>; |
315 | | using Function = AggregateFunctionSum<T, T, AggregateDataType>; |
316 | | }; |
317 | | // do not level up return type for agg reader |
318 | | template <PrimitiveType T> |
319 | | using AggregateFunctionSumSimpleReader = typename SumSimpleForAggReader<T>::Function; |
320 | | |
321 | | } // namespace doris |