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