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 | 95.4M | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { |
54 | 95.4M | #ifdef __clang__ |
55 | 95.4M | #pragma clang fp reassociate(on) |
56 | 95.4M | #endif |
57 | 95.4M | sum += value; |
58 | 95.4M | } _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 | 62.8M | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 54 | 62.8M | #ifdef __clang__ | 55 | 62.8M | #pragma clang fp reassociate(on) | 56 | 62.8M | #endif | 57 | 62.8M | sum += value; | 58 | 62.8M | } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE35EE3addENS_7DecimalIN4wide7integerILm256EiEEEE Line | Count | Source | 53 | 824 | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 54 | 824 | #ifdef __clang__ | 55 | 824 | #pragma clang fp reassociate(on) | 56 | 824 | #endif | 57 | 824 | sum += value; | 58 | 824 | } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE6EE3addEl Line | Count | Source | 53 | 29.2M | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 54 | 29.2M | #ifdef __clang__ | 55 | 29.2M | #pragma clang fp reassociate(on) | 56 | 29.2M | #endif | 57 | 29.2M | sum += value; | 58 | 29.2M | } |
_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.55M | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 54 | 2.55M | #ifdef __clang__ | 55 | 2.55M | #pragma clang fp reassociate(on) | 56 | 2.55M | #endif | 57 | 2.55M | sum += value; | 58 | 2.55M | } |
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 | 156 | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 54 | 156 | #ifdef __clang__ | 55 | 156 | #pragma clang fp reassociate(on) | 56 | 156 | #endif | 57 | 156 | sum += value; | 58 | 156 | } |
_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 | 197k | void merge(const AggregateFunctionSumData& rhs) { sum += rhs.sum; }Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE28EE5mergeERKS2_ Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE29EE5mergeERKS2_ _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE30EE5mergeERKS2_ Line | Count | Source | 60 | 146k | 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 | 44.7k | void merge(const AggregateFunctionSumData& rhs) { sum += rhs.sum; } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE7EE5mergeERKS2_ Line | Count | Source | 60 | 88 | void merge(const AggregateFunctionSumData& rhs) { sum += rhs.sum; } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE9EE5mergeERKS2_ Line | Count | Source | 60 | 6.15k | 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 | 649 | 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 | 592 | 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 | 603 | 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 | 552 | 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 | 823k | 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 | 966k | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE7EE3getEv Line | Count | Source | 66 | 5.44k | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE9EE3getEv Line | Count | Source | 66 | 12.6k | 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 | 63 | 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.93k | 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 | 23 | 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 | 6 | 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 | 19 | 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 | 307 | 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 | 598 | String get_name() const override { return "sum"; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE8get_nameB5cxx11Ev Line | Count | Source | 89 | 824 | 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 | 150 | 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 | 32.4k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( |
93 | 32.4k | argument_types_), |
94 | 32.4k | 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.22k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 1.22k | argument_types_), | 94 | 1.22k | 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.22k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 2.22k | argument_types_), | 94 | 2.22k | 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 | 159 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 159 | argument_types_), | 94 | 159 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 92 | 4.40k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 4.40k | argument_types_), | 94 | 4.40k | 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.71k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 8.71k | argument_types_), | 94 | 8.71k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 92 | 6.48k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 6.48k | argument_types_), | 94 | 6.48k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 92 | 1.18k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 1.18k | argument_types_), | 94 | 1.18k | 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.30k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 2.30k | argument_types_), | 94 | 2.30k | 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 | 982 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 982 | argument_types_), | 94 | 982 | 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.47k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 1.47k | argument_types_), | 94 | 1.47k | scale(get_decimal_scale(*argument_types_[0])) {} |
|
95 | | |
96 | 32.5k | DataTypePtr get_return_type() const override { |
97 | 32.5k | if constexpr (is_decimal(TResult)) { |
98 | 3.74k | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); |
99 | 28.8k | } else { |
100 | 28.8k | return std::make_shared<ResultDataType>(); |
101 | 28.8k | } |
102 | 32.5k | } 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 | 268 | DataTypePtr get_return_type() const override { | 97 | 268 | if constexpr (is_decimal(TResult)) { | 98 | 268 | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 99 | | } else { | 100 | | return std::make_shared<ResultDataType>(); | 101 | | } | 102 | 268 | } |
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.88k | DataTypePtr get_return_type() const override { | 97 | 1.88k | if constexpr (is_decimal(TResult)) { | 98 | 1.88k | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 99 | | } else { | 100 | | return std::make_shared<ResultDataType>(); | 101 | | } | 102 | 1.88k | } |
_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 | 8.94k | DataTypePtr get_return_type() const override { | 97 | | if constexpr (is_decimal(TResult)) { | 98 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 99 | 8.94k | } else { | 100 | 8.94k | return std::make_shared<ResultDataType>(); | 101 | 8.94k | } | 102 | 8.94k | } |
_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 | 14.1k | DataTypePtr get_return_type() const override { | 97 | | if constexpr (is_decimal(TResult)) { | 98 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 99 | 14.1k | } else { | 100 | 14.1k | return std::make_shared<ResultDataType>(); | 101 | 14.1k | } | 102 | 14.1k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE15get_return_typeEv Line | Count | Source | 96 | 4.67k | DataTypePtr get_return_type() const override { | 97 | | if constexpr (is_decimal(TResult)) { | 98 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 99 | 4.67k | } else { | 100 | 4.67k | return std::make_shared<ResultDataType>(); | 101 | 4.67k | } | 102 | 4.67k | } |
_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 | 772 | DataTypePtr get_return_type() const override { | 97 | | if constexpr (is_decimal(TResult)) { | 98 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 99 | 772 | } else { | 100 | 772 | return std::make_shared<ResultDataType>(); | 101 | 772 | } | 102 | 772 | } |
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 | 96.1M | Arena&) const override { |
108 | 96.1M | const auto& column = |
109 | 96.1M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); |
110 | 96.1M | this->data(place).add( |
111 | 96.1M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); |
112 | 96.1M | } _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 | 30.8M | Arena&) const override { | 108 | 30.8M | const auto& column = | 109 | 30.8M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 110 | 30.8M | this->data(place).add( | 111 | 30.8M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 112 | 30.8M | } |
_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 | 30.5M | Arena&) const override { | 108 | 30.5M | const auto& column = | 109 | 30.5M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 110 | 30.5M | this->data(place).add( | 111 | 30.5M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 112 | 30.5M | } |
_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 | 20.5M | Arena&) const override { | 108 | 20.5M | const auto& column = | 109 | 20.5M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 110 | 20.5M | this->data(place).add( | 111 | 20.5M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 112 | 20.5M | } |
_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.67M | Arena&) const override { | 108 | 6.67M | const auto& column = | 109 | 6.67M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 110 | 6.67M | this->data(place).add( | 111 | 6.67M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 112 | 6.67M | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 107 | 1.97M | Arena&) const override { | 108 | 1.97M | const auto& column = | 109 | 1.97M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 110 | 1.97M | this->data(place).add( | 111 | 1.97M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 112 | 1.97M | } |
_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.55M | Arena&) const override { | 108 | 2.55M | const auto& column = | 109 | 2.55M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 110 | 2.55M | this->data(place).add( | 111 | 2.55M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 112 | 2.55M | } |
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 | 156 | Arena&) const override { | 108 | 156 | const auto& column = | 109 | 156 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 110 | 156 | this->data(place).add( | 111 | 156 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 112 | 156 | } |
_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.35M | 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 | 132 | 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 | 751 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5resetEPc Line | Count | Source | 114 | 922k | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE5resetEPc Line | Count | Source | 114 | 5.30k | 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.50k | 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 | 38 | 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 | 198k | Arena&) const override { |
118 | 198k | this->data(place).merge(this->data(rhs)); |
119 | 198k | } 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 | 36 | Arena&) const override { | 118 | 36 | this->data(place).merge(this->data(rhs)); | 119 | 36 | } |
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 | 111k | Arena&) const override { | 118 | 111k | this->data(place).merge(this->data(rhs)); | 119 | 111k | } |
_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 | 35.3k | Arena&) const override { | 118 | 35.3k | this->data(place).merge(this->data(rhs)); | 119 | 35.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 | 120 | Arena&) const override { | 118 | 120 | this->data(place).merge(this->data(rhs)); | 119 | 120 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 117 | 21 | Arena&) const override { | 118 | 21 | this->data(place).merge(this->data(rhs)); | 119 | 21 | } |
_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 | 19.9k | Arena&) const override { | 118 | 19.9k | this->data(place).merge(this->data(rhs)); | 119 | 19.9k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 117 | 88 | Arena&) const override { | 118 | 88 | this->data(place).merge(this->data(rhs)); | 119 | 88 | } |
_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.15k | Arena&) const override { | 118 | 6.15k | this->data(place).merge(this->data(rhs)); | 119 | 6.15k | } |
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 | 649 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { |
122 | 649 | this->data(place).write(buf); |
123 | 649 | } 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 | 588 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 122 | 588 | this->data(place).write(buf); | 123 | 588 | } |
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 | 603 | Arena&) const override { |
127 | 603 | this->data(place).read(buf); |
128 | 603 | } 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 | 548 | Arena&) const override { | 127 | 548 | this->data(place).read(buf); | 128 | 548 | } |
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 | 772k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 131 | 772k | auto& column = assert_cast<ColVecResult&>(to); | 132 | 772k | column.get_data().push_back(this->data(place).get()); | 133 | 772k | } |
_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 | 49.8k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 131 | 49.8k | auto& column = assert_cast<ColVecResult&>(to); | 132 | 49.8k | column.get_data().push_back(this->data(place).get()); | 133 | 49.8k | } |
_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 | 3.00k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 131 | 3.00k | auto& column = assert_cast<ColVecResult&>(to); | 132 | 3.00k | column.get_data().push_back(this->data(place).get()); | 133 | 3.00k | } |
_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 | 19.1k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 131 | 19.1k | auto& column = assert_cast<ColVecResult&>(to); | 132 | 19.1k | column.get_data().push_back(this->data(place).get()); | 133 | 19.1k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 130 | 944k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 131 | 944k | auto& column = assert_cast<ColVecResult&>(to); | 132 | 944k | column.get_data().push_back(this->data(place).get()); | 133 | 944k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 130 | 5.44k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 131 | 5.44k | auto& column = assert_cast<ColVecResult&>(to); | 132 | 5.44k | column.get_data().push_back(this->data(place).get()); | 133 | 5.44k | } |
_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 | 63 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 131 | 63 | auto& column = assert_cast<ColVecResult&>(to); | 132 | 63 | column.get_data().push_back(this->data(place).get()); | 133 | 63 | } |
_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.66k | MutableColumnPtr& dst, const size_t num_rows) const override { |
137 | 7.66k | 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 | 7.66k | col.resize(num_rows); |
141 | 7.66k | auto* data = col.get_data().data(); |
142 | 1.36M | for (size_t i = 0; i != num_rows; ++i) { |
143 | 1.35M | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = |
144 | 1.35M | *reinterpret_cast<Data*>(places[i] + offset); |
145 | 1.35M | } |
146 | 7.66k | } 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 | 24 | MutableColumnPtr& dst, const size_t num_rows) const override { | 137 | 24 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 138 | 24 | DCHECK(col.item_size() == sizeof(Data)) | 139 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 140 | 24 | col.resize(num_rows); | 141 | 24 | auto* data = col.get_data().data(); | 142 | 60 | for (size_t i = 0; i != num_rows; ++i) { | 143 | 36 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 144 | 36 | *reinterpret_cast<Data*>(places[i] + offset); | 145 | 36 | } | 146 | 24 | } |
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.35k | MutableColumnPtr& dst, const size_t num_rows) const override { | 137 | 2.35k | 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.35k | col.resize(num_rows); | 141 | 2.35k | auto* data = col.get_data().data(); | 142 | 107k | for (size_t i = 0; i != num_rows; ++i) { | 143 | 105k | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 144 | 105k | *reinterpret_cast<Data*>(places[i] + offset); | 145 | 105k | } | 146 | 2.35k | } |
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.03k | MutableColumnPtr& dst, const size_t num_rows) const override { | 137 | 1.03k | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 138 | 18.4E | DCHECK(col.item_size() == sizeof(Data)) | 139 | 18.4E | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 140 | 1.03k | col.resize(num_rows); | 141 | 1.03k | auto* data = col.get_data().data(); | 142 | 35.1k | for (size_t i = 0; i != num_rows; ++i) { | 143 | 34.1k | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 144 | 34.1k | *reinterpret_cast<Data*>(places[i] + offset); | 145 | 34.1k | } | 146 | 1.03k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 136 | 16 | MutableColumnPtr& dst, const size_t num_rows) const override { | 137 | 16 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 138 | 16 | DCHECK(col.item_size() == sizeof(Data)) | 139 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 140 | 16 | col.resize(num_rows); | 141 | 16 | auto* data = col.get_data().data(); | 142 | 18 | 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 | 16 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 136 | 28 | MutableColumnPtr& dst, const size_t num_rows) const override { | 137 | 28 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 138 | 28 | DCHECK(col.item_size() == sizeof(Data)) | 139 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 140 | 28 | col.resize(num_rows); | 141 | 28 | auto* data = col.get_data().data(); | 142 | 36 | 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 | 28 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 136 | 196 | MutableColumnPtr& dst, const size_t num_rows) const override { | 137 | 196 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 138 | 196 | DCHECK(col.item_size() == sizeof(Data)) | 139 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 140 | 196 | col.resize(num_rows); | 141 | 196 | auto* data = col.get_data().data(); | 142 | 300 | for (size_t i = 0; i != num_rows; ++i) { | 143 | 104 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 144 | 104 | *reinterpret_cast<Data*>(places[i] + offset); | 145 | 104 | } | 146 | 196 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 136 | 22 | MutableColumnPtr& dst, const size_t num_rows) const override { | 137 | 22 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 138 | 22 | DCHECK(col.item_size() == sizeof(Data)) | 139 | 1 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 140 | 22 | col.resize(num_rows); | 141 | 22 | auto* data = col.get_data().data(); | 142 | 43 | for (size_t i = 0; i != num_rows; ++i) { | 143 | 21 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 144 | 21 | *reinterpret_cast<Data*>(places[i] + offset); | 145 | 21 | } | 146 | 22 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 136 | 1.14k | MutableColumnPtr& dst, const size_t num_rows) const override { | 137 | 1.14k | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 138 | 1.14k | DCHECK(col.item_size() == sizeof(Data)) | 139 | 1 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 140 | 1.14k | col.resize(num_rows); | 141 | 1.14k | 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.14k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 136 | 2.47k | MutableColumnPtr& dst, const size_t num_rows) const override { | 137 | 2.47k | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 138 | 2.47k | DCHECK(col.item_size() == sizeof(Data)) | 139 | 5 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 140 | 2.47k | col.resize(num_rows); | 141 | 2.47k | auto* data = col.get_data().data(); | 142 | 130k | for (size_t i = 0; i != num_rows; ++i) { | 143 | 128k | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 144 | 128k | *reinterpret_cast<Data*>(places[i] + offset); | 145 | 128k | } | 146 | 2.47k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 136 | 112 | MutableColumnPtr& dst, const size_t num_rows) const override { | 137 | 112 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 138 | 112 | DCHECK(col.item_size() == sizeof(Data)) | 139 | 1 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 140 | 112 | col.resize(num_rows); | 141 | 112 | auto* data = col.get_data().data(); | 142 | 200 | for (size_t i = 0; i != num_rows; ++i) { | 143 | 88 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 144 | 88 | *reinterpret_cast<Data*>(places[i] + offset); | 145 | 88 | } | 146 | 112 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 136 | 2 | MutableColumnPtr& dst, const size_t num_rows) const override { | 137 | 2 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 138 | 2 | DCHECK(col.item_size() == sizeof(Data)) | 139 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 140 | 2 | col.resize(num_rows); | 141 | 2 | auto* data = col.get_data().data(); | 142 | 4 | 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 | 2 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 136 | 270 | MutableColumnPtr& dst, const size_t num_rows) const override { | 137 | 270 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 138 | 270 | DCHECK(col.item_size() == sizeof(Data)) | 139 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 140 | 270 | col.resize(num_rows); | 141 | 270 | auto* data = col.get_data().data(); | 142 | 6.40k | for (size_t i = 0; i != num_rows; ++i) { | 143 | 6.13k | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 144 | 6.13k | *reinterpret_cast<Data*>(places[i] + offset); | 145 | 6.13k | } | 146 | 270 | } |
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 | 6.98k | Arena&) const override { |
166 | 6.98k | DCHECK(end <= column.size() && begin <= end) |
167 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); |
168 | 6.98k | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); |
169 | 6.98k | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); |
170 | 13.9k | for (size_t i = begin; i <= end; ++i) { |
171 | 6.98k | this->data(place).sum += data[i].sum; |
172 | 6.98k | } |
173 | 6.98k | } 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 | 109 | Arena&) const override { | 166 | 109 | DCHECK(end <= column.size() && begin <= end) | 167 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 168 | 109 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 169 | 109 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 170 | 218 | for (size_t i = begin; i <= end; ++i) { | 171 | 109 | this->data(place).sum += data[i].sum; | 172 | 109 | } | 173 | 109 | } |
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 | 234 | Arena&) const override { | 166 | 234 | DCHECK(end <= column.size() && begin <= end) | 167 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 168 | 234 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 169 | 234 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 170 | 468 | for (size_t i = begin; i <= end; ++i) { | 171 | 234 | this->data(place).sum += data[i].sum; | 172 | 234 | } | 173 | 234 | } |
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 | 125 | Arena&) const override { | 166 | 125 | DCHECK(end <= column.size() && begin <= end) | 167 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 168 | 125 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 169 | 125 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 170 | 250 | for (size_t i = begin; i <= end; ++i) { | 171 | 125 | this->data(place).sum += data[i].sum; | 172 | 125 | } | 173 | 125 | } |
_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 | 2.83k | Arena&) const override { | 166 | 2.83k | DCHECK(end <= column.size() && begin <= end) | 167 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 168 | 2.83k | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 169 | 2.83k | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 170 | 5.66k | for (size_t i = begin; i <= end; ++i) { | 171 | 2.83k | this->data(place).sum += data[i].sum; | 172 | 2.83k | } | 173 | 2.83k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE39deserialize_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_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 | 342 | Arena&) const override { | 166 | 342 | DCHECK(end <= column.size() && begin <= end) | 167 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 168 | 342 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 169 | 342 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 170 | 684 | for (size_t i = begin; i <= end; ++i) { | 171 | 342 | this->data(place).sum += data[i].sum; | 172 | 342 | } | 173 | 342 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 165 | 6 | Arena&) const override { | 166 | 6 | DCHECK(end <= column.size() && begin <= end) | 167 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 168 | 6 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 169 | 6 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 170 | 12 | for (size_t i = begin; i <= end; ++i) { | 171 | 6 | this->data(place).sum += data[i].sum; | 172 | 6 | } | 173 | 6 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 165 | 22 | Arena&) const override { | 166 | 22 | DCHECK(end <= column.size() && begin <= end) | 167 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 168 | 22 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 169 | 22 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 170 | 44 | for (size_t i = begin; i <= end; ++i) { | 171 | 22 | this->data(place).sum += data[i].sum; | 172 | 22 | } | 173 | 22 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 165 | 133 | Arena&) const override { | 166 | 133 | DCHECK(end <= column.size() && begin <= end) | 167 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 168 | 133 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 169 | 133 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 170 | 266 | for (size_t i = begin; i <= end; ++i) { | 171 | 133 | this->data(place).sum += data[i].sum; | 172 | 133 | } | 173 | 133 | } |
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 | 7.69k | const size_t num_rows) const override { |
178 | 7.69k | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); |
179 | 7.69k | const auto* data = col.get_data().data(); |
180 | 7.69k | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); |
181 | 7.69k | } 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 | 22 | const size_t num_rows) const override { | 178 | 22 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 179 | 22 | const auto* data = col.get_data().data(); | 180 | 22 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 181 | 22 | } |
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.11k | const size_t num_rows) const override { | 178 | 1.11k | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 179 | 1.11k | const auto* data = col.get_data().data(); | 180 | 1.11k | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 181 | 1.11k | } |
_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 | 8 | const size_t num_rows) const override { | 178 | 8 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 179 | 8 | const auto* data = col.get_data().data(); | 180 | 8 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 181 | 8 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 177 | 78 | const size_t num_rows) const override { | 178 | 78 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 179 | 78 | const auto* data = col.get_data().data(); | 180 | 78 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 181 | 78 | } |
_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 | 698 | const size_t num_rows) const override { | 178 | 698 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 179 | 698 | const auto* data = col.get_data().data(); | 180 | 698 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 181 | 698 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 177 | 3.99k | const size_t num_rows) const override { | 178 | 3.99k | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 179 | 3.99k | const auto* data = col.get_data().data(); | 180 | 3.99k | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 181 | 3.99k | } |
_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 | 262 | const size_t num_rows) const override { | 178 | 262 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 179 | 262 | const auto* data = col.get_data().data(); | 180 | 262 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 181 | 262 | } |
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 | 6.95k | IColumn& to) const override { |
193 | 6.95k | auto& col = assert_cast<ColumnFixedLengthObject&>(to); |
194 | 6.95k | DCHECK(col.item_size() == sizeof(Data)) |
195 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); |
196 | 6.95k | size_t old_size = col.size(); |
197 | 6.95k | col.resize(old_size + 1); |
198 | 6.95k | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; |
199 | 6.95k | } 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 | 109 | IColumn& to) const override { | 193 | 109 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 194 | 109 | DCHECK(col.item_size() == sizeof(Data)) | 195 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 196 | 109 | size_t old_size = col.size(); | 197 | 109 | col.resize(old_size + 1); | 198 | 109 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 199 | 109 | } |
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 | 231 | IColumn& to) const override { | 193 | 231 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 194 | 231 | DCHECK(col.item_size() == sizeof(Data)) | 195 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 196 | 231 | size_t old_size = col.size(); | 197 | 231 | col.resize(old_size + 1); | 198 | 231 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 199 | 231 | } |
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 | 125 | IColumn& to) const override { | 193 | 125 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 194 | 125 | DCHECK(col.item_size() == sizeof(Data)) | 195 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 196 | 125 | size_t old_size = col.size(); | 197 | 125 | col.resize(old_size + 1); | 198 | 125 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 199 | 125 | } |
_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 | 2.82k | IColumn& to) const override { | 193 | 2.82k | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 194 | 2.82k | DCHECK(col.item_size() == sizeof(Data)) | 195 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 196 | 2.82k | size_t old_size = col.size(); | 197 | 2.82k | col.resize(old_size + 1); | 198 | 2.82k | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 199 | 2.82k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE31serialize_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_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 | 3.14k | DCHECK(col.item_size() == sizeof(Data)) | 195 | 0 | << "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 | 339 | IColumn& to) const override { | 193 | 339 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 194 | 339 | DCHECK(col.item_size() == sizeof(Data)) | 195 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 196 | 339 | size_t old_size = col.size(); | 197 | 339 | col.resize(old_size + 1); | 198 | 339 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 199 | 339 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 192 | 6 | IColumn& to) const override { | 193 | 6 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 194 | 6 | DCHECK(col.item_size() == sizeof(Data)) | 195 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 196 | 6 | size_t old_size = col.size(); | 197 | 6 | col.resize(old_size + 1); | 198 | 6 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 199 | 6 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 192 | 22 | IColumn& to) const override { | 193 | 22 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 194 | 22 | DCHECK(col.item_size() == sizeof(Data)) | 195 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 196 | 22 | size_t old_size = col.size(); | 197 | 22 | col.resize(old_size + 1); | 198 | 22 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 199 | 22 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 192 | 133 | IColumn& to) const override { | 193 | 133 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 194 | 133 | DCHECK(col.item_size() == sizeof(Data)) | 195 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 196 | 133 | size_t old_size = col.size(); | 197 | 133 | col.resize(old_size + 1); | 198 | 133 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 199 | 133 | } |
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 | 14.5k | MutableColumnPtr create_serialize_column() const override { |
202 | 14.5k | return ColumnFixedLengthObject::create(sizeof(Data)); |
203 | 14.5k | } 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 | 133 | MutableColumnPtr create_serialize_column() const override { | 202 | 133 | return ColumnFixedLengthObject::create(sizeof(Data)); | 203 | 133 | } |
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.58k | MutableColumnPtr create_serialize_column() const override { | 202 | 2.58k | return ColumnFixedLengthObject::create(sizeof(Data)); | 203 | 2.58k | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE23create_serialize_columnEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE23create_serialize_columnEv Line | Count | Source | 201 | 1.16k | MutableColumnPtr create_serialize_column() const override { | 202 | 1.16k | return ColumnFixedLengthObject::create(sizeof(Data)); | 203 | 1.16k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE23create_serialize_columnEv Line | Count | Source | 201 | 18 | MutableColumnPtr create_serialize_column() const override { | 202 | 18 | return ColumnFixedLengthObject::create(sizeof(Data)); | 203 | 18 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE23create_serialize_columnEv Line | Count | Source | 201 | 37 | MutableColumnPtr create_serialize_column() const override { | 202 | 37 | return ColumnFixedLengthObject::create(sizeof(Data)); | 203 | 37 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE23create_serialize_columnEv Line | Count | Source | 201 | 3.02k | MutableColumnPtr create_serialize_column() const override { | 202 | 3.02k | return ColumnFixedLengthObject::create(sizeof(Data)); | 203 | 3.02k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE23create_serialize_columnEv Line | Count | Source | 201 | 32 | MutableColumnPtr create_serialize_column() const override { | 202 | 32 | return ColumnFixedLengthObject::create(sizeof(Data)); | 203 | 32 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE23create_serialize_columnEv Line | Count | Source | 201 | 4.23k | MutableColumnPtr create_serialize_column() const override { | 202 | 4.23k | return ColumnFixedLengthObject::create(sizeof(Data)); | 203 | 4.23k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE23create_serialize_columnEv Line | Count | Source | 201 | 2.81k | MutableColumnPtr create_serialize_column() const override { | 202 | 2.81k | return ColumnFixedLengthObject::create(sizeof(Data)); | 203 | 2.81k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE23create_serialize_columnEv Line | Count | Source | 201 | 120 | MutableColumnPtr create_serialize_column() const override { | 202 | 120 | return ColumnFixedLengthObject::create(sizeof(Data)); | 203 | 120 | } |
_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 | 404 | MutableColumnPtr create_serialize_column() const override { | 202 | 404 | return ColumnFixedLengthObject::create(sizeof(Data)); | 203 | 404 | } |
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 | 14.6k | DataTypePtr get_serialized_type() const override { |
206 | 14.6k | return std::make_shared<DataTypeFixedLengthObject>(); |
207 | 14.6k | } 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 | 133 | DataTypePtr get_serialized_type() const override { | 206 | 133 | return std::make_shared<DataTypeFixedLengthObject>(); | 207 | 133 | } |
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.60k | DataTypePtr get_serialized_type() const override { | 206 | 2.60k | return std::make_shared<DataTypeFixedLengthObject>(); | 207 | 2.60k | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19get_serialized_typeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE19get_serialized_typeEv Line | Count | Source | 205 | 1.16k | DataTypePtr get_serialized_type() const override { | 206 | 1.16k | return std::make_shared<DataTypeFixedLengthObject>(); | 207 | 1.16k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19get_serialized_typeEv Line | Count | Source | 205 | 18 | DataTypePtr get_serialized_type() const override { | 206 | 18 | return std::make_shared<DataTypeFixedLengthObject>(); | 207 | 18 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19get_serialized_typeEv Line | Count | Source | 205 | 37 | DataTypePtr get_serialized_type() const override { | 206 | 37 | return std::make_shared<DataTypeFixedLengthObject>(); | 207 | 37 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19get_serialized_typeEv Line | Count | Source | 205 | 3.03k | DataTypePtr get_serialized_type() const override { | 206 | 3.03k | return std::make_shared<DataTypeFixedLengthObject>(); | 207 | 3.03k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19get_serialized_typeEv Line | Count | Source | 205 | 33 | DataTypePtr get_serialized_type() const override { | 206 | 33 | return std::make_shared<DataTypeFixedLengthObject>(); | 207 | 33 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19get_serialized_typeEv Line | Count | Source | 205 | 4.26k | DataTypePtr get_serialized_type() const override { | 206 | 4.26k | return std::make_shared<DataTypeFixedLengthObject>(); | 207 | 4.26k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19get_serialized_typeEv Line | Count | Source | 205 | 2.81k | DataTypePtr get_serialized_type() const override { | 206 | 2.81k | return std::make_shared<DataTypeFixedLengthObject>(); | 207 | 2.81k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE19get_serialized_typeEv Line | Count | Source | 205 | 119 | DataTypePtr get_serialized_type() const override { | 206 | 119 | return std::make_shared<DataTypeFixedLengthObject>(); | 207 | 119 | } |
_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.66k | 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 | 23 | 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 | 6 | 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 | 7 | 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 | 310 | 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 | 388 | bool supported_incremental_mode() const override { return true; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE26supported_incremental_modeEv Line | Count | Source | 209 | 780 | 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 | 150 | 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.10k | UInt8* could_use_previous_result) const override { |
249 | 2.10k | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); |
250 | 2.10k | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); |
251 | | |
252 | 2.10k | if (current_frame_start >= current_frame_end) { |
253 | 147 | if (!*could_use_previous_result) { |
254 | 9 | *use_null_result = true; |
255 | 9 | } |
256 | 1.96k | } else { |
257 | 1.96k | const auto& column = |
258 | 1.96k | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); |
259 | 4.57k | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { |
260 | 2.61k | this->data(place).add( |
261 | 2.61k | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); |
262 | 2.61k | } |
263 | 1.96k | *use_null_result = false; |
264 | 1.96k | *could_use_previous_result = true; |
265 | 1.96k | } |
266 | 2.10k | } 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 | 719 | UInt8* could_use_previous_result) const override { | 249 | 719 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 250 | 719 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 251 | | | 252 | 719 | if (current_frame_start >= current_frame_end) { | 253 | 90 | if (!*could_use_previous_result) { | 254 | 0 | *use_null_result = true; | 255 | 0 | } | 256 | 629 | } else { | 257 | 629 | const auto& column = | 258 | 629 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 259 | 1.56k | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 260 | 939 | this->data(place).add( | 261 | 939 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 262 | 939 | } | 263 | 629 | *use_null_result = false; | 264 | 629 | *could_use_previous_result = true; | 265 | 629 | } | 266 | 719 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 248 | 464 | UInt8* could_use_previous_result) const override { | 249 | 464 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 250 | 464 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 251 | | | 252 | 464 | if (current_frame_start >= current_frame_end) { | 253 | 21 | if (!*could_use_previous_result) { | 254 | 1 | *use_null_result = true; | 255 | 1 | } | 256 | 443 | } else { | 257 | 443 | const auto& column = | 258 | 443 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 259 | 1.08k | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 260 | 637 | this->data(place).add( | 261 | 637 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 262 | 637 | } | 263 | 443 | *use_null_result = false; | 264 | 443 | *could_use_previous_result = true; | 265 | 443 | } | 266 | 464 | } |
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 |