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 <vector> |
27 | | |
28 | | #include "common/compiler_util.h" |
29 | | #include "core/assert_cast.h" |
30 | | #include "core/column/column.h" |
31 | | #include "core/data_type/data_type.h" |
32 | | #include "core/data_type/data_type_decimal.h" |
33 | | #include "core/data_type/data_type_fixed_length_object.h" |
34 | | #include "core/data_type/primitive_type.h" |
35 | | #include "core/field.h" |
36 | | #include "core/types.h" |
37 | | #include "exprs/aggregate/aggregate_function.h" |
38 | | |
39 | | namespace doris { |
40 | | class Arena; |
41 | | class BufferReadable; |
42 | | class BufferWritable; |
43 | | template <PrimitiveType T> |
44 | | class ColumnDecimal; |
45 | | template <PrimitiveType T> |
46 | | class DataTypeNumber; |
47 | | template <PrimitiveType T> |
48 | | class ColumnVector; |
49 | | |
50 | | template <PrimitiveType T> |
51 | | struct AggregateFunctionSumData { |
52 | | typename PrimitiveTypeTraits<T>::CppType sum {}; |
53 | | |
54 | 174M | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { |
55 | 174M | ALLOW_FP_REASSOCIATION |
56 | 174M | sum += value; |
57 | 174M | } _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE28EE3addENS_7DecimalIiEE Line | Count | Source | 54 | 10 | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 55 | 10 | ALLOW_FP_REASSOCIATION | 56 | 10 | sum += value; | 57 | 10 | } |
Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE29EE3addENS_7DecimalIlEE _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE30EE3addENS_12Decimal128V3E Line | Count | Source | 54 | 152M | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 55 | 152M | ALLOW_FP_REASSOCIATION | 56 | 152M | sum += value; | 57 | 152M | } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE35EE3addENS_7DecimalIN4wide7integerILm256EiEEEE Line | Count | Source | 54 | 824 | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 55 | 824 | ALLOW_FP_REASSOCIATION | 56 | 824 | sum += value; | 57 | 824 | } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE6EE3addEl Line | Count | Source | 54 | 18.8M | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 55 | 18.8M | ALLOW_FP_REASSOCIATION | 56 | 18.8M | sum += value; | 57 | 18.8M | } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE7EE3addEn Line | Count | Source | 54 | 10.8k | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 55 | 10.8k | ALLOW_FP_REASSOCIATION | 56 | 10.8k | sum += value; | 57 | 10.8k | } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE9EE3addEd Line | Count | Source | 54 | 2.55M | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 55 | 2.55M | ALLOW_FP_REASSOCIATION | 56 | 2.55M | sum += value; | 57 | 2.55M | } |
Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE20EE3addENS_14DecimalV2ValueE _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE3EE3addEa Line | Count | Source | 54 | 40 | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 55 | 40 | ALLOW_FP_REASSOCIATION | 56 | 40 | sum += value; | 57 | 40 | } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE4EE3addEs Line | Count | Source | 54 | 140 | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 55 | 140 | ALLOW_FP_REASSOCIATION | 56 | 140 | sum += value; | 57 | 140 | } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE5EE3addEi Line | Count | Source | 54 | 819k | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 55 | 819k | ALLOW_FP_REASSOCIATION | 56 | 819k | sum += value; | 57 | 819k | } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE8EE3addEf Line | Count | Source | 54 | 10.2k | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 55 | 10.2k | ALLOW_FP_REASSOCIATION | 56 | 10.2k | sum += value; | 57 | 10.2k | } |
|
58 | | |
59 | 177k | void merge(const AggregateFunctionSumData& rhs) { sum += rhs.sum; }Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE28EE5mergeERKS2_ Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE29EE5mergeERKS2_ _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE30EE5mergeERKS2_ Line | Count | Source | 59 | 147k | void merge(const AggregateFunctionSumData& rhs) { sum += rhs.sum; } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE35EE5mergeERKS2_ Line | Count | Source | 59 | 56 | void merge(const AggregateFunctionSumData& rhs) { sum += rhs.sum; } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE6EE5mergeERKS2_ Line | Count | Source | 59 | 24.4k | void merge(const AggregateFunctionSumData& rhs) { sum += rhs.sum; } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE7EE5mergeERKS2_ Line | Count | Source | 59 | 92 | void merge(const AggregateFunctionSumData& rhs) { sum += rhs.sum; } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE9EE5mergeERKS2_ Line | Count | Source | 59 | 5.43k | void merge(const AggregateFunctionSumData& rhs) { sum += rhs.sum; } |
Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE20EE5mergeERKS2_ Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE3EE5mergeERKS2_ Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE4EE5mergeERKS2_ Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE5EE5mergeERKS2_ Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE8EE5mergeERKS2_ |
60 | | |
61 | 648 | 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 | 61 | 28 | void write(BufferWritable& buf) const { buf.write_binary(sum); } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE35EE5writeERNS_14BufferWritableE Line | Count | Source | 61 | 28 | void write(BufferWritable& buf) const { buf.write_binary(sum); } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE6EE5writeERNS_14BufferWritableE Line | Count | Source | 61 | 591 | void write(BufferWritable& buf) const { buf.write_binary(sum); } |
Unexecuted instantiation: _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE7EE5writeERNS_14BufferWritableE _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE9EE5writeERNS_14BufferWritableE Line | Count | Source | 61 | 1 | void write(BufferWritable& buf) const { buf.write_binary(sum); } |
Unexecuted instantiation: _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE20EE5writeERNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE3EE5writeERNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE4EE5writeERNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE5EE5writeERNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE8EE5writeERNS_14BufferWritableE |
62 | | |
63 | 605 | void read(BufferReadable& buf) { buf.read_binary(sum); }Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE28EE4readERNS_14BufferReadableE Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE29EE4readERNS_14BufferReadableE _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE30EE4readERNS_14BufferReadableE Line | Count | Source | 63 | 23 | void read(BufferReadable& buf) { buf.read_binary(sum); } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE35EE4readERNS_14BufferReadableE Line | Count | Source | 63 | 28 | void read(BufferReadable& buf) { buf.read_binary(sum); } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE6EE4readERNS_14BufferReadableE Line | Count | Source | 63 | 554 | void read(BufferReadable& buf) { buf.read_binary(sum); } |
Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE7EE4readERNS_14BufferReadableE Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE9EE4readERNS_14BufferReadableE Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE20EE4readERNS_14BufferReadableE Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE3EE4readERNS_14BufferReadableE Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE4EE4readERNS_14BufferReadableE Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE5EE4readERNS_14BufferReadableE Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE8EE4readERNS_14BufferReadableE |
64 | | |
65 | 2.20M | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; }_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE28EE3getEv Line | Count | Source | 65 | 4 | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
Unexecuted instantiation: _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE29EE3getEv _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE30EE3getEv Line | Count | Source | 65 | 780k | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE35EE3getEv Line | Count | Source | 65 | 236 | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE6EE3getEv Line | Count | Source | 65 | 986k | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE7EE3getEv Line | Count | Source | 65 | 5.45k | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE9EE3getEv Line | Count | Source | 65 | 12.8k | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
Unexecuted instantiation: _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE20EE3getEv _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE3EE3getEv Line | Count | Source | 65 | 14 | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE4EE3getEv Line | Count | Source | 65 | 47 | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE5EE3getEv Line | Count | Source | 65 | 409k | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE8EE3getEv Line | Count | Source | 65 | 5.20k | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
|
66 | | }; |
67 | | |
68 | | template <PrimitiveType T, PrimitiveType TResult, typename Data> |
69 | | class AggregateFunctionSum; |
70 | | |
71 | | template <PrimitiveType T, PrimitiveType TResult> |
72 | | constexpr static bool is_valid_sum_types = |
73 | | (is_same_or_wider_decimalv3(T, TResult) || (is_decimalv2(T) && is_decimalv2(TResult)) || |
74 | | (is_float_or_double(T) && is_float_or_double(TResult)) || |
75 | | (is_int_or_bool(T) && is_int(TResult))); |
76 | | /// Counts the sum of the numbers. |
77 | | template <PrimitiveType T, PrimitiveType TResult, typename Data> |
78 | | requires(is_valid_sum_types<T, TResult>) |
79 | | class AggregateFunctionSum<T, TResult, Data> final |
80 | | : public IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>, |
81 | | UnaryExpression, |
82 | | NullableAggregateFunction { |
83 | | public: |
84 | | using ResultDataType = typename PrimitiveTypeTraits<TResult>::DataType; |
85 | | using ColVecType = typename PrimitiveTypeTraits<T>::ColumnType; |
86 | | using ColVecResult = typename PrimitiveTypeTraits<TResult>::ColumnType; |
87 | | |
88 | 1.49k | String get_name() const override { return "sum"; }Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE8get_nameB5cxx11Ev _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE8get_nameB5cxx11Ev Line | Count | Source | 88 | 12 | String get_name() const override { return "sum"; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE8get_nameB5cxx11Ev _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE8get_nameB5cxx11Ev Line | Count | Source | 88 | 8 | String get_name() const override { return "sum"; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE8get_nameB5cxx11Ev _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE8get_nameB5cxx11Ev Line | Count | Source | 88 | 48 | String get_name() const override { return "sum"; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE8get_nameB5cxx11Ev Line | Count | Source | 88 | 1 | String get_name() const override { return "sum"; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE8get_nameB5cxx11Ev Line | Count | Source | 88 | 3 | String get_name() const override { return "sum"; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE8get_nameB5cxx11Ev Line | Count | Source | 88 | 53 | String get_name() const override { return "sum"; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE8get_nameB5cxx11Ev Line | Count | Source | 88 | 5 | String get_name() const override { return "sum"; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE8get_nameB5cxx11Ev Line | Count | Source | 88 | 776 | String get_name() const override { return "sum"; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE8get_nameB5cxx11Ev Line | Count | Source | 88 | 434 | String get_name() const override { return "sum"; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE8get_nameB5cxx11Ev _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE8get_nameB5cxx11Ev Line | Count | Source | 88 | 157 | String get_name() const override { return "sum"; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE8get_nameB5cxx11Ev |
89 | | |
90 | | AggregateFunctionSum(const DataTypes& argument_types_) |
91 | 29.3k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( |
92 | 29.3k | argument_types_), |
93 | 29.3k | scale(get_decimal_scale(*argument_types_[0])) {}_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 91 | 894 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 92 | 894 | argument_types_), | 93 | 894 | 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 | 91 | 122 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 92 | 122 | argument_types_), | 93 | 122 | scale(get_decimal_scale(*argument_types_[0])) {} |
Unexecuted instantiation: _ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE _ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 91 | 30 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 92 | 30 | argument_types_), | 93 | 30 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 91 | 1.22k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 92 | 1.22k | argument_types_), | 93 | 1.22k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 91 | 18 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 92 | 18 | argument_types_), | 93 | 18 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 91 | 2.26k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 92 | 2.26k | argument_types_), | 93 | 2.26k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 91 | 9 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 92 | 9 | argument_types_), | 93 | 9 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 91 | 158 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 92 | 158 | argument_types_), | 93 | 158 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 91 | 2.72k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 92 | 2.72k | argument_types_), | 93 | 2.72k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 91 | 77 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 92 | 77 | argument_types_), | 93 | 77 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 91 | 6.05k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 92 | 6.05k | argument_types_), | 93 | 6.05k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 91 | 7.46k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 92 | 7.46k | argument_types_), | 93 | 7.46k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 91 | 1.20k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 92 | 1.20k | argument_types_), | 93 | 1.20k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 91 | 63 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 92 | 63 | argument_types_), | 93 | 63 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 91 | 2.40k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 92 | 2.40k | argument_types_), | 93 | 2.40k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 91 | 1 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 92 | 1 | argument_types_), | 93 | 1 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 91 | 921 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 92 | 921 | argument_types_), | 93 | 921 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 91 | 980 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 92 | 980 | argument_types_), | 93 | 980 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 91 | 1.20k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 92 | 1.20k | argument_types_), | 93 | 1.20k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 91 | 1.48k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 92 | 1.48k | argument_types_), | 93 | 1.48k | scale(get_decimal_scale(*argument_types_[0])) {} |
|
94 | | |
95 | 100k | DataTypePtr get_return_type() const override { |
96 | 100k | if constexpr (is_decimal(TResult)) { |
97 | 19.9k | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); |
98 | 80.2k | } else { |
99 | 80.2k | return std::make_shared<ResultDataType>(); |
100 | 80.2k | } |
101 | 100k | } _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE15get_return_typeEv Line | Count | Source | 95 | 1.78k | DataTypePtr get_return_type() const override { | 96 | 1.78k | if constexpr (is_decimal(TResult)) { | 97 | 1.78k | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 98 | | } else { | 99 | | return std::make_shared<ResultDataType>(); | 100 | | } | 101 | 1.78k | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE15get_return_typeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE15get_return_typeEv Line | Count | Source | 95 | 558 | DataTypePtr get_return_type() const override { | 96 | 558 | if constexpr (is_decimal(TResult)) { | 97 | 558 | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 98 | | } else { | 99 | | return std::make_shared<ResultDataType>(); | 100 | | } | 101 | 558 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE15get_return_typeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE15get_return_typeEv Line | Count | Source | 95 | 56 | DataTypePtr get_return_type() const override { | 96 | 56 | if constexpr (is_decimal(TResult)) { | 97 | 56 | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 98 | | } else { | 99 | | return std::make_shared<ResultDataType>(); | 100 | | } | 101 | 56 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE15get_return_typeEv Line | Count | Source | 95 | 10.9k | DataTypePtr get_return_type() const override { | 96 | 10.9k | if constexpr (is_decimal(TResult)) { | 97 | 10.9k | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 98 | | } else { | 99 | | return std::make_shared<ResultDataType>(); | 100 | | } | 101 | 10.9k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE15get_return_typeEv Line | Count | Source | 95 | 75 | DataTypePtr get_return_type() const override { | 96 | 75 | if constexpr (is_decimal(TResult)) { | 97 | 75 | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 98 | | } else { | 99 | | return std::make_shared<ResultDataType>(); | 100 | | } | 101 | 75 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE15get_return_typeEv Line | Count | Source | 95 | 5.84k | DataTypePtr get_return_type() const override { | 96 | 5.84k | if constexpr (is_decimal(TResult)) { | 97 | 5.84k | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 98 | | } else { | 99 | | return std::make_shared<ResultDataType>(); | 100 | | } | 101 | 5.84k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE15get_return_typeEv Line | Count | Source | 95 | 115 | DataTypePtr get_return_type() const override { | 96 | 115 | if constexpr (is_decimal(TResult)) { | 97 | 115 | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 98 | | } else { | 99 | | return std::make_shared<ResultDataType>(); | 100 | | } | 101 | 115 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE15get_return_typeEv Line | Count | Source | 95 | 548 | DataTypePtr get_return_type() const override { | 96 | 548 | if constexpr (is_decimal(TResult)) { | 97 | 548 | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 98 | | } else { | 99 | | return std::make_shared<ResultDataType>(); | 100 | | } | 101 | 548 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE15get_return_typeEv Line | Count | Source | 95 | 11.2k | DataTypePtr get_return_type() const override { | 96 | | if constexpr (is_decimal(TResult)) { | 97 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 98 | 11.2k | } else { | 99 | 11.2k | return std::make_shared<ResultDataType>(); | 100 | 11.2k | } | 101 | 11.2k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE15get_return_typeEv Line | Count | Source | 95 | 310 | DataTypePtr get_return_type() const override { | 96 | | if constexpr (is_decimal(TResult)) { | 97 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 98 | 310 | } else { | 99 | 310 | return std::make_shared<ResultDataType>(); | 100 | 310 | } | 101 | 310 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE15get_return_typeEv Line | Count | Source | 95 | 26.2k | DataTypePtr get_return_type() const override { | 96 | | if constexpr (is_decimal(TResult)) { | 97 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 98 | 26.2k | } else { | 99 | 26.2k | return std::make_shared<ResultDataType>(); | 100 | 26.2k | } | 101 | 26.2k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE15get_return_typeEv Line | Count | Source | 95 | 26.5k | DataTypePtr get_return_type() const override { | 96 | | if constexpr (is_decimal(TResult)) { | 97 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 98 | 26.5k | } else { | 99 | 26.5k | return std::make_shared<ResultDataType>(); | 100 | 26.5k | } | 101 | 26.5k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE15get_return_typeEv Line | Count | Source | 95 | 2.28k | DataTypePtr get_return_type() const override { | 96 | | if constexpr (is_decimal(TResult)) { | 97 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 98 | 2.28k | } else { | 99 | 2.28k | return std::make_shared<ResultDataType>(); | 100 | 2.28k | } | 101 | 2.28k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE15get_return_typeEv Line | Count | Source | 95 | 141 | DataTypePtr get_return_type() const override { | 96 | | if constexpr (is_decimal(TResult)) { | 97 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 98 | 141 | } else { | 99 | 141 | return std::make_shared<ResultDataType>(); | 100 | 141 | } | 101 | 141 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE15get_return_typeEv Line | Count | Source | 95 | 6.60k | DataTypePtr get_return_type() const override { | 96 | | if constexpr (is_decimal(TResult)) { | 97 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 98 | 6.60k | } else { | 99 | 6.60k | return std::make_shared<ResultDataType>(); | 100 | 6.60k | } | 101 | 6.60k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE15get_return_typeEv Line | Count | Source | 95 | 1 | DataTypePtr get_return_type() const override { | 96 | 1 | if constexpr (is_decimal(TResult)) { | 97 | 1 | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 98 | | } else { | 99 | | return std::make_shared<ResultDataType>(); | 100 | | } | 101 | 1 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE15get_return_typeEv Line | Count | Source | 95 | 1.39k | DataTypePtr get_return_type() const override { | 96 | | if constexpr (is_decimal(TResult)) { | 97 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 98 | 1.39k | } else { | 99 | 1.39k | return std::make_shared<ResultDataType>(); | 100 | 1.39k | } | 101 | 1.39k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE15get_return_typeEv Line | Count | Source | 95 | 1.51k | DataTypePtr get_return_type() const override { | 96 | | if constexpr (is_decimal(TResult)) { | 97 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 98 | 1.51k | } else { | 99 | 1.51k | return std::make_shared<ResultDataType>(); | 100 | 1.51k | } | 101 | 1.51k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE15get_return_typeEv Line | Count | Source | 95 | 1.81k | DataTypePtr get_return_type() const override { | 96 | | if constexpr (is_decimal(TResult)) { | 97 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 98 | 1.81k | } else { | 99 | 1.81k | return std::make_shared<ResultDataType>(); | 100 | 1.81k | } | 101 | 1.81k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE15get_return_typeEv Line | Count | Source | 95 | 2.07k | DataTypePtr get_return_type() const override { | 96 | | if constexpr (is_decimal(TResult)) { | 97 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 98 | 2.07k | } else { | 99 | 2.07k | return std::make_shared<ResultDataType>(); | 100 | 2.07k | } | 101 | 2.07k | } |
|
102 | | |
103 | 0 | bool is_trivial() const override { return true; }Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE10is_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_29ENS_24AggregateFunctionSumDataILS1_29EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_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_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE10is_trivialEv 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_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE10is_trivialEv |
104 | | |
105 | | void add(AggregateDataPtr __restrict place, const IColumn** columns, ssize_t row_num, |
106 | 177M | Arena&) const override { |
107 | 177M | const auto& column = |
108 | 177M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); |
109 | 177M | this->data(place).add( |
110 | 177M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); |
111 | 177M | } _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 106 | 10 | Arena&) const override { | 107 | 10 | const auto& column = | 108 | 10 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 109 | 10 | this->data(place).add( | 110 | 10 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 111 | 10 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 106 | 2.19M | Arena&) const override { | 107 | 2.19M | const auto& column = | 108 | 2.19M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 109 | 2.19M | this->data(place).add( | 110 | 2.19M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 111 | 2.19M | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 106 | 76.6M | Arena&) const override { | 107 | 76.6M | const auto& column = | 108 | 76.6M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 109 | 76.6M | this->data(place).add( | 110 | 76.6M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 111 | 76.6M | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 106 | 51 | Arena&) const override { | 107 | 51 | const auto& column = | 108 | 51 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 109 | 51 | this->data(place).add( | 110 | 51 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 111 | 51 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 106 | 76.5M | Arena&) const override { | 107 | 76.5M | const auto& column = | 108 | 76.5M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 109 | 76.5M | this->data(place).add( | 110 | 76.5M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 111 | 76.5M | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 106 | 8 | Arena&) const override { | 107 | 8 | const auto& column = | 108 | 8 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 109 | 8 | this->data(place).add( | 110 | 8 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 111 | 8 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 106 | 763 | Arena&) const override { | 107 | 763 | const auto& column = | 108 | 763 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 109 | 763 | this->data(place).add( | 110 | 763 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 111 | 763 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 106 | 10.5M | Arena&) const override { | 107 | 10.5M | const auto& column = | 108 | 10.5M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 109 | 10.5M | this->data(place).add( | 110 | 10.5M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 111 | 10.5M | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 106 | 582 | Arena&) const override { | 107 | 582 | const auto& column = | 108 | 582 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 109 | 582 | this->data(place).add( | 110 | 582 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 111 | 582 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 106 | 6.76M | Arena&) const override { | 107 | 6.76M | const auto& column = | 108 | 6.76M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 109 | 6.76M | this->data(place).add( | 110 | 6.76M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 111 | 6.76M | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 106 | 1.52M | Arena&) const override { | 107 | 1.52M | const auto& column = | 108 | 1.52M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 109 | 1.52M | this->data(place).add( | 110 | 1.52M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 111 | 1.52M | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 106 | 10.8k | Arena&) const override { | 107 | 10.8k | const auto& column = | 108 | 10.8k | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 109 | 10.8k | this->data(place).add( | 110 | 10.8k | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 111 | 10.8k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 106 | 341 | Arena&) const override { | 107 | 341 | const auto& column = | 108 | 341 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 109 | 341 | this->data(place).add( | 110 | 341 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 111 | 341 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 106 | 2.55M | Arena&) const override { | 107 | 2.55M | const auto& column = | 108 | 2.55M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 109 | 2.55M | this->data(place).add( | 110 | 2.55M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 111 | 2.55M | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 106 | 40 | Arena&) const override { | 107 | 40 | const auto& column = | 108 | 40 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 109 | 40 | this->data(place).add( | 110 | 40 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 111 | 40 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 106 | 140 | Arena&) const override { | 107 | 140 | const auto& column = | 108 | 140 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 109 | 140 | this->data(place).add( | 110 | 140 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 111 | 140 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 106 | 819k | Arena&) const override { | 107 | 819k | const auto& column = | 108 | 819k | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 109 | 819k | this->data(place).add( | 110 | 819k | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 111 | 819k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 106 | 10.2k | Arena&) const override { | 107 | 10.2k | const auto& column = | 108 | 10.2k | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 109 | 10.2k | this->data(place).add( | 110 | 10.2k | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 111 | 10.2k | } |
|
112 | | |
113 | 1.37M | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; }Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE5resetEPc Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE5resetEPc _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE5resetEPc Line | Count | Source | 113 | 9 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE5resetEPc Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE5resetEPc _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE5resetEPc Line | Count | Source | 113 | 7 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE5resetEPc _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE5resetEPc Line | Count | Source | 113 | 130 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE5resetEPc Line | Count | Source | 113 | 1 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE5resetEPc Line | Count | Source | 113 | 163 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5resetEPc Line | Count | Source | 113 | 174 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5resetEPc Line | Count | Source | 113 | 76 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5resetEPc Line | Count | Source | 113 | 1.02k | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5resetEPc Line | Count | Source | 113 | 942k | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE5resetEPc Line | Count | Source | 113 | 5.32k | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE5resetEPc Line | Count | Source | 113 | 66 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE5resetEPc Line | Count | Source | 113 | 6.43k | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE5resetEPc Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE5resetEPc _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE5resetEPc Line | Count | Source | 113 | 22 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE5resetEPc Line | Count | Source | 113 | 409k | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE5resetEPc Line | Count | Source | 113 | 5.20k | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
|
114 | | |
115 | | void merge(AggregateDataPtr __restrict place, ConstAggregateDataPtr rhs, |
116 | 179k | Arena&) const override { |
117 | 179k | this->data(place).merge(this->data(rhs)); |
118 | 179k | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE5mergeEPcPKcRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE5mergeEPcPKcRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 116 | 44 | Arena&) const override { | 117 | 44 | this->data(place).merge(this->data(rhs)); | 118 | 44 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE5mergeEPcPKcRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE5mergeEPcPKcRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 116 | 127k | Arena&) const override { | 117 | 127k | this->data(place).merge(this->data(rhs)); | 118 | 127k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 116 | 18 | Arena&) const override { | 117 | 18 | this->data(place).merge(this->data(rhs)); | 118 | 18 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 116 | 21.5k | Arena&) const override { | 117 | 21.5k | this->data(place).merge(this->data(rhs)); | 118 | 21.5k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 116 | 2 | Arena&) const override { | 117 | 2 | this->data(place).merge(this->data(rhs)); | 118 | 2 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 116 | 36 | Arena&) const override { | 117 | 36 | this->data(place).merge(this->data(rhs)); | 118 | 36 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 116 | 128 | Arena&) const override { | 117 | 128 | this->data(place).merge(this->data(rhs)); | 118 | 128 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 116 | 27 | Arena&) const override { | 117 | 27 | this->data(place).merge(this->data(rhs)); | 118 | 27 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 116 | 12.7k | Arena&) const override { | 117 | 12.7k | this->data(place).merge(this->data(rhs)); | 118 | 12.7k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 116 | 11.5k | Arena&) const override { | 117 | 11.5k | this->data(place).merge(this->data(rhs)); | 118 | 11.5k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 116 | 92 | Arena&) const override { | 117 | 92 | this->data(place).merge(this->data(rhs)); | 118 | 92 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 116 | 2 | Arena&) const override { | 117 | 2 | this->data(place).merge(this->data(rhs)); | 118 | 2 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 116 | 5.43k | Arena&) const override { | 117 | 5.43k | this->data(place).merge(this->data(rhs)); | 118 | 5.43k | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE5mergeEPcPKcRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE5mergeEPcPKcRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE5mergeEPcPKcRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE5mergeEPcPKcRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE5mergeEPcPKcRNS_5ArenaE |
119 | | |
120 | 648 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { |
121 | 648 | this->data(place).write(buf); |
122 | 648 | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE9serializeEPKcRNS_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 Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE9serializeEPKcRNS_14BufferWritableE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 120 | 18 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 121 | 18 | this->data(place).write(buf); | 122 | 18 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 120 | 9 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 121 | 9 | this->data(place).write(buf); | 122 | 9 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 120 | 10 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 121 | 10 | this->data(place).write(buf); | 122 | 10 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE9serializeEPKcRNS_14BufferWritableE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 120 | 19 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 121 | 19 | this->data(place).write(buf); | 122 | 19 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 120 | 4 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 121 | 4 | this->data(place).write(buf); | 122 | 4 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE9serializeEPKcRNS_14BufferWritableE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 120 | 587 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 121 | 587 | this->data(place).write(buf); | 122 | 587 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE9serializeEPKcRNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE9serializeEPKcRNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE9serializeEPKcRNS_14BufferWritableE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 120 | 1 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 121 | 1 | this->data(place).write(buf); | 122 | 1 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE9serializeEPKcRNS_14BufferWritableE 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_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE9serializeEPKcRNS_14BufferWritableE |
123 | | |
124 | | void deserialize(AggregateDataPtr __restrict place, BufferReadable& buf, |
125 | 605 | Arena&) const override { |
126 | 605 | this->data(place).read(buf); |
127 | 605 | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE11deserializeEPcRNS_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 Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 125 | 13 | Arena&) const override { | 126 | 13 | this->data(place).read(buf); | 127 | 13 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 125 | 9 | Arena&) const override { | 126 | 9 | this->data(place).read(buf); | 127 | 9 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 125 | 10 | Arena&) const override { | 126 | 10 | this->data(place).read(buf); | 127 | 10 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 125 | 19 | Arena&) const override { | 126 | 19 | this->data(place).read(buf); | 127 | 19 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 125 | 4 | Arena&) const override { | 126 | 4 | this->data(place).read(buf); | 127 | 4 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 125 | 550 | Arena&) const override { | 126 | 550 | this->data(place).read(buf); | 127 | 550 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE 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_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE |
128 | | |
129 | 2.20M | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { |
130 | 2.20M | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); |
131 | 2.20M | column.get_data().push_back(this->data(place).get()); |
132 | 2.20M | } _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 129 | 4 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 130 | 4 | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); | 131 | 4 | column.get_data().push_back(this->data(place).get()); | 132 | 4 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE18insert_result_intoEPKcRNS_7IColumnE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 129 | 179 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 130 | 179 | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); | 131 | 179 | column.get_data().push_back(this->data(place).get()); | 132 | 179 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE18insert_result_intoEPKcRNS_7IColumnE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE18insert_result_intoEPKcRNS_7IColumnE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 129 | 725k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 130 | 725k | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); | 131 | 725k | column.get_data().push_back(this->data(place).get()); | 132 | 725k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 129 | 21 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 130 | 21 | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); | 131 | 21 | column.get_data().push_back(this->data(place).get()); | 132 | 21 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 129 | 55.2k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 130 | 55.2k | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); | 131 | 55.2k | column.get_data().push_back(this->data(place).get()); | 132 | 55.2k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 129 | 8 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 130 | 8 | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); | 131 | 8 | column.get_data().push_back(this->data(place).get()); | 132 | 8 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 129 | 207 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 130 | 207 | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); | 131 | 207 | column.get_data().push_back(this->data(place).get()); | 132 | 207 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 129 | 3.23k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 130 | 3.23k | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); | 131 | 3.23k | column.get_data().push_back(this->data(place).get()); | 132 | 3.23k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 129 | 193 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 130 | 193 | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); | 131 | 193 | column.get_data().push_back(this->data(place).get()); | 132 | 193 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 129 | 21.6k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 130 | 21.6k | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); | 131 | 21.6k | column.get_data().push_back(this->data(place).get()); | 132 | 21.6k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 129 | 962k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 130 | 962k | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); | 131 | 962k | column.get_data().push_back(this->data(place).get()); | 132 | 962k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 129 | 5.45k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 130 | 5.45k | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); | 131 | 5.45k | column.get_data().push_back(this->data(place).get()); | 132 | 5.45k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 129 | 74 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 130 | 74 | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); | 131 | 74 | column.get_data().push_back(this->data(place).get()); | 132 | 74 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 129 | 12.7k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 130 | 12.7k | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); | 131 | 12.7k | column.get_data().push_back(this->data(place).get()); | 132 | 12.7k | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE18insert_result_intoEPKcRNS_7IColumnE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 129 | 14 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 130 | 14 | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); | 131 | 14 | column.get_data().push_back(this->data(place).get()); | 132 | 14 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 129 | 47 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 130 | 47 | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); | 131 | 47 | column.get_data().push_back(this->data(place).get()); | 132 | 47 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 129 | 409k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 130 | 409k | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); | 131 | 409k | column.get_data().push_back(this->data(place).get()); | 132 | 409k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 129 | 5.20k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 130 | 5.20k | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); | 131 | 5.20k | column.get_data().push_back(this->data(place).get()); | 132 | 5.20k | } |
|
133 | | |
134 | | void serialize_to_column(const std::vector<AggregateDataPtr>& places, size_t offset, |
135 | 9.11k | MutableColumnPtr& dst, const size_t num_rows) const override { |
136 | 9.11k | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); |
137 | 9.11k | DCHECK(col.item_size() == sizeof(Data)) |
138 | 15 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); |
139 | 9.11k | col.resize(num_rows); |
140 | 9.11k | auto* data = col.get_data().data(); |
141 | 1.28M | for (size_t i = 0; i != num_rows; ++i) { |
142 | 1.28M | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = |
143 | 1.28M | *reinterpret_cast<Data*>(places[i] + offset); |
144 | 1.28M | } |
145 | 9.11k | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE19serialize_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 | 135 | 28 | MutableColumnPtr& dst, const size_t num_rows) const override { | 136 | 28 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 137 | 28 | DCHECK(col.item_size() == sizeof(Data)) | 138 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 139 | 28 | col.resize(num_rows); | 140 | 28 | auto* data = col.get_data().data(); | 141 | 72 | for (size_t i = 0; i != num_rows; ++i) { | 142 | 44 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 143 | 44 | *reinterpret_cast<Data*>(places[i] + offset); | 144 | 44 | } | 145 | 28 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 135 | 2.15k | MutableColumnPtr& dst, const size_t num_rows) const override { | 136 | 2.15k | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 137 | 2.15k | DCHECK(col.item_size() == sizeof(Data)) | 138 | 10 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 139 | 2.15k | col.resize(num_rows); | 140 | 2.15k | auto* data = col.get_data().data(); | 141 | 159k | for (size_t i = 0; i != num_rows; ++i) { | 142 | 157k | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 143 | 157k | *reinterpret_cast<Data*>(places[i] + offset); | 144 | 157k | } | 145 | 2.15k | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 135 | 1.31k | MutableColumnPtr& dst, const size_t num_rows) const override { | 136 | 1.31k | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 137 | 18.4E | DCHECK(col.item_size() == sizeof(Data)) | 138 | 18.4E | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 139 | 1.31k | col.resize(num_rows); | 140 | 1.31k | auto* data = col.get_data().data(); | 141 | 19.2k | for (size_t i = 0; i != num_rows; ++i) { | 142 | 17.9k | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 143 | 17.9k | *reinterpret_cast<Data*>(places[i] + offset); | 144 | 17.9k | } | 145 | 1.31k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 135 | 7 | MutableColumnPtr& dst, const size_t num_rows) const override { | 136 | 7 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 137 | 7 | DCHECK(col.item_size() == sizeof(Data)) | 138 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 139 | 7 | col.resize(num_rows); | 140 | 7 | auto* data = col.get_data().data(); | 141 | 9 | for (size_t i = 0; i != num_rows; ++i) { | 142 | 2 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 143 | 2 | *reinterpret_cast<Data*>(places[i] + offset); | 144 | 2 | } | 145 | 7 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 135 | 24 | MutableColumnPtr& dst, const size_t num_rows) const override { | 136 | 24 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 137 | 24 | DCHECK(col.item_size() == sizeof(Data)) | 138 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 139 | 24 | col.resize(num_rows); | 140 | 24 | auto* data = col.get_data().data(); | 141 | 32 | for (size_t i = 0; i != num_rows; ++i) { | 142 | 8 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 143 | 8 | *reinterpret_cast<Data*>(places[i] + offset); | 144 | 8 | } | 145 | 24 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 135 | 171 | MutableColumnPtr& dst, const size_t num_rows) const override { | 136 | 171 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 137 | 171 | DCHECK(col.item_size() == sizeof(Data)) | 138 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 139 | 171 | col.resize(num_rows); | 140 | 171 | auto* data = col.get_data().data(); | 141 | 279 | for (size_t i = 0; i != num_rows; ++i) { | 142 | 108 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 143 | 108 | *reinterpret_cast<Data*>(places[i] + offset); | 144 | 108 | } | 145 | 171 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 135 | 17 | MutableColumnPtr& dst, const size_t num_rows) const override { | 136 | 17 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 137 | 17 | DCHECK(col.item_size() == sizeof(Data)) | 138 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 139 | 17 | col.resize(num_rows); | 140 | 17 | auto* data = col.get_data().data(); | 141 | 42 | for (size_t i = 0; i != num_rows; ++i) { | 142 | 25 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 143 | 25 | *reinterpret_cast<Data*>(places[i] + offset); | 144 | 25 | } | 145 | 17 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 135 | 1.47k | MutableColumnPtr& dst, const size_t num_rows) const override { | 136 | 1.47k | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 137 | 1.47k | DCHECK(col.item_size() == sizeof(Data)) | 138 | 3 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 139 | 1.47k | col.resize(num_rows); | 140 | 1.47k | auto* data = col.get_data().data(); | 141 | 1.07M | for (size_t i = 0; i != num_rows; ++i) { | 142 | 1.07M | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 143 | 1.07M | *reinterpret_cast<Data*>(places[i] + offset); | 144 | 1.07M | } | 145 | 1.47k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 135 | 3.61k | MutableColumnPtr& dst, const size_t num_rows) const override { | 136 | 3.61k | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 137 | 3.61k | DCHECK(col.item_size() == sizeof(Data)) | 138 | 2 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 139 | 3.61k | col.resize(num_rows); | 140 | 3.61k | auto* data = col.get_data().data(); | 141 | 32.6k | for (size_t i = 0; i != num_rows; ++i) { | 142 | 29.0k | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 143 | 29.0k | *reinterpret_cast<Data*>(places[i] + offset); | 144 | 29.0k | } | 145 | 3.61k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 135 | 105 | MutableColumnPtr& dst, const size_t num_rows) const override { | 136 | 105 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 137 | 105 | DCHECK(col.item_size() == sizeof(Data)) | 138 | 1 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 139 | 105 | col.resize(num_rows); | 140 | 105 | auto* data = col.get_data().data(); | 141 | 197 | for (size_t i = 0; i != num_rows; ++i) { | 142 | 92 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 143 | 92 | *reinterpret_cast<Data*>(places[i] + offset); | 144 | 92 | } | 145 | 105 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 135 | 2 | MutableColumnPtr& dst, const size_t num_rows) const override { | 136 | 2 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 137 | 2 | DCHECK(col.item_size() == sizeof(Data)) | 138 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 139 | 2 | col.resize(num_rows); | 140 | 2 | auto* data = col.get_data().data(); | 141 | 4 | for (size_t i = 0; i != num_rows; ++i) { | 142 | 2 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 143 | 2 | *reinterpret_cast<Data*>(places[i] + offset); | 144 | 2 | } | 145 | 2 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 135 | 211 | MutableColumnPtr& dst, const size_t num_rows) const override { | 136 | 211 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 137 | 211 | DCHECK(col.item_size() == sizeof(Data)) | 138 | 1 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 139 | 211 | col.resize(num_rows); | 140 | 211 | auto* data = col.get_data().data(); | 141 | 5.62k | for (size_t i = 0; i != num_rows; ++i) { | 142 | 5.40k | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 143 | 5.40k | *reinterpret_cast<Data*>(places[i] + offset); | 144 | 5.40k | } | 145 | 211 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm 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 Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm |
146 | | |
147 | | void streaming_agg_serialize_to_column(const IColumn** columns, MutableColumnPtr& dst, |
148 | 7 | const size_t num_rows, Arena&) const override { |
149 | 7 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); |
150 | 7 | auto& src = assert_cast<const ColVecType&>(*columns[0]); |
151 | 7 | DCHECK(col.item_size() == sizeof(Data)) |
152 | 1 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); |
153 | 7 | col.resize(num_rows); |
154 | 7 | auto* src_data = src.get_data().data(); |
155 | 7 | auto* dst_data = col.get_data().data(); |
156 | 29 | for (size_t i = 0; i != num_rows; ++i) { |
157 | 22 | auto& state = *reinterpret_cast<Data*>(&dst_data[sizeof(Data) * i]); |
158 | 22 | state.sum = typename PrimitiveTypeTraits<TResult>::CppType(src_data[i]); |
159 | 22 | } |
160 | 7 | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE33streaming_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 Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE33streaming_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 | 148 | 3 | const size_t num_rows, Arena&) const override { | 149 | 3 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 150 | 3 | auto& src = assert_cast<const ColVecType&>(*columns[0]); | 151 | 3 | DCHECK(col.item_size() == sizeof(Data)) | 152 | 1 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 153 | 3 | col.resize(num_rows); | 154 | 3 | auto* src_data = src.get_data().data(); | 155 | 3 | auto* dst_data = col.get_data().data(); | 156 | 11 | for (size_t i = 0; i != num_rows; ++i) { | 157 | 8 | auto& state = *reinterpret_cast<Data*>(&dst_data[sizeof(Data) * i]); | 158 | 8 | state.sum = typename PrimitiveTypeTraits<TResult>::CppType(src_data[i]); | 159 | 8 | } | 160 | 3 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE33streaming_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_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE33streaming_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 _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Line | Count | Source | 148 | 2 | const size_t num_rows, Arena&) const override { | 149 | 2 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 150 | 2 | auto& src = assert_cast<const ColVecType&>(*columns[0]); | 151 | 2 | DCHECK(col.item_size() == sizeof(Data)) | 152 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 153 | 2 | col.resize(num_rows); | 154 | 2 | auto* src_data = src.get_data().data(); | 155 | 2 | auto* dst_data = col.get_data().data(); | 156 | 4 | for (size_t i = 0; i != num_rows; ++i) { | 157 | 2 | auto& state = *reinterpret_cast<Data*>(&dst_data[sizeof(Data) * i]); | 158 | 2 | state.sum = typename PrimitiveTypeTraits<TResult>::CppType(src_data[i]); | 159 | 2 | } | 160 | 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 _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Line | Count | Source | 148 | 2 | const size_t num_rows, Arena&) const override { | 149 | 2 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 150 | 2 | auto& src = assert_cast<const ColVecType&>(*columns[0]); | 151 | 2 | DCHECK(col.item_size() == sizeof(Data)) | 152 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 153 | 2 | col.resize(num_rows); | 154 | 2 | auto* src_data = src.get_data().data(); | 155 | 2 | auto* dst_data = col.get_data().data(); | 156 | 14 | for (size_t i = 0; i != num_rows; ++i) { | 157 | 12 | auto& state = *reinterpret_cast<Data*>(&dst_data[sizeof(Data) * i]); | 158 | 12 | state.sum = typename PrimitiveTypeTraits<TResult>::CppType(src_data[i]); | 159 | 12 | } | 160 | 2 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE33streaming_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 Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE33streaming_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_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 Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE |
161 | | |
162 | | void deserialize_and_merge_from_column_range(AggregateDataPtr __restrict place, |
163 | | const IColumn& column, size_t begin, size_t end, |
164 | 2.40k | Arena&) const override { |
165 | 2.40k | DCHECK(end <= column.size() && begin <= end) |
166 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); |
167 | 2.40k | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); |
168 | 2.40k | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); |
169 | 4.81k | for (size_t i = begin; i <= end; ++i) { |
170 | 2.40k | this->data(place).sum += data[i].sum; |
171 | 2.40k | } |
172 | 2.40k | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE39deserialize_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 | 164 | 102 | Arena&) const override { | 165 | 102 | DCHECK(end <= column.size() && begin <= end) | 166 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 167 | 102 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 168 | 102 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 169 | 204 | for (size_t i = begin; i <= end; ++i) { | 170 | 102 | this->data(place).sum += data[i].sum; | 171 | 102 | } | 172 | 102 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 164 | 217 | Arena&) const override { | 165 | 217 | DCHECK(end <= column.size() && begin <= end) | 166 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 167 | 217 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 168 | 217 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 169 | 434 | for (size_t i = begin; i <= end; ++i) { | 170 | 217 | this->data(place).sum += data[i].sum; | 171 | 217 | } | 172 | 217 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 164 | 125 | Arena&) const override { | 165 | 125 | DCHECK(end <= column.size() && begin <= end) | 166 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 167 | 125 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 168 | 125 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 169 | 250 | for (size_t i = begin; i <= end; ++i) { | 170 | 125 | this->data(place).sum += data[i].sum; | 171 | 125 | } | 172 | 125 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 164 | 2 | Arena&) const override { | 165 | 2 | DCHECK(end <= column.size() && begin <= end) | 166 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 167 | 2 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 168 | 2 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 169 | 4 | for (size_t i = begin; i <= end; ++i) { | 170 | 2 | this->data(place).sum += data[i].sum; | 171 | 2 | } | 172 | 2 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 164 | 9 | Arena&) const override { | 165 | 9 | DCHECK(end <= column.size() && begin <= end) | 166 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 167 | 9 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 168 | 9 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 169 | 18 | for (size_t i = begin; i <= end; ++i) { | 170 | 9 | this->data(place).sum += data[i].sum; | 171 | 9 | } | 172 | 9 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 164 | 967 | Arena&) const override { | 165 | 967 | DCHECK(end <= column.size() && begin <= end) | 166 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 167 | 967 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 168 | 967 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 169 | 1.93k | for (size_t i = begin; i <= end; ++i) { | 170 | 969 | this->data(place).sum += data[i].sum; | 171 | 969 | } | 172 | 967 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 164 | 10 | Arena&) const override { | 165 | 10 | DCHECK(end <= column.size() && begin <= end) | 166 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 167 | 10 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 168 | 10 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 169 | 20 | for (size_t i = begin; i <= end; ++i) { | 170 | 10 | this->data(place).sum += data[i].sum; | 171 | 10 | } | 172 | 10 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 164 | 608 | Arena&) const override { | 165 | 608 | DCHECK(end <= column.size() && begin <= end) | 166 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 167 | 608 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 168 | 608 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 169 | 1.21k | for (size_t i = begin; i <= end; ++i) { | 170 | 608 | this->data(place).sum += data[i].sum; | 171 | 608 | } | 172 | 608 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 164 | 202 | Arena&) const override { | 165 | 202 | DCHECK(end <= column.size() && begin <= end) | 166 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 167 | 202 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 168 | 202 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 169 | 404 | for (size_t i = begin; i <= end; ++i) { | 170 | 202 | this->data(place).sum += data[i].sum; | 171 | 202 | } | 172 | 202 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 164 | 8 | Arena&) const override { | 165 | 8 | DCHECK(end <= column.size() && begin <= end) | 166 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 167 | 8 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 168 | 8 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 169 | 16 | for (size_t i = begin; i <= end; ++i) { | 170 | 8 | this->data(place).sum += data[i].sum; | 171 | 8 | } | 172 | 8 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 164 | 21 | Arena&) const override { | 165 | 21 | DCHECK(end <= column.size() && begin <= end) | 166 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 167 | 21 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 168 | 21 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 169 | 42 | for (size_t i = begin; i <= end; ++i) { | 170 | 21 | this->data(place).sum += data[i].sum; | 171 | 21 | } | 172 | 21 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 164 | 136 | Arena&) const override { | 165 | 136 | DCHECK(end <= column.size() && begin <= end) | 166 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 167 | 136 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 168 | 136 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 169 | 272 | for (size_t i = begin; i <= end; ++i) { | 170 | 136 | this->data(place).sum += data[i].sum; | 171 | 136 | } | 172 | 136 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE 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 Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE |
173 | | |
174 | | void deserialize_and_merge_vec(const AggregateDataPtr* places, size_t offset, |
175 | | AggregateDataPtr rhs, const IColumn* column, Arena& arena, |
176 | 6.83k | const size_t num_rows) const override { |
177 | 6.83k | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); |
178 | 6.83k | const auto* data = col.get_data().data(); |
179 | 6.83k | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); |
180 | 6.83k | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE25deserialize_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 | 176 | 24 | const size_t num_rows) const override { | 177 | 24 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 178 | 24 | const auto* data = col.get_data().data(); | 179 | 24 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 180 | 24 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 176 | 1.17k | const size_t num_rows) const override { | 177 | 1.17k | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 178 | 1.17k | const auto* data = col.get_data().data(); | 179 | 1.17k | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 180 | 1.17k | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 176 | 1.00k | const size_t num_rows) const override { | 177 | 1.00k | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 178 | 1.00k | const auto* data = col.get_data().data(); | 179 | 1.00k | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 180 | 1.00k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 176 | 2 | const size_t num_rows) const override { | 177 | 2 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 178 | 2 | const auto* data = col.get_data().data(); | 179 | 2 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 180 | 2 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 176 | 6 | const size_t num_rows) const override { | 177 | 6 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 178 | 6 | const auto* data = col.get_data().data(); | 179 | 6 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 180 | 6 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 176 | 80 | const size_t num_rows) const override { | 177 | 80 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 178 | 80 | const auto* data = col.get_data().data(); | 179 | 80 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 180 | 80 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 176 | 14 | const size_t num_rows) const override { | 177 | 14 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 178 | 14 | const auto* data = col.get_data().data(); | 179 | 14 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 180 | 14 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 176 | 1.20k | const size_t num_rows) const override { | 177 | 1.20k | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 178 | 1.20k | const auto* data = col.get_data().data(); | 179 | 1.20k | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 180 | 1.20k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 176 | 3.13k | const size_t num_rows) const override { | 177 | 3.13k | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 178 | 3.13k | const auto* data = col.get_data().data(); | 179 | 3.13k | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 180 | 3.13k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 176 | 64 | const size_t num_rows) const override { | 177 | 64 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 178 | 64 | const auto* data = col.get_data().data(); | 179 | 64 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 180 | 64 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 176 | 2 | const size_t num_rows) const override { | 177 | 2 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 178 | 2 | const auto* data = col.get_data().data(); | 179 | 2 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 180 | 2 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 176 | 127 | const size_t num_rows) const override { | 177 | 127 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 178 | 127 | const auto* data = col.get_data().data(); | 179 | 127 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 180 | 127 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm 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 Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm |
181 | | |
182 | | void deserialize_and_merge_vec_selected(const AggregateDataPtr* places, size_t offset, |
183 | | AggregateDataPtr rhs, const IColumn* column, |
184 | 1 | Arena& arena, const size_t num_rows) const override { |
185 | 1 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); |
186 | 1 | const auto* data = col.get_data().data(); |
187 | 1 | this->merge_vec_selected(places, offset, AggregateDataPtr(data), arena, num_rows); |
188 | 1 | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE34deserialize_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_29ENS_24AggregateFunctionSumDataILS1_29EEEE34deserialize_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_30ENS_24AggregateFunctionSumDataILS1_30EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_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 _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 184 | 1 | Arena& arena, const size_t num_rows) const override { | 185 | 1 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 186 | 1 | const auto* data = col.get_data().data(); | 187 | 1 | this->merge_vec_selected(places, offset, AggregateDataPtr(data), arena, num_rows); | 188 | 1 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm 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 Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm |
189 | | |
190 | | void serialize_without_key_to_column(ConstAggregateDataPtr __restrict place, |
191 | 2.37k | IColumn& to) const override { |
192 | 2.37k | auto& col = assert_cast<ColumnFixedLengthObject&>(to); |
193 | 2.37k | DCHECK(col.item_size() == sizeof(Data)) |
194 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); |
195 | 2.37k | size_t old_size = col.size(); |
196 | 2.37k | col.resize(old_size + 1); |
197 | 2.37k | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; |
198 | 2.37k | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE31serialize_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 | 191 | 102 | IColumn& to) const override { | 192 | 102 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 193 | 102 | DCHECK(col.item_size() == sizeof(Data)) | 194 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 195 | 102 | size_t old_size = col.size(); | 196 | 102 | col.resize(old_size + 1); | 197 | 102 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 198 | 102 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 191 | 214 | IColumn& to) const override { | 192 | 214 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 193 | 214 | DCHECK(col.item_size() == sizeof(Data)) | 194 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 195 | 214 | size_t old_size = col.size(); | 196 | 214 | col.resize(old_size + 1); | 197 | 214 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 198 | 214 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 191 | 125 | IColumn& to) const override { | 192 | 125 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 193 | 125 | DCHECK(col.item_size() == sizeof(Data)) | 194 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 195 | 125 | size_t old_size = col.size(); | 196 | 125 | col.resize(old_size + 1); | 197 | 125 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 198 | 125 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 191 | 2 | IColumn& to) const override { | 192 | 2 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 193 | 2 | DCHECK(col.item_size() == sizeof(Data)) | 194 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 195 | 2 | size_t old_size = col.size(); | 196 | 2 | col.resize(old_size + 1); | 197 | 2 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 198 | 2 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 191 | 9 | IColumn& to) const override { | 192 | 9 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 193 | 9 | DCHECK(col.item_size() == sizeof(Data)) | 194 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 195 | 9 | size_t old_size = col.size(); | 196 | 9 | col.resize(old_size + 1); | 197 | 9 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 198 | 9 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 191 | 963 | IColumn& to) const override { | 192 | 963 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 193 | 963 | DCHECK(col.item_size() == sizeof(Data)) | 194 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 195 | 963 | size_t old_size = col.size(); | 196 | 963 | col.resize(old_size + 1); | 197 | 963 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 198 | 963 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 191 | 10 | IColumn& to) const override { | 192 | 10 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 193 | 10 | DCHECK(col.item_size() == sizeof(Data)) | 194 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 195 | 10 | size_t old_size = col.size(); | 196 | 10 | col.resize(old_size + 1); | 197 | 10 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 198 | 10 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 191 | 584 | IColumn& to) const override { | 192 | 584 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 193 | 18.4E | DCHECK(col.item_size() == sizeof(Data)) | 194 | 18.4E | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 195 | 584 | size_t old_size = col.size(); | 196 | 584 | col.resize(old_size + 1); | 197 | 584 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 198 | 584 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 191 | 203 | IColumn& to) const override { | 192 | 203 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 193 | 203 | DCHECK(col.item_size() == sizeof(Data)) | 194 | 1 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 195 | 203 | size_t old_size = col.size(); | 196 | 203 | col.resize(old_size + 1); | 197 | 203 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 198 | 203 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 191 | 8 | IColumn& to) const override { | 192 | 8 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 193 | 8 | DCHECK(col.item_size() == sizeof(Data)) | 194 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 195 | 8 | size_t old_size = col.size(); | 196 | 8 | col.resize(old_size + 1); | 197 | 8 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 198 | 8 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 191 | 21 | IColumn& to) const override { | 192 | 21 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 193 | 21 | DCHECK(col.item_size() == sizeof(Data)) | 194 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 195 | 21 | size_t old_size = col.size(); | 196 | 21 | col.resize(old_size + 1); | 197 | 21 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 198 | 21 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 191 | 136 | IColumn& to) const override { | 192 | 136 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 193 | 136 | DCHECK(col.item_size() == sizeof(Data)) | 194 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 195 | 136 | size_t old_size = col.size(); | 196 | 136 | col.resize(old_size + 1); | 197 | 136 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 198 | 136 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE 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 Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE |
199 | | |
200 | 11.3k | MutableColumnPtr create_serialize_column() const override { |
201 | 11.3k | return ColumnFixedLengthObject::create(sizeof(Data)); |
202 | 11.3k | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE23create_serialize_columnEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE23create_serialize_columnEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE23create_serialize_columnEv Line | Count | Source | 200 | 130 | MutableColumnPtr create_serialize_column() const override { | 201 | 130 | return ColumnFixedLengthObject::create(sizeof(Data)); | 202 | 130 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE23create_serialize_columnEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE23create_serialize_columnEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE23create_serialize_columnEv Line | Count | Source | 200 | 2.38k | MutableColumnPtr create_serialize_column() const override { | 201 | 2.38k | return ColumnFixedLengthObject::create(sizeof(Data)); | 202 | 2.38k | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE23create_serialize_columnEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE23create_serialize_columnEv Line | Count | Source | 200 | 1.42k | MutableColumnPtr create_serialize_column() const override { | 201 | 1.42k | return ColumnFixedLengthObject::create(sizeof(Data)); | 202 | 1.42k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE23create_serialize_columnEv Line | Count | Source | 200 | 9 | MutableColumnPtr create_serialize_column() const override { | 201 | 9 | return ColumnFixedLengthObject::create(sizeof(Data)); | 202 | 9 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE23create_serialize_columnEv Line | Count | Source | 200 | 33 | MutableColumnPtr create_serialize_column() const override { | 201 | 33 | return ColumnFixedLengthObject::create(sizeof(Data)); | 202 | 33 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE23create_serialize_columnEv Line | Count | Source | 200 | 1.13k | MutableColumnPtr create_serialize_column() const override { | 201 | 1.13k | return ColumnFixedLengthObject::create(sizeof(Data)); | 202 | 1.13k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE23create_serialize_columnEv Line | Count | Source | 200 | 27 | MutableColumnPtr create_serialize_column() const override { | 201 | 27 | return ColumnFixedLengthObject::create(sizeof(Data)); | 202 | 27 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE23create_serialize_columnEv Line | Count | Source | 200 | 1.96k | MutableColumnPtr create_serialize_column() const override { | 201 | 1.96k | return ColumnFixedLengthObject::create(sizeof(Data)); | 202 | 1.96k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE23create_serialize_columnEv Line | Count | Source | 200 | 3.80k | MutableColumnPtr create_serialize_column() const override { | 201 | 3.80k | return ColumnFixedLengthObject::create(sizeof(Data)); | 202 | 3.80k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE23create_serialize_columnEv Line | Count | Source | 200 | 112 | MutableColumnPtr create_serialize_column() const override { | 201 | 112 | return ColumnFixedLengthObject::create(sizeof(Data)); | 202 | 112 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE23create_serialize_columnEv Line | Count | Source | 200 | 23 | MutableColumnPtr create_serialize_column() const override { | 201 | 23 | return ColumnFixedLengthObject::create(sizeof(Data)); | 202 | 23 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE23create_serialize_columnEv Line | Count | Source | 200 | 351 | MutableColumnPtr create_serialize_column() const override { | 201 | 351 | return ColumnFixedLengthObject::create(sizeof(Data)); | 202 | 351 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE23create_serialize_columnEv 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 Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE23create_serialize_columnEv |
203 | | |
204 | 11.4k | DataTypePtr get_serialized_type() const override { |
205 | 11.4k | return std::make_shared<DataTypeFixedLengthObject>(); |
206 | 11.4k | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE19get_serialized_typeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE19get_serialized_typeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE19get_serialized_typeEv Line | Count | Source | 204 | 130 | DataTypePtr get_serialized_type() const override { | 205 | 130 | return std::make_shared<DataTypeFixedLengthObject>(); | 206 | 130 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19get_serialized_typeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE19get_serialized_typeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE19get_serialized_typeEv Line | Count | Source | 204 | 2.39k | DataTypePtr get_serialized_type() const override { | 205 | 2.39k | return std::make_shared<DataTypeFixedLengthObject>(); | 206 | 2.39k | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19get_serialized_typeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE19get_serialized_typeEv Line | Count | Source | 204 | 1.43k | DataTypePtr get_serialized_type() const override { | 205 | 1.43k | return std::make_shared<DataTypeFixedLengthObject>(); | 206 | 1.43k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19get_serialized_typeEv Line | Count | Source | 204 | 9 | DataTypePtr get_serialized_type() const override { | 205 | 9 | return std::make_shared<DataTypeFixedLengthObject>(); | 206 | 9 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19get_serialized_typeEv Line | Count | Source | 204 | 33 | DataTypePtr get_serialized_type() const override { | 205 | 33 | return std::make_shared<DataTypeFixedLengthObject>(); | 206 | 33 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19get_serialized_typeEv Line | Count | Source | 204 | 1.14k | DataTypePtr get_serialized_type() const override { | 205 | 1.14k | return std::make_shared<DataTypeFixedLengthObject>(); | 206 | 1.14k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19get_serialized_typeEv Line | Count | Source | 204 | 27 | DataTypePtr get_serialized_type() const override { | 205 | 27 | return std::make_shared<DataTypeFixedLengthObject>(); | 206 | 27 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19get_serialized_typeEv Line | Count | Source | 204 | 1.99k | DataTypePtr get_serialized_type() const override { | 205 | 1.99k | return std::make_shared<DataTypeFixedLengthObject>(); | 206 | 1.99k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19get_serialized_typeEv Line | Count | Source | 204 | 3.81k | DataTypePtr get_serialized_type() const override { | 205 | 3.81k | return std::make_shared<DataTypeFixedLengthObject>(); | 206 | 3.81k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE19get_serialized_typeEv Line | Count | Source | 204 | 109 | DataTypePtr get_serialized_type() const override { | 205 | 109 | return std::make_shared<DataTypeFixedLengthObject>(); | 206 | 109 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE19get_serialized_typeEv Line | Count | Source | 204 | 23 | DataTypePtr get_serialized_type() const override { | 205 | 23 | return std::make_shared<DataTypeFixedLengthObject>(); | 206 | 23 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE19get_serialized_typeEv Line | Count | Source | 204 | 349 | DataTypePtr get_serialized_type() const override { | 205 | 349 | return std::make_shared<DataTypeFixedLengthObject>(); | 206 | 349 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE19get_serialized_typeEv 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 Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE19get_serialized_typeEv |
207 | | |
208 | 1.27k | bool supported_incremental_mode() const override { return true; }Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE26supported_incremental_modeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE26supported_incremental_modeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE26supported_incremental_modeEv Line | Count | Source | 208 | 12 | bool supported_incremental_mode() const override { return true; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE26supported_incremental_modeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE26supported_incremental_modeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE26supported_incremental_modeEv Line | Count | Source | 208 | 8 | bool supported_incremental_mode() const override { return true; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE26supported_incremental_modeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE26supported_incremental_modeEv Line | Count | Source | 208 | 36 | bool supported_incremental_mode() const override { return true; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE26supported_incremental_modeEv Line | Count | Source | 208 | 1 | bool supported_incremental_mode() const override { return true; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE26supported_incremental_modeEv Line | Count | Source | 208 | 1 | bool supported_incremental_mode() const override { return true; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE26supported_incremental_modeEv Line | Count | Source | 208 | 53 | bool supported_incremental_mode() const override { return true; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE26supported_incremental_modeEv Line | Count | Source | 208 | 5 | bool supported_incremental_mode() const override { return true; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE26supported_incremental_modeEv Line | Count | Source | 208 | 600 | bool supported_incremental_mode() const override { return true; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE26supported_incremental_modeEv Line | Count | Source | 208 | 405 | bool supported_incremental_mode() const override { return true; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE26supported_incremental_modeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE26supported_incremental_modeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE26supported_incremental_modeEv Line | Count | Source | 208 | 156 | bool supported_incremental_mode() const override { return true; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE26supported_incremental_modeEv 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 Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE26supported_incremental_modeEv |
209 | | |
210 | | NO_SANITIZE_UNDEFINED void execute_function_with_incremental( |
211 | | int64_t partition_start, int64_t partition_end, int64_t frame_start, int64_t frame_end, |
212 | | AggregateDataPtr place, const IColumn** columns, Arena& arena, bool previous_is_nul, |
213 | | bool end_is_nul, bool has_null, UInt8* use_null_result, |
214 | 730 | UInt8* could_use_previous_result) const override { |
215 | 730 | int64_t current_frame_start = std::max<int64_t>(frame_start, partition_start); |
216 | 730 | int64_t current_frame_end = std::min<int64_t>(frame_end, partition_end); |
217 | | |
218 | 730 | if (current_frame_start >= current_frame_end) { |
219 | 16 | *use_null_result = true; |
220 | 16 | return; |
221 | 16 | } |
222 | 714 | if (*could_use_previous_result) { |
223 | 654 | const auto& column = |
224 | 654 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); |
225 | 654 | const auto* data = column.get_data().data(); |
226 | 654 | auto outcoming_pos = frame_start - 1; |
227 | 654 | auto incoming_pos = frame_end - 1; |
228 | 654 | if (!previous_is_nul && outcoming_pos >= partition_start && |
229 | 654 | outcoming_pos < partition_end) { |
230 | 489 | this->data(place).add( |
231 | 489 | typename PrimitiveTypeTraits<TResult>::CppType(-data[outcoming_pos])); |
232 | 489 | } |
233 | 654 | if (!end_is_nul && incoming_pos >= partition_start && incoming_pos < partition_end) { |
234 | 512 | this->data(place).add( |
235 | 512 | typename PrimitiveTypeTraits<TResult>::CppType(data[incoming_pos])); |
236 | 512 | } |
237 | 654 | } else { |
238 | 60 | this->add_range_single_place(partition_start, partition_end, frame_start, frame_end, |
239 | 60 | place, columns, arena, use_null_result, |
240 | 60 | could_use_previous_result); |
241 | 60 | } |
242 | 714 | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE33execute_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_29ENS_24AggregateFunctionSumDataILS1_29EEEE33execute_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_30ENS_24AggregateFunctionSumDataILS1_30EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Line | Count | Source | 214 | 236 | UInt8* could_use_previous_result) const override { | 215 | 236 | int64_t current_frame_start = std::max<int64_t>(frame_start, partition_start); | 216 | 236 | int64_t current_frame_end = std::min<int64_t>(frame_end, partition_end); | 217 | | | 218 | 236 | if (current_frame_start >= current_frame_end) { | 219 | 16 | *use_null_result = true; | 220 | 16 | return; | 221 | 16 | } | 222 | 220 | if (*could_use_previous_result) { | 223 | 202 | const auto& column = | 224 | 202 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 225 | 202 | const auto* data = column.get_data().data(); | 226 | 202 | auto outcoming_pos = frame_start - 1; | 227 | 202 | auto incoming_pos = frame_end - 1; | 228 | 202 | if (!previous_is_nul && outcoming_pos >= partition_start && | 229 | 202 | outcoming_pos < partition_end) { | 230 | 170 | this->data(place).add( | 231 | 170 | typename PrimitiveTypeTraits<TResult>::CppType(-data[outcoming_pos])); | 232 | 170 | } | 233 | 202 | if (!end_is_nul && incoming_pos >= partition_start && incoming_pos < partition_end) { | 234 | 178 | this->data(place).add( | 235 | 178 | typename PrimitiveTypeTraits<TResult>::CppType(data[incoming_pos])); | 236 | 178 | } | 237 | 202 | } else { | 238 | 18 | this->add_range_single_place(partition_start, partition_end, frame_start, frame_end, | 239 | 18 | place, columns, arena, use_null_result, | 240 | 18 | could_use_previous_result); | 241 | 18 | } | 242 | 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 | 214 | 192 | UInt8* could_use_previous_result) const override { | 215 | 192 | int64_t current_frame_start = std::max<int64_t>(frame_start, partition_start); | 216 | 192 | int64_t current_frame_end = std::min<int64_t>(frame_end, partition_end); | 217 | | | 218 | 192 | if (current_frame_start >= current_frame_end) { | 219 | 0 | *use_null_result = true; | 220 | 0 | return; | 221 | 0 | } | 222 | 192 | if (*could_use_previous_result) { | 223 | 172 | const auto& column = | 224 | 172 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 225 | 172 | const auto* data = column.get_data().data(); | 226 | 172 | auto outcoming_pos = frame_start - 1; | 227 | 172 | auto incoming_pos = frame_end - 1; | 228 | 172 | if (!previous_is_nul && outcoming_pos >= partition_start && | 229 | 172 | outcoming_pos < partition_end) { | 230 | 100 | this->data(place).add( | 231 | 100 | typename PrimitiveTypeTraits<TResult>::CppType(-data[outcoming_pos])); | 232 | 100 | } | 233 | 172 | if (!end_is_nul && incoming_pos >= partition_start && incoming_pos < partition_end) { | 234 | 101 | this->data(place).add( | 235 | 101 | typename PrimitiveTypeTraits<TResult>::CppType(data[incoming_pos])); | 236 | 101 | } | 237 | 172 | } else { | 238 | 20 | this->add_range_single_place(partition_start, partition_end, frame_start, frame_end, | 239 | 20 | place, columns, arena, use_null_result, | 240 | 20 | could_use_previous_result); | 241 | 20 | } | 242 | 192 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Line | Count | Source | 214 | 178 | UInt8* could_use_previous_result) const override { | 215 | 178 | int64_t current_frame_start = std::max<int64_t>(frame_start, partition_start); | 216 | 178 | int64_t current_frame_end = std::min<int64_t>(frame_end, partition_end); | 217 | | | 218 | 178 | if (current_frame_start >= current_frame_end) { | 219 | 0 | *use_null_result = true; | 220 | 0 | return; | 221 | 0 | } | 222 | 178 | if (*could_use_previous_result) { | 223 | 156 | const auto& column = | 224 | 156 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 225 | 156 | const auto* data = column.get_data().data(); | 226 | 156 | auto outcoming_pos = frame_start - 1; | 227 | 156 | auto incoming_pos = frame_end - 1; | 228 | 156 | if (!previous_is_nul && outcoming_pos >= partition_start && | 229 | 156 | outcoming_pos < partition_end) { | 230 | 115 | this->data(place).add( | 231 | 115 | typename PrimitiveTypeTraits<TResult>::CppType(-data[outcoming_pos])); | 232 | 115 | } | 233 | 156 | if (!end_is_nul && incoming_pos >= partition_start && incoming_pos < partition_end) { | 234 | 129 | this->data(place).add( | 235 | 129 | typename PrimitiveTypeTraits<TResult>::CppType(data[incoming_pos])); | 236 | 129 | } | 237 | 156 | } else { | 238 | 22 | this->add_range_single_place(partition_start, partition_end, frame_start, frame_end, | 239 | 22 | place, columns, arena, use_null_result, | 240 | 22 | could_use_previous_result); | 241 | 22 | } | 242 | 178 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Line | Count | Source | 214 | 124 | UInt8* could_use_previous_result) const override { | 215 | 124 | int64_t current_frame_start = std::max<int64_t>(frame_start, partition_start); | 216 | 124 | int64_t current_frame_end = std::min<int64_t>(frame_end, partition_end); | 217 | | | 218 | 124 | if (current_frame_start >= current_frame_end) { | 219 | 0 | *use_null_result = true; | 220 | 0 | return; | 221 | 0 | } | 222 | 124 | if (*could_use_previous_result) { | 223 | 124 | const auto& column = | 224 | 124 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 225 | 124 | const auto* data = column.get_data().data(); | 226 | 124 | auto outcoming_pos = frame_start - 1; | 227 | 124 | auto incoming_pos = frame_end - 1; | 228 | 124 | if (!previous_is_nul && outcoming_pos >= partition_start && | 229 | 124 | outcoming_pos < partition_end) { | 230 | 104 | this->data(place).add( | 231 | 104 | typename PrimitiveTypeTraits<TResult>::CppType(-data[outcoming_pos])); | 232 | 104 | } | 233 | 124 | if (!end_is_nul && incoming_pos >= partition_start && incoming_pos < partition_end) { | 234 | 104 | this->data(place).add( | 235 | 104 | typename PrimitiveTypeTraits<TResult>::CppType(data[incoming_pos])); | 236 | 104 | } | 237 | 124 | } else { | 238 | 0 | this->add_range_single_place(partition_start, partition_end, frame_start, frame_end, | 239 | 0 | place, columns, arena, use_null_result, | 240 | 0 | could_use_previous_result); | 241 | 0 | } | 242 | 124 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ 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_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ |
243 | | |
244 | | void add_range_single_place(int64_t partition_start, int64_t partition_end, int64_t frame_start, |
245 | | int64_t frame_end, AggregateDataPtr place, const IColumn** columns, |
246 | | Arena& arena, UInt8* use_null_result, |
247 | 2.26k | UInt8* could_use_previous_result) const override { |
248 | 2.26k | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); |
249 | 2.26k | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); |
250 | | |
251 | 2.26k | if (current_frame_start >= current_frame_end) { |
252 | 133 | if (!*could_use_previous_result) { |
253 | 9 | *use_null_result = true; |
254 | 9 | } |
255 | 2.13k | } else { |
256 | 2.13k | const auto& column = |
257 | 2.13k | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); |
258 | 5.25k | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { |
259 | 3.12k | this->data(place).add( |
260 | 3.12k | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); |
261 | 3.12k | } |
262 | 2.13k | *use_null_result = false; |
263 | 2.13k | *could_use_previous_result = true; |
264 | 2.13k | } |
265 | 2.26k | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE22add_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 | 247 | 3 | UInt8* could_use_previous_result) const override { | 248 | 3 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 249 | 3 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 250 | | | 251 | 3 | if (current_frame_start >= current_frame_end) { | 252 | 0 | if (!*could_use_previous_result) { | 253 | 0 | *use_null_result = true; | 254 | 0 | } | 255 | 3 | } else { | 256 | 3 | const auto& column = | 257 | 3 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 258 | 6 | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 259 | 3 | this->data(place).add( | 260 | 3 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 261 | 3 | } | 262 | 3 | *use_null_result = false; | 263 | 3 | *could_use_previous_result = true; | 264 | 3 | } | 265 | 3 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 247 | 23 | UInt8* could_use_previous_result) const override { | 248 | 23 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 249 | 23 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 250 | | | 251 | 23 | if (current_frame_start >= current_frame_end) { | 252 | 0 | if (!*could_use_previous_result) { | 253 | 0 | *use_null_result = true; | 254 | 0 | } | 255 | 23 | } else { | 256 | 23 | const auto& column = | 257 | 23 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 258 | 53 | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 259 | 30 | this->data(place).add( | 260 | 30 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 261 | 30 | } | 262 | 23 | *use_null_result = false; | 263 | 23 | *could_use_previous_result = true; | 264 | 23 | } | 265 | 23 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 247 | 9 | UInt8* could_use_previous_result) const override { | 248 | 9 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 249 | 9 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 250 | | | 251 | 9 | if (current_frame_start >= current_frame_end) { | 252 | 0 | if (!*could_use_previous_result) { | 253 | 0 | *use_null_result = true; | 254 | 0 | } | 255 | 9 | } else { | 256 | 9 | const auto& column = | 257 | 9 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 258 | 18 | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 259 | 9 | this->data(place).add( | 260 | 9 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 261 | 9 | } | 262 | 9 | *use_null_result = false; | 263 | 9 | *could_use_previous_result = true; | 264 | 9 | } | 265 | 9 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 247 | 1 | UInt8* could_use_previous_result) const override { | 248 | 1 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 249 | 1 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 250 | | | 251 | 1 | if (current_frame_start >= current_frame_end) { | 252 | 0 | if (!*could_use_previous_result) { | 253 | 0 | *use_null_result = true; | 254 | 0 | } | 255 | 1 | } else { | 256 | 1 | const auto& column = | 257 | 1 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 258 | 2 | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 259 | 1 | this->data(place).add( | 260 | 1 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 261 | 1 | } | 262 | 1 | *use_null_result = false; | 263 | 1 | *could_use_previous_result = true; | 264 | 1 | } | 265 | 1 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 247 | 1 | UInt8* could_use_previous_result) const override { | 248 | 1 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 249 | 1 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 250 | | | 251 | 1 | if (current_frame_start >= current_frame_end) { | 252 | 0 | if (!*could_use_previous_result) { | 253 | 0 | *use_null_result = true; | 254 | 0 | } | 255 | 1 | } else { | 256 | 1 | const auto& column = | 257 | 1 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 258 | 2 | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 259 | 1 | this->data(place).add( | 260 | 1 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 261 | 1 | } | 262 | 1 | *use_null_result = false; | 263 | 1 | *could_use_previous_result = true; | 264 | 1 | } | 265 | 1 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 247 | 189 | UInt8* could_use_previous_result) const override { | 248 | 189 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 249 | 189 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 250 | | | 251 | 189 | if (current_frame_start >= current_frame_end) { | 252 | 22 | if (!*could_use_previous_result) { | 253 | 8 | *use_null_result = true; | 254 | 8 | } | 255 | 167 | } else { | 256 | 167 | const auto& column = | 257 | 167 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 258 | 397 | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 259 | 230 | this->data(place).add( | 260 | 230 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 261 | 230 | } | 262 | 167 | *use_null_result = false; | 263 | 167 | *could_use_previous_result = true; | 264 | 167 | } | 265 | 189 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 247 | 5 | UInt8* could_use_previous_result) const override { | 248 | 5 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 249 | 5 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 250 | | | 251 | 5 | if (current_frame_start >= current_frame_end) { | 252 | 0 | if (!*could_use_previous_result) { | 253 | 0 | *use_null_result = true; | 254 | 0 | } | 255 | 5 | } else { | 256 | 5 | const auto& column = | 257 | 5 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 258 | 10 | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 259 | 5 | this->data(place).add( | 260 | 5 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 261 | 5 | } | 262 | 5 | *use_null_result = false; | 263 | 5 | *could_use_previous_result = true; | 264 | 5 | } | 265 | 5 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 247 | 989 | UInt8* could_use_previous_result) const override { | 248 | 989 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 249 | 989 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 250 | | | 251 | 989 | if (current_frame_start >= current_frame_end) { | 252 | 90 | if (!*could_use_previous_result) { | 253 | 0 | *use_null_result = true; | 254 | 0 | } | 255 | 899 | } else { | 256 | 899 | const auto& column = | 257 | 899 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 258 | 2.49k | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 259 | 1.59k | this->data(place).add( | 260 | 1.59k | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 261 | 1.59k | } | 262 | 899 | *use_null_result = false; | 263 | 899 | *could_use_previous_result = true; | 264 | 899 | } | 265 | 989 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 247 | 518 | UInt8* could_use_previous_result) const override { | 248 | 518 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 249 | 518 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 250 | | | 251 | 518 | if (current_frame_start >= current_frame_end) { | 252 | 21 | if (!*could_use_previous_result) { | 253 | 1 | *use_null_result = true; | 254 | 1 | } | 255 | 497 | } else { | 256 | 497 | const auto& column = | 257 | 497 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 258 | 1.19k | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 259 | 694 | this->data(place).add( | 260 | 694 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 261 | 694 | } | 262 | 497 | *use_null_result = false; | 263 | 497 | *could_use_previous_result = true; | 264 | 497 | } | 265 | 518 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 247 | 528 | UInt8* could_use_previous_result) const override { | 248 | 528 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 249 | 528 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 250 | | | 251 | 528 | if (current_frame_start >= current_frame_end) { | 252 | 0 | if (!*could_use_previous_result) { | 253 | 0 | *use_null_result = true; | 254 | 0 | } | 255 | 528 | } else { | 256 | 528 | const auto& column = | 257 | 528 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 258 | 1.07k | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 259 | 548 | this->data(place).add( | 260 | 548 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 261 | 548 | } | 262 | 528 | *use_null_result = false; | 263 | 528 | *could_use_previous_result = true; | 264 | 528 | } | 265 | 528 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ 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_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ |
266 | | |
267 | | private: |
268 | | UInt32 scale; |
269 | | }; |
270 | | |
271 | 0 | constexpr PrimitiveType result_type(PrimitiveType T) { |
272 | 0 | if (T == TYPE_LARGEINT) { |
273 | 0 | return TYPE_LARGEINT; |
274 | 0 | } else if (is_int_or_bool(T)) { |
275 | 0 | return TYPE_BIGINT; |
276 | 0 | } else if (is_float_or_double(T) || is_time_type(T)) { |
277 | 0 | return TYPE_DOUBLE; |
278 | 0 | } else { |
279 | 0 | return T; |
280 | 0 | } |
281 | 0 | } |
282 | | |
283 | | // TODO: use result type from FE plan |
284 | | template <PrimitiveType T> |
285 | | struct SumSimple { |
286 | | static_assert(!is_decimalv3(T)); |
287 | | /// @note It uses slow Decimal128 (cause we need such a variant). sumWithOverflow is faster for Decimal32/64 |
288 | | static constexpr PrimitiveType ResultType = result_type(T); |
289 | | using AggregateDataType = AggregateFunctionSumData<ResultType>; |
290 | | using Function = AggregateFunctionSum<T, ResultType, AggregateDataType>; |
291 | | }; |
292 | | |
293 | | template <PrimitiveType T> |
294 | | using AggregateFunctionSumSimple = typename SumSimple<T>::Function; |
295 | | |
296 | | // use result type got from FE plan |
297 | | template <PrimitiveType InputType, PrimitiveType ResultType> |
298 | | struct SumDecimalV3 { |
299 | | static_assert(is_decimalv3(InputType) && is_decimalv3(ResultType)); |
300 | | using AggregateDataType = AggregateFunctionSumData<ResultType>; |
301 | | using Function = AggregateFunctionSum<InputType, ResultType, AggregateDataType>; |
302 | | }; |
303 | | template <PrimitiveType InputType, PrimitiveType ResultType> |
304 | | using AggregateFunctionSumDecimalV3 = typename SumDecimalV3<InputType, ResultType>::Function; |
305 | | |
306 | | template <PrimitiveType T> |
307 | | struct SumSimpleForAggReader { |
308 | | using AggregateDataType = AggregateFunctionSumData<T>; |
309 | | using Function = AggregateFunctionSum<T, T, AggregateDataType>; |
310 | | }; |
311 | | // do not level up return type for agg reader |
312 | | template <PrimitiveType T> |
313 | | using AggregateFunctionSumSimpleReader = typename SumSimpleForAggReader<T>::Function; |
314 | | |
315 | | } // namespace doris |