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 | 49.5M | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { |
55 | 49.5M | ALLOW_FP_REASSOCIATION |
56 | 49.5M | sum += value; |
57 | 49.5M | } _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_13PrimitiveTypeE6EE3addEl Line | Count | Source | 54 | 31.9M | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 55 | 31.9M | ALLOW_FP_REASSOCIATION | 56 | 31.9M | sum += value; | 57 | 31.9M | } |
_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_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 | } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE9EE3addEd Line | Count | Source | 54 | 2.54M | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 55 | 2.54M | ALLOW_FP_REASSOCIATION | 56 | 2.54M | sum += value; | 57 | 2.54M | } |
_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 | 14.1M | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 55 | 14.1M | ALLOW_FP_REASSOCIATION | 56 | 14.1M | sum += value; | 57 | 14.1M | } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE35EE3addENS_7DecimalIN4wide7integerILm256EiEEEE Line | Count | Source | 54 | 828 | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 55 | 828 | ALLOW_FP_REASSOCIATION | 56 | 828 | sum += value; | 57 | 828 | } |
Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE20EE3addENS_14DecimalV2ValueE |
58 | | |
59 | 168k | void merge(const AggregateFunctionSumData& rhs) { sum += rhs.sum; }Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE3EE5mergeERKS2_ Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE4EE5mergeERKS2_ Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE5EE5mergeERKS2_ _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE6EE5mergeERKS2_ Line | Count | Source | 59 | 33.0k | void merge(const AggregateFunctionSumData& rhs) { sum += rhs.sum; } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE7EE5mergeERKS2_ Line | Count | Source | 59 | 84 | void merge(const AggregateFunctionSumData& rhs) { sum += rhs.sum; } |
Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE8EE5mergeERKS2_ _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE9EE5mergeERKS2_ Line | Count | Source | 59 | 6.19k | void merge(const AggregateFunctionSumData& rhs) { sum += rhs.sum; } |
Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE28EE5mergeERKS2_ Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE29EE5mergeERKS2_ _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE30EE5mergeERKS2_ Line | Count | Source | 59 | 129k | void merge(const AggregateFunctionSumData& rhs) { sum += rhs.sum; } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE35EE5mergeERKS2_ Line | Count | Source | 59 | 58 | void merge(const AggregateFunctionSumData& rhs) { sum += rhs.sum; } |
Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE20EE5mergeERKS2_ |
60 | | |
61 | 632 | void write(BufferWritable& buf) const { buf.write_binary(sum); }Unexecuted instantiation: _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE3EE5writeERNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE4EE5writeERNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE5EE5writeERNS_14BufferWritableE _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE6EE5writeERNS_14BufferWritableE Line | Count | Source | 61 | 571 | void write(BufferWritable& buf) const { buf.write_binary(sum); } |
Unexecuted instantiation: _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE7EE5writeERNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE8EE5writeERNS_14BufferWritableE _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE9EE5writeERNS_14BufferWritableE Line | Count | Source | 61 | 1 | void write(BufferWritable& buf) const { buf.write_binary(sum); } |
Unexecuted instantiation: _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE28EE5writeERNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE29EE5writeERNS_14BufferWritableE _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE30EE5writeERNS_14BufferWritableE Line | Count | Source | 61 | 32 | 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); } |
Unexecuted instantiation: _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE20EE5writeERNS_14BufferWritableE |
62 | | |
63 | 585 | void read(BufferReadable& buf) { buf.read_binary(sum); }Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE3EE4readERNS_14BufferReadableE Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE4EE4readERNS_14BufferReadableE Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE5EE4readERNS_14BufferReadableE _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE6EE4readERNS_14BufferReadableE Line | Count | Source | 63 | 530 | void read(BufferReadable& buf) { buf.read_binary(sum); } |
Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE7EE4readERNS_14BufferReadableE Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE8EE4readERNS_14BufferReadableE Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE9EE4readERNS_14BufferReadableE Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE28EE4readERNS_14BufferReadableE Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE29EE4readERNS_14BufferReadableE _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE30EE4readERNS_14BufferReadableE Line | Count | Source | 63 | 27 | void read(BufferReadable& buf) { buf.read_binary(sum); } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE35EE4readERNS_14BufferReadableE Line | Count | Source | 63 | 28 | void read(BufferReadable& buf) { buf.read_binary(sum); } |
Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE20EE4readERNS_14BufferReadableE |
64 | | |
65 | 2.83M | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; }_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_13PrimitiveTypeE6EE3getEv Line | Count | Source | 65 | 1.00M | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE7EE3getEv Line | Count | Source | 65 | 5.44k | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE8EE3getEv Line | Count | Source | 65 | 5.20k | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE9EE3getEv Line | Count | Source | 65 | 12.8k | 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 | 1.39M | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE35EE3getEv Line | Count | Source | 65 | 239 | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
Unexecuted instantiation: _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE20EE3getEv |
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.52k | String get_name() const override { return "sum"; }Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE8get_nameB5cxx11Ev _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE8get_nameB5cxx11Ev Line | Count | Source | 88 | 287 | String get_name() const override { return "sum"; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE8get_nameB5cxx11Ev _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE8get_nameB5cxx11Ev Line | Count | Source | 88 | 154 | String get_name() const override { return "sum"; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE8get_nameB5cxx11Ev _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE8get_nameB5cxx11Ev Line | Count | Source | 88 | 22 | 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"; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE8get_nameB5cxx11Ev _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE8get_nameB5cxx11Ev Line | Count | Source | 88 | 11 | String get_name() const override { return "sum"; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE8get_nameB5cxx11Ev _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE8get_nameB5cxx11Ev Line | Count | Source | 88 | 12 | String get_name() const override { return "sum"; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE8get_nameB5cxx11Ev _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE8get_nameB5cxx11Ev Line | Count | Source | 88 | 1 | String get_name() const override { return "sum"; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE8get_nameB5cxx11Ev Line | Count | Source | 88 | 238 | String get_name() const override { return "sum"; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE8get_nameB5cxx11Ev Line | Count | Source | 88 | 6 | String get_name() const override { return "sum"; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE8get_nameB5cxx11Ev Line | Count | Source | 88 | 794 | String get_name() const override { return "sum"; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE8get_nameB5cxx11Ev |
89 | | |
90 | | AggregateFunctionSum(const DataTypes& argument_types_) |
91 | 25.6k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( |
92 | 25.6k | argument_types_), |
93 | 25.6k | 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_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 91 | 6.33k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 92 | 6.33k | argument_types_), | 93 | 6.33k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 91 | 1.18k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 92 | 1.18k | argument_types_), | 93 | 1.18k | 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])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 91 | 2.29k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 92 | 2.29k | argument_types_), | 93 | 2.29k | 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])) {} |
_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_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 91 | 2.03k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 92 | 2.03k | argument_types_), | 93 | 2.03k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 91 | 132 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 92 | 132 | argument_types_), | 93 | 132 | 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])) {} |
Unexecuted instantiation: _ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE _ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 91 | 75 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 92 | 75 | argument_types_), | 93 | 75 | scale(get_decimal_scale(*argument_types_[0])) {} |
Unexecuted instantiation: _ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE _ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 91 | 1.08k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 92 | 1.08k | argument_types_), | 93 | 1.08k | 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_35ENS_24AggregateFunctionSumDataILS1_35EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 91 | 13 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 92 | 13 | argument_types_), | 93 | 13 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 91 | 1.12k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 92 | 1.12k | argument_types_), | 93 | 1.12k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 91 | 81 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 92 | 81 | argument_types_), | 93 | 81 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 91 | 5.69k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 92 | 5.69k | argument_types_), | 93 | 5.69k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 91 | 54 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 92 | 54 | argument_types_), | 93 | 54 | scale(get_decimal_scale(*argument_types_[0])) {} |
|
94 | | |
95 | 89.6k | DataTypePtr get_return_type() const override { |
96 | 89.6k | if constexpr (is_decimal(TResult)) { |
97 | 18.6k | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); |
98 | 70.9k | } else { |
99 | 70.9k | return std::make_shared<ResultDataType>(); |
100 | 70.9k | } |
101 | 89.6k | } _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.82k | DataTypePtr get_return_type() const override { | 96 | | if constexpr (is_decimal(TResult)) { | 97 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 98 | 1.82k | } else { | 99 | 1.82k | return std::make_shared<ResultDataType>(); | 100 | 1.82k | } | 101 | 1.82k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE15get_return_typeEv Line | Count | Source | 95 | 24.8k | DataTypePtr get_return_type() const override { | 96 | | if constexpr (is_decimal(TResult)) { | 97 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 98 | 24.8k | } else { | 99 | 24.8k | return std::make_shared<ResultDataType>(); | 100 | 24.8k | } | 101 | 24.8k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE15get_return_typeEv Line | Count | Source | 95 | 2.21k | DataTypePtr get_return_type() const override { | 96 | | if constexpr (is_decimal(TResult)) { | 97 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 98 | 2.21k | } else { | 99 | 2.21k | return std::make_shared<ResultDataType>(); | 100 | 2.21k | } | 101 | 2.21k | } |
_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 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE15get_return_typeEv Line | Count | Source | 95 | 6.07k | DataTypePtr get_return_type() const override { | 96 | | if constexpr (is_decimal(TResult)) { | 97 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 98 | 6.07k | } else { | 99 | 6.07k | return std::make_shared<ResultDataType>(); | 100 | 6.07k | } | 101 | 6.07k | } |
_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 | } |
_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_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE15get_return_typeEv Line | Count | Source | 95 | 4.79k | DataTypePtr get_return_type() const override { | 96 | 4.79k | if constexpr (is_decimal(TResult)) { | 97 | 4.79k | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 98 | | } else { | 99 | | return std::make_shared<ResultDataType>(); | 100 | | } | 101 | 4.79k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE15get_return_typeEv Line | Count | Source | 95 | 607 | DataTypePtr get_return_type() const override { | 96 | 607 | if constexpr (is_decimal(TResult)) { | 97 | 607 | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 98 | | } else { | 99 | | return std::make_shared<ResultDataType>(); | 100 | | } | 101 | 607 | } |
_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 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE15get_return_typeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE15get_return_typeEv Line | Count | Source | 95 | 374 | DataTypePtr get_return_type() const override { | 96 | 374 | if constexpr (is_decimal(TResult)) { | 97 | 374 | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 98 | | } else { | 99 | | return std::make_shared<ResultDataType>(); | 100 | | } | 101 | 374 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE15get_return_typeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE15get_return_typeEv Line | Count | Source | 95 | 10.7k | DataTypePtr get_return_type() const override { | 96 | 10.7k | if constexpr (is_decimal(TResult)) { | 97 | 10.7k | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 98 | | } else { | 99 | | return std::make_shared<ResultDataType>(); | 100 | | } | 101 | 10.7k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE15get_return_typeEv Line | Count | Source | 95 | 111 | DataTypePtr get_return_type() const override { | 96 | 111 | if constexpr (is_decimal(TResult)) { | 97 | 111 | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 98 | | } else { | 99 | | return std::make_shared<ResultDataType>(); | 100 | | } | 101 | 111 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE15get_return_typeEv Line | Count | Source | 95 | 128 | DataTypePtr get_return_type() const override { | 96 | 128 | if constexpr (is_decimal(TResult)) { | 97 | 128 | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 98 | | } else { | 99 | | return std::make_shared<ResultDataType>(); | 100 | | } | 101 | 128 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE15get_return_typeEv Line | Count | Source | 95 | 5.67k | DataTypePtr get_return_type() const override { | 96 | | if constexpr (is_decimal(TResult)) { | 97 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 98 | 5.67k | } else { | 99 | 5.67k | return std::make_shared<ResultDataType>(); | 100 | 5.67k | } | 101 | 5.67k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE15get_return_typeEv Line | Count | Source | 95 | 351 | DataTypePtr get_return_type() const override { | 96 | | if constexpr (is_decimal(TResult)) { | 97 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 98 | 351 | } else { | 99 | 351 | return std::make_shared<ResultDataType>(); | 100 | 351 | } | 101 | 351 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE15get_return_typeEv Line | Count | Source | 95 | 24.8k | DataTypePtr get_return_type() const override { | 96 | | if constexpr (is_decimal(TResult)) { | 97 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 98 | 24.8k | } else { | 99 | 24.8k | return std::make_shared<ResultDataType>(); | 100 | 24.8k | } | 101 | 24.8k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE15get_return_typeEv Line | Count | Source | 95 | 142 | DataTypePtr get_return_type() const override { | 96 | | if constexpr (is_decimal(TResult)) { | 97 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 98 | 142 | } else { | 99 | 142 | return std::make_shared<ResultDataType>(); | 100 | 142 | } | 101 | 142 | } |
|
102 | | |
103 | 2 | bool is_trivial() const override { return true; }Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE10is_trivialEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE10is_trivialEv Line | Count | Source | 103 | 2 | bool is_trivial() const override { return true; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE10is_trivialEv |
104 | | |
105 | | void add(AggregateDataPtr __restrict place, const IColumn** columns, ssize_t row_num, |
106 | 49.3M | Arena&) const override { |
107 | 49.3M | const auto& column = |
108 | 49.3M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); |
109 | 49.3M | this->data(place).add( |
110 | 49.3M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); |
111 | 49.3M | } _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_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 106 | 5.65M | Arena&) const override { | 107 | 5.65M | const auto& column = | 108 | 5.65M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 109 | 5.65M | this->data(place).add( | 110 | 5.65M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 111 | 5.65M | } |
_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_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 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 106 | 2.53M | Arena&) const override { | 107 | 2.53M | const auto& column = | 108 | 2.53M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 109 | 2.53M | this->data(place).add( | 110 | 2.53M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 111 | 2.53M | } |
_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_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 106 | 5.64M | Arena&) const override { | 107 | 5.64M | const auto& column = | 108 | 5.64M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 109 | 5.64M | this->data(place).add( | 110 | 5.64M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 111 | 5.64M | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 106 | 761 | Arena&) const override { | 107 | 761 | const auto& column = | 108 | 761 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 109 | 761 | this->data(place).add( | 110 | 761 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 111 | 761 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 106 | 294 | Arena&) const override { | 107 | 294 | const auto& column = | 108 | 294 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 109 | 294 | this->data(place).add( | 110 | 294 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 111 | 294 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 106 | 8.45M | Arena&) const override { | 107 | 8.45M | const auto& column = | 108 | 8.45M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 109 | 8.45M | this->data(place).add( | 110 | 8.45M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 111 | 8.45M | } |
_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_35ENS_24AggregateFunctionSumDataILS1_35EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 106 | 12 | Arena&) const override { | 107 | 12 | const auto& column = | 108 | 12 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 109 | 12 | this->data(place).add( | 110 | 12 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 111 | 12 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 106 | 20.1M | Arena&) const override { | 107 | 20.1M | const auto& column = | 108 | 20.1M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 109 | 20.1M | this->data(place).add( | 110 | 20.1M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 111 | 20.1M | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 106 | 584 | Arena&) const override { | 107 | 584 | const auto& column = | 108 | 584 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 109 | 584 | this->data(place).add( | 110 | 584 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 111 | 584 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 106 | 6.14M | Arena&) const override { | 107 | 6.14M | const auto& column = | 108 | 6.14M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 109 | 6.14M | this->data(place).add( | 110 | 6.14M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 111 | 6.14M | } |
_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 | } |
|
112 | | |
113 | 1.40M | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; }Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE5resetEPc _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE5resetEPc Line | Count | Source | 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_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5resetEPc Line | Count | Source | 113 | 972k | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE5resetEPc Line | Count | Source | 113 | 5.30k | 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 = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE5resetEPc Line | Count | Source | 113 | 6.51k | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE5resetEPc Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE5resetEPc _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE5resetEPc Line | Count | Source | 113 | 132 | 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 = {}; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE5resetEPc 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 _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_35ENS_24AggregateFunctionSumDataILS1_35EEEE5resetEPc Line | Count | Source | 113 | 1 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5resetEPc Line | Count | Source | 113 | 144 | 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.04k | 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 = {}; } |
|
114 | | |
115 | | void merge(AggregateDataPtr __restrict place, ConstAggregateDataPtr rhs, |
116 | 169k | Arena&) const override { |
117 | 169k | this->data(place).merge(this->data(rhs)); |
118 | 169k | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE5mergeEPcPKcRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE5mergeEPcPKcRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE5mergeEPcPKcRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 116 | 19.4k | Arena&) const override { | 117 | 19.4k | this->data(place).merge(this->data(rhs)); | 118 | 19.4k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 116 | 84 | Arena&) const override { | 117 | 84 | this->data(place).merge(this->data(rhs)); | 118 | 84 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE5mergeEPcPKcRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 116 | 6.18k | Arena&) const override { | 117 | 6.18k | this->data(place).merge(this->data(rhs)); | 118 | 6.18k | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE5mergeEPcPKcRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE5mergeEPcPKcRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 116 | 28.8k | Arena&) const override { | 117 | 28.8k | this->data(place).merge(this->data(rhs)); | 118 | 28.8k | } |
_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 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE5mergeEPcPKcRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE5mergeEPcPKcRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 116 | 45 | Arena&) const override { | 117 | 45 | this->data(place).merge(this->data(rhs)); | 118 | 45 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE5mergeEPcPKcRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 116 | 101k | Arena&) const override { | 117 | 101k | this->data(place).merge(this->data(rhs)); | 118 | 101k | } |
_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_35ENS_24AggregateFunctionSumDataILS1_35EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 116 | 4 | Arena&) const override { | 117 | 4 | this->data(place).merge(this->data(rhs)); | 118 | 4 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 116 | 432 | Arena&) const override { | 117 | 432 | this->data(place).merge(this->data(rhs)); | 118 | 432 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 116 | 28 | Arena&) const override { | 117 | 28 | this->data(place).merge(this->data(rhs)); | 118 | 28 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 116 | 13.1k | Arena&) const override { | 117 | 13.1k | this->data(place).merge(this->data(rhs)); | 118 | 13.1k | } |
_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 | } |
|
119 | | |
120 | 632 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { |
121 | 632 | this->data(place).write(buf); |
122 | 632 | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE9serializeEPKcRNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE9serializeEPKcRNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE9serializeEPKcRNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE9serializeEPKcRNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE9serializeEPKcRNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE9serializeEPKcRNS_14BufferWritableE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 120 | 1 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 121 | 1 | this->data(place).write(buf); | 122 | 1 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE9serializeEPKcRNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE9serializeEPKcRNS_14BufferWritableE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 120 | 10 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 121 | 10 | this->data(place).write(buf); | 122 | 10 | } |
_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 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE9serializeEPKcRNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE9serializeEPKcRNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE9serializeEPKcRNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE9serializeEPKcRNS_14BufferWritableE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 120 | 22 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 121 | 22 | this->data(place).write(buf); | 122 | 22 | } |
_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 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE9serializeEPKcRNS_14BufferWritableE _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 | 567 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 121 | 567 | this->data(place).write(buf); | 122 | 567 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE9serializeEPKcRNS_14BufferWritableE |
123 | | |
124 | | void deserialize(AggregateDataPtr __restrict place, BufferReadable& buf, |
125 | 585 | Arena&) const override { |
126 | 585 | this->data(place).read(buf); |
127 | 585 | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 125 | 10 | Arena&) const override { | 126 | 10 | this->data(place).read(buf); | 127 | 10 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 125 | 19 | Arena&) const override { | 126 | 19 | this->data(place).read(buf); | 127 | 19 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 125 | 17 | Arena&) const override { | 126 | 17 | this->data(place).read(buf); | 127 | 17 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 125 | 9 | Arena&) const override { | 126 | 9 | this->data(place).read(buf); | 127 | 9 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE _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 | 526 | Arena&) const override { | 126 | 526 | this->data(place).read(buf); | 127 | 526 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE |
128 | | |
129 | 2.85M | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { |
130 | 2.85M | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); |
131 | 2.85M | column.get_data().push_back(this->data(place).get()); |
132 | 2.85M | } _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_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 129 | 997k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 130 | 997k | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); | 131 | 997k | column.get_data().push_back(this->data(place).get()); | 132 | 997k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 129 | 5.44k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 130 | 5.44k | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); | 131 | 5.44k | column.get_data().push_back(this->data(place).get()); | 132 | 5.44k | } |
_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 | } |
_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 | } |
_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_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE18insert_result_intoEPKcRNS_7IColumnE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 129 | 271k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 130 | 271k | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); | 131 | 271k | column.get_data().push_back(this->data(place).get()); | 132 | 271k | } |
_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 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE18insert_result_intoEPKcRNS_7IColumnE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE18insert_result_intoEPKcRNS_7IColumnE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 129 | 156 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 130 | 156 | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); | 131 | 156 | column.get_data().push_back(this->data(place).get()); | 132 | 156 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE18insert_result_intoEPKcRNS_7IColumnE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 129 | 1.14M | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 130 | 1.14M | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); | 131 | 1.14M | column.get_data().push_back(this->data(place).get()); | 132 | 1.14M | } |
_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_35ENS_24AggregateFunctionSumDataILS1_35EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 129 | 11 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 130 | 11 | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); | 131 | 11 | column.get_data().push_back(this->data(place).get()); | 132 | 11 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 129 | 1.78k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 130 | 1.78k | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); | 131 | 1.78k | column.get_data().push_back(this->data(place).get()); | 132 | 1.78k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 129 | 195 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 130 | 195 | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); | 131 | 195 | column.get_data().push_back(this->data(place).get()); | 132 | 195 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 129 | 8.18k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 130 | 8.18k | auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to); | 131 | 8.18k | column.get_data().push_back(this->data(place).get()); | 132 | 8.18k | } |
_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 | } |
|
133 | | |
134 | | void serialize_to_column(const std::vector<AggregateDataPtr>& places, size_t offset, |
135 | 10.0k | MutableColumnPtr& dst, const size_t num_rows) const override { |
136 | 10.0k | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); |
137 | 10.0k | DCHECK(col.item_size() == sizeof(Data)) |
138 | 4 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); |
139 | 10.0k | col.resize(num_rows); |
140 | 10.0k | auto* data = col.get_data().data(); |
141 | 1.28M | for (size_t i = 0; i != num_rows; ++i) { |
142 | 1.27M | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = |
143 | 1.27M | *reinterpret_cast<Data*>(places[i] + offset); |
144 | 1.27M | } |
145 | 10.0k | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 135 | 3.80k | MutableColumnPtr& dst, const size_t num_rows) const override { | 136 | 3.80k | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 137 | 3.80k | DCHECK(col.item_size() == sizeof(Data)) | 138 | 3 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 139 | 3.80k | col.resize(num_rows); | 140 | 3.80k | auto* data = col.get_data().data(); | 141 | 73.3k | for (size_t i = 0; i != num_rows; ++i) { | 142 | 69.5k | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 143 | 69.5k | *reinterpret_cast<Data*>(places[i] + offset); | 144 | 69.5k | } | 145 | 3.80k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 135 | 83 | MutableColumnPtr& dst, const size_t num_rows) const override { | 136 | 83 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 137 | 83 | DCHECK(col.item_size() == sizeof(Data)) | 138 | 1 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 139 | 83 | col.resize(num_rows); | 140 | 83 | auto* data = col.get_data().data(); | 141 | 167 | for (size_t i = 0; i != num_rows; ++i) { | 142 | 84 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 143 | 84 | *reinterpret_cast<Data*>(places[i] + offset); | 144 | 84 | } | 145 | 83 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 135 | 197 | MutableColumnPtr& dst, const size_t num_rows) const override { | 136 | 197 | 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 | 197 | col.resize(num_rows); | 140 | 197 | auto* data = col.get_data().data(); | 141 | 6.38k | for (size_t i = 0; i != num_rows; ++i) { | 142 | 6.19k | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 143 | 6.19k | *reinterpret_cast<Data*>(places[i] + offset); | 144 | 6.19k | } | 145 | 197 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 135 | 888 | MutableColumnPtr& dst, const size_t num_rows) const override { | 136 | 888 | 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 | 888 | col.resize(num_rows); | 140 | 888 | auto* data = col.get_data().data(); | 141 | 29.7k | for (size_t i = 0; i != num_rows; ++i) { | 142 | 28.8k | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 143 | 28.8k | *reinterpret_cast<Data*>(places[i] + offset); | 144 | 28.8k | } | 145 | 888 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 135 | 36 | MutableColumnPtr& dst, const size_t num_rows) const override { | 136 | 36 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 137 | 36 | DCHECK(col.item_size() == sizeof(Data)) | 138 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 139 | 36 | col.resize(num_rows); | 140 | 36 | auto* data = col.get_data().data(); | 141 | 44 | 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 | 36 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 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 | 73 | for (size_t i = 0; i != num_rows; ++i) { | 142 | 45 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 143 | 45 | *reinterpret_cast<Data*>(places[i] + offset); | 144 | 45 | } | 145 | 28 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 135 | 1.85k | MutableColumnPtr& dst, const size_t num_rows) const override { | 136 | 1.85k | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 137 | 1.85k | DCHECK(col.item_size() == sizeof(Data)) | 138 | 1 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 139 | 1.85k | col.resize(num_rows); | 140 | 1.85k | auto* data = col.get_data().data(); | 141 | 99.5k | for (size_t i = 0; i != num_rows; ++i) { | 142 | 97.6k | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 143 | 97.6k | *reinterpret_cast<Data*>(places[i] + offset); | 144 | 97.6k | } | 145 | 1.85k | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 135 | 9 | MutableColumnPtr& dst, const size_t num_rows) const override { | 136 | 9 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 137 | 9 | DCHECK(col.item_size() == sizeof(Data)) | 138 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 139 | 9 | col.resize(num_rows); | 140 | 9 | auto* data = col.get_data().data(); | 141 | 13 | for (size_t i = 0; i != num_rows; ++i) { | 142 | 4 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 143 | 4 | *reinterpret_cast<Data*>(places[i] + offset); | 144 | 4 | } | 145 | 9 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 135 | 1.10k | MutableColumnPtr& dst, const size_t num_rows) const override { | 136 | 1.10k | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 137 | 1.10k | DCHECK(col.item_size() == sizeof(Data)) | 138 | 3 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 139 | 1.10k | col.resize(num_rows); | 140 | 1.10k | auto* data = col.get_data().data(); | 141 | 1.51k | for (size_t i = 0; i != num_rows; ++i) { | 142 | 412 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 143 | 412 | *reinterpret_cast<Data*>(places[i] + offset); | 144 | 412 | } | 145 | 1.10k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 135 | 26 | MutableColumnPtr& dst, const size_t num_rows) const override { | 136 | 26 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 137 | 26 | DCHECK(col.item_size() == sizeof(Data)) | 138 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 139 | 26 | col.resize(num_rows); | 140 | 26 | auto* data = col.get_data().data(); | 141 | 54 | for (size_t i = 0; i != num_rows; ++i) { | 142 | 28 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 143 | 28 | *reinterpret_cast<Data*>(places[i] + offset); | 144 | 28 | } | 145 | 26 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 135 | 1.98k | MutableColumnPtr& dst, const size_t num_rows) const override { | 136 | 1.98k | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 137 | 1.98k | DCHECK(col.item_size() == sizeof(Data)) | 138 | 2 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 139 | 1.98k | col.resize(num_rows); | 140 | 1.98k | 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.98k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 135 | 5 | MutableColumnPtr& dst, const size_t num_rows) const override { | 136 | 5 | 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 | 5 | col.resize(num_rows); | 140 | 5 | auto* data = col.get_data().data(); | 141 | 7 | 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 | 5 | } |
|
146 | | |
147 | | void streaming_agg_serialize_to_column(const IColumn** columns, MutableColumnPtr& dst, |
148 | 8 | const size_t num_rows, Arena&) const override { |
149 | 8 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); |
150 | 8 | auto& src = assert_cast<const ColVecType&>(*columns[0]); |
151 | 8 | DCHECK(col.item_size() == sizeof(Data)) |
152 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); |
153 | 8 | col.resize(num_rows); |
154 | 8 | auto* src_data = src.get_data().data(); |
155 | 8 | auto* dst_data = col.get_data().data(); |
156 | 30 | 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 | 8 | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Line | Count | Source | 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_8ENS_24AggregateFunctionSumDataILS1_8EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Line | Count | Source | 148 | 4 | const size_t num_rows, Arena&) const override { | 149 | 4 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 150 | 4 | auto& src = assert_cast<const ColVecType&>(*columns[0]); | 151 | 4 | DCHECK(col.item_size() == sizeof(Data)) | 152 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 153 | 4 | col.resize(num_rows); | 154 | 4 | auto* src_data = src.get_data().data(); | 155 | 4 | auto* dst_data = col.get_data().data(); | 156 | 12 | 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 | 4 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Line | Count | Source | 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 Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE33streaming_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 | 1.39k | Arena&) const override { |
165 | 1.39k | DCHECK(end <= column.size() && begin <= end) |
166 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); |
167 | 1.39k | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); |
168 | 1.39k | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); |
169 | 2.78k | for (size_t i = begin; i <= end; ++i) { |
170 | 1.39k | this->data(place).sum += data[i].sum; |
171 | 1.39k | } |
172 | 1.39k | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 164 | 174 | Arena&) const override { | 165 | 174 | DCHECK(end <= column.size() && begin <= end) | 166 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 167 | 174 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 168 | 174 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 169 | 348 | for (size_t i = begin; i <= end; ++i) { | 170 | 174 | this->data(place).sum += data[i].sum; | 171 | 174 | } | 172 | 174 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 164 | 17 | Arena&) const override { | 165 | 17 | DCHECK(end <= column.size() && begin <= end) | 166 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 167 | 17 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 168 | 17 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 169 | 34 | for (size_t i = begin; i <= end; ++i) { | 170 | 17 | this->data(place).sum += data[i].sum; | 171 | 17 | } | 172 | 17 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 164 | 99 | Arena&) const override { | 165 | 99 | DCHECK(end <= column.size() && begin <= end) | 166 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 167 | 99 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 168 | 99 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 169 | 198 | for (size_t i = begin; i <= end; ++i) { | 170 | 99 | this->data(place).sum += data[i].sum; | 171 | 99 | } | 172 | 99 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 164 | 123 | Arena&) const override { | 165 | 123 | DCHECK(end <= column.size() && begin <= end) | 166 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 167 | 123 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 168 | 123 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 169 | 246 | for (size_t i = begin; i <= end; ++i) { | 170 | 123 | this->data(place).sum += data[i].sum; | 171 | 123 | } | 172 | 123 | } |
_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 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 164 | 31 | Arena&) const override { | 165 | 31 | DCHECK(end <= column.size() && begin <= end) | 166 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 167 | 31 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 168 | 31 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 169 | 62 | for (size_t i = begin; i <= end; ++i) { | 170 | 31 | this->data(place).sum += data[i].sum; | 171 | 31 | } | 172 | 31 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 164 | 77 | Arena&) const override { | 165 | 77 | DCHECK(end <= column.size() && begin <= end) | 166 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 167 | 77 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 168 | 77 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 169 | 154 | for (size_t i = begin; i <= end; ++i) { | 170 | 77 | this->data(place).sum += data[i].sum; | 171 | 77 | } | 172 | 77 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 164 | 3 | Arena&) const override { | 165 | 3 | DCHECK(end <= column.size() && begin <= end) | 166 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 167 | 3 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 168 | 3 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 169 | 6 | for (size_t i = begin; i <= end; ++i) { | 170 | 3 | this->data(place).sum += data[i].sum; | 171 | 3 | } | 172 | 3 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 164 | 153 | Arena&) const override { | 165 | 153 | DCHECK(end <= column.size() && begin <= end) | 166 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 167 | 153 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 168 | 153 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 169 | 308 | for (size_t i = begin; i <= end; ++i) { | 170 | 155 | this->data(place).sum += data[i].sum; | 171 | 155 | } | 172 | 153 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 164 | 12 | Arena&) const override { | 165 | 12 | DCHECK(end <= column.size() && begin <= end) | 166 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 167 | 12 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 168 | 12 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 169 | 24 | for (size_t i = begin; i <= end; ++i) { | 170 | 12 | this->data(place).sum += data[i].sum; | 171 | 12 | } | 172 | 12 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 164 | 691 | Arena&) const override { | 165 | 691 | DCHECK(end <= column.size() && begin <= end) | 166 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 167 | 691 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 168 | 691 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 169 | 1.38k | for (size_t i = begin; i <= end; ++i) { | 170 | 691 | this->data(place).sum += data[i].sum; | 171 | 691 | } | 172 | 691 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 164 | 3 | Arena&) const override { | 165 | 3 | DCHECK(end <= column.size() && begin <= end) | 166 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 167 | 3 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 168 | 3 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 169 | 6 | for (size_t i = begin; i <= end; ++i) { | 170 | 3 | this->data(place).sum += data[i].sum; | 171 | 3 | } | 172 | 3 | } |
|
173 | | |
174 | | void deserialize_and_merge_vec(const AggregateDataPtr* places, size_t offset, |
175 | | AggregateDataPtr rhs, const IColumn* column, Arena& arena, |
176 | 7.71k | const size_t num_rows) const override { |
177 | 7.71k | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); |
178 | 7.71k | const auto* data = col.get_data().data(); |
179 | 7.71k | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); |
180 | 7.71k | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 176 | 3.49k | const size_t num_rows) const override { | 177 | 3.49k | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 178 | 3.49k | const auto* data = col.get_data().data(); | 179 | 3.49k | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 180 | 3.49k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 176 | 50 | const size_t num_rows) const override { | 177 | 50 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 178 | 50 | const auto* data = col.get_data().data(); | 179 | 50 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 180 | 50 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 176 | 453 | const size_t num_rows) const override { | 177 | 453 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 178 | 453 | const auto* data = col.get_data().data(); | 179 | 453 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 180 | 453 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 176 | 651 | const size_t num_rows) const override { | 177 | 651 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 178 | 651 | const auto* data = col.get_data().data(); | 179 | 651 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 180 | 651 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 176 | 8 | const size_t num_rows) const override { | 177 | 8 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 178 | 8 | const auto* data = col.get_data().data(); | 179 | 8 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 180 | 8 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 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 _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 176 | 1.16k | const size_t num_rows) const override { | 177 | 1.16k | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 178 | 1.16k | const auto* data = col.get_data().data(); | 179 | 1.16k | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 180 | 1.16k | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 176 | 4 | const size_t num_rows) const override { | 177 | 4 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 178 | 4 | const auto* data = col.get_data().data(); | 179 | 4 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 180 | 4 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 176 | 356 | const size_t num_rows) const override { | 177 | 356 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 178 | 356 | const auto* data = col.get_data().data(); | 179 | 356 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 180 | 356 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 176 | 17 | const size_t num_rows) const override { | 177 | 17 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 178 | 17 | const auto* data = col.get_data().data(); | 179 | 17 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 180 | 17 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 176 | 1.49k | const size_t num_rows) const override { | 177 | 1.49k | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 178 | 1.49k | const auto* data = col.get_data().data(); | 179 | 1.49k | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 180 | 1.49k | } |
_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 | } |
|
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_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 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_8ENS_24AggregateFunctionSumDataILS1_8EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm |
189 | | |
190 | | void serialize_without_key_to_column(ConstAggregateDataPtr __restrict place, |
191 | 1.33k | IColumn& to) const override { |
192 | 1.33k | 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 | 1.33k | size_t old_size = col.size(); |
196 | 1.33k | col.resize(old_size + 1); |
197 | 1.33k | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; |
198 | 1.33k | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 191 | 175 | IColumn& to) const override { | 192 | 175 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 193 | 175 | DCHECK(col.item_size() == sizeof(Data)) | 194 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 195 | 175 | size_t old_size = col.size(); | 196 | 175 | col.resize(old_size + 1); | 197 | 175 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 198 | 175 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 191 | 17 | IColumn& to) const override { | 192 | 17 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 193 | 17 | DCHECK(col.item_size() == sizeof(Data)) | 194 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 195 | 17 | size_t old_size = col.size(); | 196 | 17 | col.resize(old_size + 1); | 197 | 17 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 198 | 17 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 191 | 96 | IColumn& to) const override { | 192 | 96 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 193 | 96 | DCHECK(col.item_size() == sizeof(Data)) | 194 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 195 | 96 | size_t old_size = col.size(); | 196 | 96 | col.resize(old_size + 1); | 197 | 96 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 198 | 96 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 191 | 122 | IColumn& to) const override { | 192 | 122 | 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 | 122 | size_t old_size = col.size(); | 196 | 122 | col.resize(old_size + 1); | 197 | 122 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 198 | 122 | } |
_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 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 191 | 31 | IColumn& to) const override { | 192 | 31 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 193 | 31 | DCHECK(col.item_size() == sizeof(Data)) | 194 | 1 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 195 | 31 | size_t old_size = col.size(); | 196 | 31 | col.resize(old_size + 1); | 197 | 31 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 198 | 31 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 191 | 70 | IColumn& to) const override { | 192 | 70 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 193 | 70 | DCHECK(col.item_size() == sizeof(Data)) | 194 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 195 | 70 | size_t old_size = col.size(); | 196 | 70 | col.resize(old_size + 1); | 197 | 70 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 198 | 70 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 191 | 3 | IColumn& to) const override { | 192 | 3 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 193 | 3 | DCHECK(col.item_size() == sizeof(Data)) | 194 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 195 | 3 | size_t old_size = col.size(); | 196 | 3 | col.resize(old_size + 1); | 197 | 3 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 198 | 3 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 191 | 140 | IColumn& to) const override { | 192 | 140 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 193 | 140 | DCHECK(col.item_size() == sizeof(Data)) | 194 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 195 | 140 | size_t old_size = col.size(); | 196 | 140 | col.resize(old_size + 1); | 197 | 140 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 198 | 140 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 191 | 12 | IColumn& to) const override { | 192 | 12 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 193 | 12 | DCHECK(col.item_size() == sizeof(Data)) | 194 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 195 | 12 | size_t old_size = col.size(); | 196 | 12 | col.resize(old_size + 1); | 197 | 12 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 198 | 12 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 191 | 658 | IColumn& to) const override { | 192 | 658 | 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 | 658 | size_t old_size = col.size(); | 196 | 658 | col.resize(old_size + 1); | 197 | 658 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 198 | 658 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 191 | 3 | IColumn& to) const override { | 192 | 3 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 193 | 3 | DCHECK(col.item_size() == sizeof(Data)) | 194 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 195 | 3 | size_t old_size = col.size(); | 196 | 3 | col.resize(old_size + 1); | 197 | 3 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 198 | 3 | } |
|
199 | | |
200 | 11.3k | MutableColumnPtr create_serialize_column() const override { |
201 | 11.3k | return ColumnFixedLengthObject::create(sizeof(Data)); |
202 | 11.3k | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE23create_serialize_columnEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE23create_serialize_columnEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE23create_serialize_columnEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE23create_serialize_columnEv Line | Count | Source | 200 | 3.98k | MutableColumnPtr create_serialize_column() const override { | 201 | 3.98k | return ColumnFixedLengthObject::create(sizeof(Data)); | 202 | 3.98k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE23create_serialize_columnEv Line | Count | Source | 200 | 100 | MutableColumnPtr create_serialize_column() const override { | 201 | 100 | return ColumnFixedLengthObject::create(sizeof(Data)); | 202 | 100 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE23create_serialize_columnEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE23create_serialize_columnEv Line | Count | Source | 200 | 291 | MutableColumnPtr create_serialize_column() const override { | 201 | 291 | return ColumnFixedLengthObject::create(sizeof(Data)); | 202 | 291 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE23create_serialize_columnEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE23create_serialize_columnEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE23create_serialize_columnEv Line | Count | Source | 200 | 1.00k | MutableColumnPtr create_serialize_column() const override { | 201 | 1.00k | return ColumnFixedLengthObject::create(sizeof(Data)); | 202 | 1.00k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE23create_serialize_columnEv Line | Count | Source | 200 | 45 | MutableColumnPtr create_serialize_column() const override { | 201 | 45 | return ColumnFixedLengthObject::create(sizeof(Data)); | 202 | 45 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE23create_serialize_columnEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE23create_serialize_columnEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE23create_serialize_columnEv Line | Count | Source | 200 | 59 | MutableColumnPtr create_serialize_column() const override { | 201 | 59 | return ColumnFixedLengthObject::create(sizeof(Data)); | 202 | 59 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE23create_serialize_columnEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE23create_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 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE23create_serialize_columnEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE23create_serialize_columnEv Line | Count | Source | 200 | 12 | MutableColumnPtr create_serialize_column() const override { | 201 | 12 | return ColumnFixedLengthObject::create(sizeof(Data)); | 202 | 12 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE23create_serialize_columnEv Line | Count | Source | 200 | 1.24k | MutableColumnPtr create_serialize_column() const override { | 201 | 1.24k | return ColumnFixedLengthObject::create(sizeof(Data)); | 202 | 1.24k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE23create_serialize_columnEv Line | Count | Source | 200 | 38 | MutableColumnPtr create_serialize_column() const override { | 201 | 38 | return ColumnFixedLengthObject::create(sizeof(Data)); | 202 | 38 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE23create_serialize_columnEv Line | Count | Source | 200 | 2.55k | MutableColumnPtr create_serialize_column() const override { | 201 | 2.55k | return ColumnFixedLengthObject::create(sizeof(Data)); | 202 | 2.55k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE23create_serialize_columnEv Line | Count | Source | 200 | 10 | MutableColumnPtr create_serialize_column() const override { | 201 | 10 | return ColumnFixedLengthObject::create(sizeof(Data)); | 202 | 10 | } |
|
203 | | |
204 | 11.3k | DataTypePtr get_serialized_type() const override { |
205 | 11.3k | return std::make_shared<DataTypeFixedLengthObject>(); |
206 | 11.3k | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE19get_serialized_typeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE19get_serialized_typeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE19get_serialized_typeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19get_serialized_typeEv Line | Count | Source | 204 | 3.98k | DataTypePtr get_serialized_type() const override { | 205 | 3.98k | return std::make_shared<DataTypeFixedLengthObject>(); | 206 | 3.98k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE19get_serialized_typeEv Line | Count | Source | 204 | 100 | DataTypePtr get_serialized_type() const override { | 205 | 100 | return std::make_shared<DataTypeFixedLengthObject>(); | 206 | 100 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE19get_serialized_typeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE19get_serialized_typeEv Line | Count | Source | 204 | 292 | DataTypePtr get_serialized_type() const override { | 205 | 292 | return std::make_shared<DataTypeFixedLengthObject>(); | 206 | 292 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE19get_serialized_typeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE19get_serialized_typeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE19get_serialized_typeEv Line | Count | Source | 204 | 1.01k | DataTypePtr get_serialized_type() const override { | 205 | 1.01k | return std::make_shared<DataTypeFixedLengthObject>(); | 206 | 1.01k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19get_serialized_typeEv Line | Count | Source | 204 | 45 | DataTypePtr get_serialized_type() const override { | 205 | 45 | return std::make_shared<DataTypeFixedLengthObject>(); | 206 | 45 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE19get_serialized_typeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE19get_serialized_typeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE19get_serialized_typeEv Line | Count | Source | 204 | 59 | DataTypePtr get_serialized_type() const override { | 205 | 59 | return std::make_shared<DataTypeFixedLengthObject>(); | 206 | 59 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19get_serialized_typeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE19get_serialized_typeEv Line | Count | Source | 204 | 1.96k | DataTypePtr get_serialized_type() const override { | 205 | 1.96k | return std::make_shared<DataTypeFixedLengthObject>(); | 206 | 1.96k | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19get_serialized_typeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19get_serialized_typeEv Line | Count | Source | 204 | 12 | DataTypePtr get_serialized_type() const override { | 205 | 12 | return std::make_shared<DataTypeFixedLengthObject>(); | 206 | 12 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19get_serialized_typeEv Line | Count | Source | 204 | 1.24k | DataTypePtr get_serialized_type() const override { | 205 | 1.24k | return std::make_shared<DataTypeFixedLengthObject>(); | 206 | 1.24k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19get_serialized_typeEv Line | Count | Source | 204 | 38 | DataTypePtr get_serialized_type() const override { | 205 | 38 | return std::make_shared<DataTypeFixedLengthObject>(); | 206 | 38 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19get_serialized_typeEv Line | Count | Source | 204 | 2.58k | DataTypePtr get_serialized_type() const override { | 205 | 2.58k | return std::make_shared<DataTypeFixedLengthObject>(); | 206 | 2.58k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE19get_serialized_typeEv Line | Count | Source | 204 | 10 | DataTypePtr get_serialized_type() const override { | 205 | 10 | return std::make_shared<DataTypeFixedLengthObject>(); | 206 | 10 | } |
|
207 | | |
208 | 1.28k | bool supported_incremental_mode() const override { return true; }Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE26supported_incremental_modeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE26supported_incremental_modeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE26supported_incremental_modeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE26supported_incremental_modeEv Line | Count | Source | 208 | 257 | bool supported_incremental_mode() const override { return true; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE26supported_incremental_modeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE26supported_incremental_modeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE26supported_incremental_modeEv Line | Count | Source | 208 | 155 | bool supported_incremental_mode() const override { return true; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE26supported_incremental_modeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE26supported_incremental_modeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE26supported_incremental_modeEv Line | Count | Source | 208 | 10 | 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; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE26supported_incremental_modeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE26supported_incremental_modeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE26supported_incremental_modeEv Line | Count | Source | 208 | 11 | bool supported_incremental_mode() const override { return true; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE26supported_incremental_modeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE26supported_incremental_modeEv Line | Count | Source | 208 | 11 | bool supported_incremental_mode() const override { return true; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE26supported_incremental_modeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_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 | 240 | bool supported_incremental_mode() const override { return true; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE26supported_incremental_modeEv Line | Count | Source | 208 | 6 | bool supported_incremental_mode() const override { return true; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE26supported_incremental_modeEv Line | Count | Source | 208 | 592 | bool supported_incremental_mode() const override { return true; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE26supported_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 | 708 | UInt8* could_use_previous_result) const override { |
215 | 708 | int64_t current_frame_start = std::max<int64_t>(frame_start, partition_start); |
216 | 708 | int64_t current_frame_end = std::min<int64_t>(frame_end, partition_end); |
217 | | |
218 | 708 | if (current_frame_start >= current_frame_end) { |
219 | 16 | *use_null_result = true; |
220 | 16 | return; |
221 | 16 | } |
222 | 692 | if (*could_use_previous_result) { |
223 | 635 | const auto& column = |
224 | 635 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); |
225 | 635 | const auto* data = column.get_data().data(); |
226 | 635 | auto outcoming_pos = frame_start - 1; |
227 | 635 | auto incoming_pos = frame_end - 1; |
228 | 636 | if (!previous_is_nul && outcoming_pos >= partition_start && |
229 | 635 | outcoming_pos < partition_end) { |
230 | 470 | this->data(place).add( |
231 | 470 | typename PrimitiveTypeTraits<TResult>::CppType(-data[outcoming_pos])); |
232 | 470 | } |
233 | 636 | if (!end_is_nul && incoming_pos >= partition_start && incoming_pos < partition_end) { |
234 | 496 | this->data(place).add( |
235 | 496 | typename PrimitiveTypeTraits<TResult>::CppType(data[incoming_pos])); |
236 | 496 | } |
237 | 635 | } else { |
238 | 57 | this->add_range_single_place(partition_start, partition_end, frame_start, frame_end, |
239 | 57 | place, columns, arena, use_null_result, |
240 | 57 | could_use_previous_result); |
241 | 57 | } |
242 | 692 | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Line | Count | Source | 214 | 158 | UInt8* could_use_previous_result) const override { | 215 | 158 | int64_t current_frame_start = std::max<int64_t>(frame_start, partition_start); | 216 | 158 | int64_t current_frame_end = std::min<int64_t>(frame_end, partition_end); | 217 | | | 218 | 158 | if (current_frame_start >= current_frame_end) { | 219 | 0 | *use_null_result = true; | 220 | 0 | return; | 221 | 0 | } | 222 | 158 | if (*could_use_previous_result) { | 223 | 138 | const auto& column = | 224 | 138 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 225 | 138 | const auto* data = column.get_data().data(); | 226 | 138 | auto outcoming_pos = frame_start - 1; | 227 | 138 | auto incoming_pos = frame_end - 1; | 228 | 138 | if (!previous_is_nul && outcoming_pos >= partition_start && | 229 | 138 | outcoming_pos < partition_end) { | 230 | 96 | this->data(place).add( | 231 | 96 | typename PrimitiveTypeTraits<TResult>::CppType(-data[outcoming_pos])); | 232 | 96 | } | 233 | 138 | if (!end_is_nul && incoming_pos >= partition_start && incoming_pos < partition_end) { | 234 | 113 | this->data(place).add( | 235 | 113 | typename PrimitiveTypeTraits<TResult>::CppType(data[incoming_pos])); | 236 | 113 | } | 237 | 138 | } 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 | 158 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE33execute_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_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Line | Count | Source | 214 | 235 | UInt8* could_use_previous_result) const override { | 215 | 235 | int64_t current_frame_start = std::max<int64_t>(frame_start, partition_start); | 216 | 235 | int64_t current_frame_end = std::min<int64_t>(frame_end, partition_end); | 217 | | | 218 | 235 | if (current_frame_start >= current_frame_end) { | 219 | 16 | *use_null_result = true; | 220 | 16 | return; | 221 | 16 | } | 222 | 219 | if (*could_use_previous_result) { | 223 | 201 | const auto& column = | 224 | 201 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 225 | 201 | const auto* data = column.get_data().data(); | 226 | 201 | auto outcoming_pos = frame_start - 1; | 227 | 201 | auto incoming_pos = frame_end - 1; | 228 | 202 | if (!previous_is_nul && outcoming_pos >= partition_start && | 229 | 201 | 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 | 201 | } 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 | 219 | } |
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 | 191 | UInt8* could_use_previous_result) const override { | 215 | 191 | int64_t current_frame_start = std::max<int64_t>(frame_start, partition_start); | 216 | 191 | int64_t current_frame_end = std::min<int64_t>(frame_end, partition_end); | 217 | | | 218 | 191 | if (current_frame_start >= current_frame_end) { | 219 | 0 | *use_null_result = true; | 220 | 0 | return; | 221 | 0 | } | 222 | 191 | 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 | 19 | this->add_range_single_place(partition_start, partition_end, frame_start, frame_end, | 239 | 19 | place, columns, arena, use_null_result, | 240 | 19 | could_use_previous_result); | 241 | 19 | } | 242 | 191 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE33execute_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.35k | UInt8* could_use_previous_result) const override { |
248 | 2.35k | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); |
249 | 2.35k | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); |
250 | | |
251 | 2.35k | if (current_frame_start >= current_frame_end) { |
252 | 144 | if (!*could_use_previous_result) { |
253 | 14 | *use_null_result = true; |
254 | 14 | } |
255 | 2.20k | } else { |
256 | 2.20k | const auto& column = |
257 | 2.20k | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); |
258 | 5.42k | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { |
259 | 3.21k | this->data(place).add( |
260 | 3.21k | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); |
261 | 3.21k | } |
262 | 2.20k | *use_null_result = false; |
263 | 2.20k | *could_use_previous_result = true; |
264 | 2.20k | } |
265 | 2.35k | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 247 | 436 | UInt8* could_use_previous_result) const override { | 248 | 436 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 249 | 436 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 250 | | | 251 | 436 | if (current_frame_start >= current_frame_end) { | 252 | 18 | if (!*could_use_previous_result) { | 253 | 6 | *use_null_result = true; | 254 | 6 | } | 255 | 418 | } else { | 256 | 418 | const auto& column = | 257 | 418 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 258 | 1.00k | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 259 | 587 | this->data(place).add( | 260 | 587 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 261 | 587 | } | 262 | 418 | *use_null_result = false; | 263 | 418 | *could_use_previous_result = true; | 264 | 418 | } | 265 | 436 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 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_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 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_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 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 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_ _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_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 | 361 | UInt8* could_use_previous_result) const override { | 248 | 361 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 249 | 361 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 250 | | | 251 | 361 | if (current_frame_start >= current_frame_end) { | 252 | 36 | if (!*could_use_previous_result) { | 253 | 8 | *use_null_result = true; | 254 | 8 | } | 255 | 325 | } else { | 256 | 325 | const auto& column = | 257 | 325 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 258 | 772 | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 259 | 447 | this->data(place).add( | 260 | 447 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 261 | 447 | } | 262 | 325 | *use_null_result = false; | 263 | 325 | *could_use_previous_result = true; | 264 | 325 | } | 265 | 361 | } |
_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 | 984 | UInt8* could_use_previous_result) const override { | 248 | 984 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 249 | 984 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 250 | | | 251 | 984 | if (current_frame_start >= current_frame_end) { | 252 | 90 | if (!*could_use_previous_result) { | 253 | 0 | *use_null_result = true; | 254 | 0 | } | 255 | 894 | } else { | 256 | 894 | const auto& column = | 257 | 894 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 258 | 2.47k | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 259 | 1.58k | this->data(place).add( | 260 | 1.58k | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 261 | 1.58k | } | 262 | 894 | *use_null_result = false; | 263 | 894 | *could_use_previous_result = true; | 264 | 894 | } | 265 | 984 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ |
266 | | |
267 | | private: |
268 | | UInt32 scale; |
269 | | }; |
270 | | |
271 | | constexpr PrimitiveType result_type(PrimitiveType T) { |
272 | | if (T == TYPE_LARGEINT) { |
273 | | return TYPE_LARGEINT; |
274 | | } else if (is_int_or_bool(T)) { |
275 | | return TYPE_BIGINT; |
276 | | } else if (is_float_or_double(T) || is_time_type(T)) { |
277 | | return TYPE_DOUBLE; |
278 | | } else { |
279 | | return T; |
280 | | } |
281 | | } |
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 |