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 | | #include "common/compile_check_begin.h" |
40 | | class Arena; |
41 | | class BufferReadable; |
42 | | class BufferWritable; |
43 | | template <PrimitiveType T> |
44 | | class ColumnDecimal; |
45 | | template <PrimitiveType T> |
46 | | class DataTypeNumber; |
47 | | template <PrimitiveType T> |
48 | | class ColumnVector; |
49 | | |
50 | | template <PrimitiveType T> |
51 | | struct AggregateFunctionSumData { |
52 | | typename PrimitiveTypeTraits<T>::CppType sum {}; |
53 | | |
54 | 36.7M | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { |
55 | 36.7M | #ifdef __clang__ |
56 | 36.7M | #pragma clang fp reassociate(on) |
57 | 36.7M | #endif |
58 | 36.7M | sum += value; |
59 | 36.7M | } _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE28EE3addENS_7DecimalIiEE Line | Count | Source | 54 | 10 | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 55 | 10 | #ifdef __clang__ | 56 | 10 | #pragma clang fp reassociate(on) | 57 | 10 | #endif | 58 | 10 | sum += value; | 59 | 10 | } |
Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE29EE3addENS_7DecimalIlEE _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE30EE3addENS_12Decimal128V3E Line | Count | Source | 54 | 11.7M | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 55 | 11.7M | #ifdef __clang__ | 56 | 11.7M | #pragma clang fp reassociate(on) | 57 | 11.7M | #endif | 58 | 11.7M | sum += value; | 59 | 11.7M | } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE35EE3addENS_7DecimalIN4wide7integerILm256EiEEEE Line | Count | Source | 54 | 824 | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 55 | 824 | #ifdef __clang__ | 56 | 824 | #pragma clang fp reassociate(on) | 57 | 824 | #endif | 58 | 824 | sum += value; | 59 | 824 | } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE6EE3addEl Line | Count | Source | 54 | 21.6M | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 55 | 21.6M | #ifdef __clang__ | 56 | 21.6M | #pragma clang fp reassociate(on) | 57 | 21.6M | #endif | 58 | 21.6M | sum += value; | 59 | 21.6M | } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE7EE3addEn Line | Count | Source | 54 | 10.9k | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 55 | 10.9k | #ifdef __clang__ | 56 | 10.9k | #pragma clang fp reassociate(on) | 57 | 10.9k | #endif | 58 | 10.9k | sum += value; | 59 | 10.9k | } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE9EE3addEd Line | Count | Source | 54 | 2.55M | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 55 | 2.55M | #ifdef __clang__ | 56 | 2.55M | #pragma clang fp reassociate(on) | 57 | 2.55M | #endif | 58 | 2.55M | sum += value; | 59 | 2.55M | } |
Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE20EE3addENS_14DecimalV2ValueE _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE3EE3addEa Line | Count | Source | 54 | 40 | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 55 | 40 | #ifdef __clang__ | 56 | 40 | #pragma clang fp reassociate(on) | 57 | 40 | #endif | 58 | 40 | sum += value; | 59 | 40 | } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE4EE3addEs Line | Count | Source | 54 | 140 | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 55 | 140 | #ifdef __clang__ | 56 | 140 | #pragma clang fp reassociate(on) | 57 | 140 | #endif | 58 | 140 | sum += value; | 59 | 140 | } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE5EE3addEi Line | Count | Source | 54 | 819k | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 55 | 819k | #ifdef __clang__ | 56 | 819k | #pragma clang fp reassociate(on) | 57 | 819k | #endif | 58 | 819k | sum += value; | 59 | 819k | } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE8EE3addEf Line | Count | Source | 54 | 10.2k | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 55 | 10.2k | #ifdef __clang__ | 56 | 10.2k | #pragma clang fp reassociate(on) | 57 | 10.2k | #endif | 58 | 10.2k | sum += value; | 59 | 10.2k | } |
|
60 | | |
61 | 124k | void merge(const AggregateFunctionSumData& rhs) { sum += rhs.sum; }Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE28EE5mergeERKS2_ Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE29EE5mergeERKS2_ _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE30EE5mergeERKS2_ Line | Count | Source | 61 | 88.1k | void merge(const AggregateFunctionSumData& rhs) { sum += rhs.sum; } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE35EE5mergeERKS2_ Line | Count | Source | 61 | 56 | void merge(const AggregateFunctionSumData& rhs) { sum += rhs.sum; } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE6EE5mergeERKS2_ Line | Count | Source | 61 | 30.1k | void merge(const AggregateFunctionSumData& rhs) { sum += rhs.sum; } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE7EE5mergeERKS2_ Line | Count | Source | 61 | 107 | void merge(const AggregateFunctionSumData& rhs) { sum += rhs.sum; } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE9EE5mergeERKS2_ Line | Count | Source | 61 | 6.37k | 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_ |
62 | | |
63 | 704 | 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 | 63 | 28 | void write(BufferWritable& buf) const { buf.write_binary(sum); } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE35EE5writeERNS_14BufferWritableE Line | Count | Source | 63 | 28 | void write(BufferWritable& buf) const { buf.write_binary(sum); } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE6EE5writeERNS_14BufferWritableE Line | Count | Source | 63 | 647 | void write(BufferWritable& buf) const { buf.write_binary(sum); } |
Unexecuted instantiation: _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE7EE5writeERNS_14BufferWritableE _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE9EE5writeERNS_14BufferWritableE Line | Count | Source | 63 | 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 |
64 | | |
65 | 646 | void read(BufferReadable& buf) { buf.read_binary(sum); }Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE28EE4readERNS_14BufferReadableE Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE29EE4readERNS_14BufferReadableE _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE30EE4readERNS_14BufferReadableE Line | Count | Source | 65 | 23 | void read(BufferReadable& buf) { buf.read_binary(sum); } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE35EE4readERNS_14BufferReadableE Line | Count | Source | 65 | 28 | void read(BufferReadable& buf) { buf.read_binary(sum); } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE6EE4readERNS_14BufferReadableE Line | Count | Source | 65 | 595 | 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 |
66 | | |
67 | 2.19M | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; }_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE28EE3getEv Line | Count | Source | 67 | 4 | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
Unexecuted instantiation: _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE29EE3getEv _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE30EE3getEv Line | Count | Source | 67 | 777k | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE35EE3getEv Line | Count | Source | 67 | 236 | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE6EE3getEv Line | Count | Source | 67 | 986k | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE7EE3getEv Line | Count | Source | 67 | 5.46k | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE9EE3getEv Line | Count | Source | 67 | 12.8k | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
Unexecuted instantiation: _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE20EE3getEv _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE3EE3getEv Line | Count | Source | 67 | 14 | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE4EE3getEv Line | Count | Source | 67 | 47 | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE5EE3getEv Line | Count | Source | 67 | 409k | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE8EE3getEv Line | Count | Source | 67 | 5.20k | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
|
68 | | }; |
69 | | |
70 | | template <PrimitiveType T, PrimitiveType TResult, typename Data> |
71 | | class AggregateFunctionSum; |
72 | | |
73 | | template <PrimitiveType T, PrimitiveType TResult> |
74 | | constexpr static bool is_valid_sum_types = |
75 | | (is_same_or_wider_decimalv3(T, TResult) || (is_decimalv2(T) && is_decimalv2(TResult)) || |
76 | | (is_float_or_double(T) && is_float_or_double(TResult)) || |
77 | | (is_int_or_bool(T) && is_int(TResult))); |
78 | | /// Counts the sum of the numbers. |
79 | | template <PrimitiveType T, PrimitiveType TResult, typename Data> |
80 | | requires(is_valid_sum_types<T, TResult>) |
81 | | class AggregateFunctionSum<T, TResult, Data> final |
82 | | : public IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>, |
83 | | UnaryExpression, |
84 | | NullableAggregateFunction { |
85 | | public: |
86 | | using ResultDataType = typename PrimitiveTypeTraits<TResult>::DataType; |
87 | | using ColVecType = typename PrimitiveTypeTraits<T>::ColumnType; |
88 | | using ColVecResult = typename PrimitiveTypeTraits<TResult>::ColumnType; |
89 | | |
90 | 1.47k | 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 | 90 | 19 | 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 | 90 | 12 | String get_name() const override { return "sum"; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE8get_nameB5cxx11Ev _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE8get_nameB5cxx11Ev Line | Count | Source | 90 | 48 | String get_name() const override { return "sum"; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE8get_nameB5cxx11Ev Line | Count | Source | 90 | 1 | String get_name() const override { return "sum"; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE8get_nameB5cxx11Ev Line | Count | Source | 90 | 3 | String get_name() const override { return "sum"; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE8get_nameB5cxx11Ev Line | Count | Source | 90 | 191 | String get_name() const override { return "sum"; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE8get_nameB5cxx11Ev _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE8get_nameB5cxx11Ev Line | Count | Source | 90 | 717 | String get_name() const override { return "sum"; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE8get_nameB5cxx11Ev Line | Count | Source | 90 | 374 | 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 | 90 | 106 | 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 |
91 | | |
92 | | AggregateFunctionSum(const DataTypes& argument_types_) |
93 | 26.9k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( |
94 | 26.9k | argument_types_), |
95 | 26.9k | scale(get_decimal_scale(*argument_types_[0])) {}_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 93 | 894 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 894 | argument_types_), | 95 | 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 | 93 | 82 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 82 | argument_types_), | 95 | 82 | 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 | 93 | 30 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 30 | argument_types_), | 95 | 30 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 93 | 1.18k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 1.18k | argument_types_), | 95 | 1.18k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 93 | 18 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 18 | argument_types_), | 95 | 18 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 93 | 2.14k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 2.14k | argument_types_), | 95 | 2.14k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 93 | 9 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 9 | argument_types_), | 95 | 9 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 93 | 157 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 157 | argument_types_), | 95 | 157 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 93 | 1.50k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 1.50k | argument_types_), | 95 | 1.50k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 93 | 86 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 86 | argument_types_), | 95 | 86 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 93 | 7.35k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 7.35k | argument_types_), | 95 | 7.35k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 93 | 5.28k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 5.28k | argument_types_), | 95 | 5.28k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 93 | 1.20k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 1.20k | argument_types_), | 95 | 1.20k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 93 | 70 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 70 | argument_types_), | 95 | 70 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 93 | 2.32k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 2.32k | argument_types_), | 95 | 2.32k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 93 | 1 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 1 | argument_types_), | 95 | 1 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 93 | 921 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 921 | argument_types_), | 95 | 921 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 93 | 980 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 980 | argument_types_), | 95 | 980 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 93 | 1.20k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 1.20k | argument_types_), | 95 | 1.20k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 93 | 1.46k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 1.46k | argument_types_), | 95 | 1.46k | scale(get_decimal_scale(*argument_types_[0])) {} |
|
96 | | |
97 | 23.5k | DataTypePtr get_return_type() const override { |
98 | 23.5k | if constexpr (is_decimal(TResult)) { |
99 | 3.53k | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); |
100 | 20.0k | } else { |
101 | 20.0k | return std::make_shared<ResultDataType>(); |
102 | 20.0k | } |
103 | 23.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 | 97 | 181 | DataTypePtr get_return_type() const override { | 98 | 181 | if constexpr (is_decimal(TResult)) { | 99 | 181 | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 100 | | } else { | 101 | | return std::make_shared<ResultDataType>(); | 102 | | } | 103 | 181 | } |
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 | 97 | 1.81k | DataTypePtr get_return_type() const override { | 98 | 1.81k | if constexpr (is_decimal(TResult)) { | 99 | 1.81k | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 100 | | } else { | 101 | | return std::make_shared<ResultDataType>(); | 102 | | } | 103 | 1.81k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE15get_return_typeEv Line | Count | Source | 97 | 27 | DataTypePtr get_return_type() const override { | 98 | 27 | if constexpr (is_decimal(TResult)) { | 99 | 27 | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 100 | | } else { | 101 | | return std::make_shared<ResultDataType>(); | 102 | | } | 103 | 27 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE15get_return_typeEv Line | Count | Source | 97 | 1.39k | DataTypePtr get_return_type() const override { | 98 | 1.39k | if constexpr (is_decimal(TResult)) { | 99 | 1.39k | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 100 | | } else { | 101 | | return std::make_shared<ResultDataType>(); | 102 | | } | 103 | 1.39k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE15get_return_typeEv Line | Count | Source | 97 | 17 | DataTypePtr get_return_type() const override { | 98 | 17 | if constexpr (is_decimal(TResult)) { | 99 | 17 | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 100 | | } else { | 101 | | return std::make_shared<ResultDataType>(); | 102 | | } | 103 | 17 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE15get_return_typeEv Line | Count | Source | 97 | 93 | DataTypePtr get_return_type() const override { | 98 | 93 | if constexpr (is_decimal(TResult)) { | 99 | 93 | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 100 | | } else { | 101 | | return std::make_shared<ResultDataType>(); | 102 | | } | 103 | 93 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE15get_return_typeEv Line | Count | Source | 97 | 3.03k | DataTypePtr get_return_type() const override { | 98 | | if constexpr (is_decimal(TResult)) { | 99 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 100 | 3.03k | } else { | 101 | 3.03k | return std::make_shared<ResultDataType>(); | 102 | 3.03k | } | 103 | 3.03k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE15get_return_typeEv Line | Count | Source | 97 | 114 | DataTypePtr get_return_type() const override { | 98 | | if constexpr (is_decimal(TResult)) { | 99 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 100 | 114 | } else { | 101 | 114 | return std::make_shared<ResultDataType>(); | 102 | 114 | } | 103 | 114 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE15get_return_typeEv Line | Count | Source | 97 | 12.2k | DataTypePtr get_return_type() const override { | 98 | | if constexpr (is_decimal(TResult)) { | 99 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 100 | 12.2k | } else { | 101 | 12.2k | return std::make_shared<ResultDataType>(); | 102 | 12.2k | } | 103 | 12.2k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE15get_return_typeEv Line | Count | Source | 97 | 3.68k | DataTypePtr get_return_type() const override { | 98 | | if constexpr (is_decimal(TResult)) { | 99 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 100 | 3.68k | } else { | 101 | 3.68k | return std::make_shared<ResultDataType>(); | 102 | 3.68k | } | 103 | 3.68k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE15get_return_typeEv Line | Count | Source | 97 | 166 | DataTypePtr get_return_type() const override { | 98 | | if constexpr (is_decimal(TResult)) { | 99 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 100 | 166 | } else { | 101 | 166 | return std::make_shared<ResultDataType>(); | 102 | 166 | } | 103 | 166 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE15get_return_typeEv Line | Count | Source | 97 | 68 | DataTypePtr get_return_type() const override { | 98 | | if constexpr (is_decimal(TResult)) { | 99 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 100 | 68 | } else { | 101 | 68 | return std::make_shared<ResultDataType>(); | 102 | 68 | } | 103 | 68 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE15get_return_typeEv Line | Count | Source | 97 | 686 | DataTypePtr get_return_type() const override { | 98 | | if constexpr (is_decimal(TResult)) { | 99 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 100 | 686 | } else { | 101 | 686 | return std::make_shared<ResultDataType>(); | 102 | 686 | } | 103 | 686 | } |
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 |
104 | | |
105 | 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 |
106 | | |
107 | | void add(AggregateDataPtr __restrict place, const IColumn** columns, ssize_t row_num, |
108 | 37.2M | Arena&) const override { |
109 | 37.2M | const auto& column = |
110 | 37.2M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); |
111 | 37.2M | this->data(place).add( |
112 | 37.2M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); |
113 | 37.2M | } _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 108 | 10 | Arena&) const override { | 109 | 10 | const auto& column = | 110 | 10 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 10 | this->data(place).add( | 112 | 10 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 10 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 108 | 307 | Arena&) const override { | 109 | 307 | const auto& column = | 110 | 307 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 307 | this->data(place).add( | 112 | 307 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 307 | } |
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 | 108 | 7.17M | Arena&) const override { | 109 | 7.17M | const auto& column = | 110 | 7.17M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 7.17M | this->data(place).add( | 112 | 7.17M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 7.17M | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 108 | 51 | Arena&) const override { | 109 | 51 | const auto& column = | 110 | 51 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 51 | this->data(place).add( | 112 | 51 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 51 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 108 | 5.00M | Arena&) const override { | 109 | 5.00M | const auto& column = | 110 | 5.00M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 5.00M | this->data(place).add( | 112 | 5.00M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 5.00M | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 108 | 8 | Arena&) const override { | 109 | 8 | const auto& column = | 110 | 8 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 8 | this->data(place).add( | 112 | 8 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 8 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 108 | 763 | Arena&) const override { | 109 | 763 | const auto& column = | 110 | 763 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 763 | this->data(place).add( | 112 | 763 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 763 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 108 | 13.3M | Arena&) const override { | 109 | 13.3M | const auto& column = | 110 | 13.3M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 13.3M | this->data(place).add( | 112 | 13.3M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 13.3M | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 108 | 587 | Arena&) const override { | 109 | 587 | const auto& column = | 110 | 587 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 587 | this->data(place).add( | 112 | 587 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 587 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 108 | 6.55M | Arena&) const override { | 109 | 6.55M | const auto& column = | 110 | 6.55M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 6.55M | this->data(place).add( | 112 | 6.55M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 6.55M | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 108 | 1.71M | Arena&) const override { | 109 | 1.71M | const auto& column = | 110 | 1.71M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 1.71M | this->data(place).add( | 112 | 1.71M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 1.71M | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 108 | 10.9k | Arena&) const override { | 109 | 10.9k | const auto& column = | 110 | 10.9k | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 10.9k | this->data(place).add( | 112 | 10.9k | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 10.9k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 108 | 344 | Arena&) const override { | 109 | 344 | const auto& column = | 110 | 344 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 344 | this->data(place).add( | 112 | 344 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 344 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 108 | 2.54M | Arena&) const override { | 109 | 2.54M | const auto& column = | 110 | 2.54M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 2.54M | this->data(place).add( | 112 | 2.54M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 2.54M | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 108 | 40 | Arena&) const override { | 109 | 40 | const auto& column = | 110 | 40 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 40 | this->data(place).add( | 112 | 40 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 40 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 108 | 140 | Arena&) const override { | 109 | 140 | const auto& column = | 110 | 140 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 140 | this->data(place).add( | 112 | 140 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 140 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 108 | 819k | Arena&) const override { | 109 | 819k | const auto& column = | 110 | 819k | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 819k | this->data(place).add( | 112 | 819k | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 819k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 108 | 10.2k | Arena&) const override { | 109 | 10.2k | const auto& column = | 110 | 10.2k | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 10.2k | this->data(place).add( | 112 | 10.2k | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 10.2k | } |
|
114 | | |
115 | 1.39M | 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 | 115 | 12 | 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 | 115 | 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 | 115 | 130 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE5resetEPc Line | Count | Source | 115 | 1 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE5resetEPc Line | Count | Source | 115 | 163 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5resetEPc Line | Count | Source | 115 | 145 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5resetEPc Line | Count | Source | 115 | 73 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5resetEPc Line | Count | Source | 115 | 821 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5resetEPc Line | Count | Source | 115 | 962k | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE5resetEPc Line | Count | Source | 115 | 5.32k | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE5resetEPc Line | Count | Source | 115 | 66 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE5resetEPc Line | Count | Source | 115 | 6.66k | 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 | 115 | 22 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE5resetEPc Line | Count | Source | 115 | 409k | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE5resetEPc Line | Count | Source | 115 | 5.20k | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
|
116 | | |
117 | | void merge(AggregateDataPtr __restrict place, ConstAggregateDataPtr rhs, |
118 | 125k | Arena&) const override { |
119 | 125k | this->data(place).merge(this->data(rhs)); |
120 | 125k | } 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 | 118 | 60 | Arena&) const override { | 119 | 60 | this->data(place).merge(this->data(rhs)); | 120 | 60 | } |
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 | 118 | 75.8k | Arena&) const override { | 119 | 75.8k | this->data(place).merge(this->data(rhs)); | 120 | 75.8k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 118 | 18 | Arena&) const override { | 119 | 18 | this->data(place).merge(this->data(rhs)); | 120 | 18 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 118 | 12.7k | Arena&) const override { | 119 | 12.7k | this->data(place).merge(this->data(rhs)); | 120 | 12.7k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 118 | 2 | Arena&) const override { | 119 | 2 | this->data(place).merge(this->data(rhs)); | 120 | 2 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 118 | 36 | Arena&) const override { | 119 | 36 | this->data(place).merge(this->data(rhs)); | 120 | 36 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 118 | 143 | Arena&) const override { | 119 | 143 | this->data(place).merge(this->data(rhs)); | 120 | 143 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 118 | 55 | Arena&) const override { | 119 | 55 | this->data(place).merge(this->data(rhs)); | 120 | 55 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 118 | 11.8k | Arena&) const override { | 119 | 11.8k | this->data(place).merge(this->data(rhs)); | 120 | 11.8k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 118 | 18.1k | Arena&) const override { | 119 | 18.1k | this->data(place).merge(this->data(rhs)); | 120 | 18.1k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 118 | 107 | Arena&) const override { | 119 | 107 | this->data(place).merge(this->data(rhs)); | 120 | 107 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 118 | 6 | Arena&) const override { | 119 | 6 | this->data(place).merge(this->data(rhs)); | 120 | 6 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 118 | 6.37k | Arena&) const override { | 119 | 6.37k | this->data(place).merge(this->data(rhs)); | 120 | 6.37k | } |
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 |
121 | | |
122 | 704 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { |
123 | 704 | this->data(place).write(buf); |
124 | 704 | } 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 | 122 | 18 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 123 | 18 | this->data(place).write(buf); | 124 | 18 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 122 | 9 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 123 | 9 | this->data(place).write(buf); | 124 | 9 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 122 | 10 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 123 | 10 | this->data(place).write(buf); | 124 | 10 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE9serializeEPKcRNS_14BufferWritableE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 122 | 19 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 123 | 19 | this->data(place).write(buf); | 124 | 19 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 122 | 4 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 123 | 4 | this->data(place).write(buf); | 124 | 4 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE9serializeEPKcRNS_14BufferWritableE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 122 | 643 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 123 | 643 | this->data(place).write(buf); | 124 | 643 | } |
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 | 122 | 1 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 123 | 1 | this->data(place).write(buf); | 124 | 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 |
125 | | |
126 | | void deserialize(AggregateDataPtr __restrict place, BufferReadable& buf, |
127 | 646 | Arena&) const override { |
128 | 646 | this->data(place).read(buf); |
129 | 646 | } 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 | 127 | 13 | Arena&) const override { | 128 | 13 | this->data(place).read(buf); | 129 | 13 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 127 | 9 | Arena&) const override { | 128 | 9 | this->data(place).read(buf); | 129 | 9 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 127 | 10 | Arena&) const override { | 128 | 10 | this->data(place).read(buf); | 129 | 10 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 127 | 19 | Arena&) const override { | 128 | 19 | this->data(place).read(buf); | 129 | 19 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 127 | 4 | Arena&) const override { | 128 | 4 | this->data(place).read(buf); | 129 | 4 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 127 | 591 | Arena&) const override { | 128 | 591 | this->data(place).read(buf); | 129 | 591 | } |
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 |
130 | | |
131 | 2.20M | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { |
132 | 2.20M | auto& column = assert_cast<ColVecResult&>(to); |
133 | 2.20M | column.get_data().push_back(this->data(place).get()); |
134 | 2.20M | } _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 131 | 4 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 4 | auto& column = assert_cast<ColVecResult&>(to); | 133 | 4 | column.get_data().push_back(this->data(place).get()); | 134 | 4 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE18insert_result_intoEPKcRNS_7IColumnE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 131 | 166 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 166 | auto& column = assert_cast<ColVecResult&>(to); | 133 | 166 | column.get_data().push_back(this->data(place).get()); | 134 | 166 | } |
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 | 131 | 733k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 733k | auto& column = assert_cast<ColVecResult&>(to); | 133 | 733k | column.get_data().push_back(this->data(place).get()); | 134 | 733k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 131 | 21 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 21 | auto& column = assert_cast<ColVecResult&>(to); | 133 | 21 | column.get_data().push_back(this->data(place).get()); | 134 | 21 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 131 | 49.6k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 49.6k | auto& column = assert_cast<ColVecResult&>(to); | 133 | 49.6k | column.get_data().push_back(this->data(place).get()); | 134 | 49.6k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 131 | 8 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 8 | auto& column = assert_cast<ColVecResult&>(to); | 133 | 8 | column.get_data().push_back(this->data(place).get()); | 134 | 8 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 131 | 207 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 207 | auto& column = assert_cast<ColVecResult&>(to); | 133 | 207 | column.get_data().push_back(this->data(place).get()); | 134 | 207 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 131 | 1.56k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 1.56k | auto& column = assert_cast<ColVecResult&>(to); | 133 | 1.56k | column.get_data().push_back(this->data(place).get()); | 134 | 1.56k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 131 | 188 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 188 | auto& column = assert_cast<ColVecResult&>(to); | 133 | 188 | column.get_data().push_back(this->data(place).get()); | 134 | 188 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 131 | 5.95k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 5.95k | auto& column = assert_cast<ColVecResult&>(to); | 133 | 5.95k | column.get_data().push_back(this->data(place).get()); | 134 | 5.95k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 131 | 979k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 979k | auto& column = assert_cast<ColVecResult&>(to); | 133 | 979k | column.get_data().push_back(this->data(place).get()); | 134 | 979k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 131 | 5.46k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 5.46k | auto& column = assert_cast<ColVecResult&>(to); | 133 | 5.46k | column.get_data().push_back(this->data(place).get()); | 134 | 5.46k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 131 | 79 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 79 | auto& column = assert_cast<ColVecResult&>(to); | 133 | 79 | column.get_data().push_back(this->data(place).get()); | 134 | 79 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 131 | 12.8k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 12.8k | auto& column = assert_cast<ColVecResult&>(to); | 133 | 12.8k | column.get_data().push_back(this->data(place).get()); | 134 | 12.8k | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE18insert_result_intoEPKcRNS_7IColumnE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 131 | 14 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 14 | auto& column = assert_cast<ColVecResult&>(to); | 133 | 14 | column.get_data().push_back(this->data(place).get()); | 134 | 14 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 131 | 47 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 47 | auto& column = assert_cast<ColVecResult&>(to); | 133 | 47 | column.get_data().push_back(this->data(place).get()); | 134 | 47 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 131 | 409k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 409k | auto& column = assert_cast<ColVecResult&>(to); | 133 | 409k | column.get_data().push_back(this->data(place).get()); | 134 | 409k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 131 | 5.20k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 5.20k | auto& column = assert_cast<ColVecResult&>(to); | 133 | 5.20k | column.get_data().push_back(this->data(place).get()); | 134 | 5.20k | } |
|
135 | | |
136 | | void serialize_to_column(const std::vector<AggregateDataPtr>& places, size_t offset, |
137 | 9.36k | MutableColumnPtr& dst, const size_t num_rows) const override { |
138 | 9.36k | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); |
139 | 9.36k | DCHECK(col.item_size() == sizeof(Data)) |
140 | 4 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); |
141 | 9.36k | col.resize(num_rows); |
142 | 9.36k | auto* data = col.get_data().data(); |
143 | 1.32M | for (size_t i = 0; i != num_rows; ++i) { |
144 | 1.31M | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = |
145 | 1.31M | *reinterpret_cast<Data*>(places[i] + offset); |
146 | 1.31M | } |
147 | 9.36k | } 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 | 137 | 74 | MutableColumnPtr& dst, const size_t num_rows) const override { | 138 | 74 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 139 | 74 | DCHECK(col.item_size() == sizeof(Data)) | 140 | 1 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 141 | 74 | col.resize(num_rows); | 142 | 74 | auto* data = col.get_data().data(); | 143 | 134 | for (size_t i = 0; i != num_rows; ++i) { | 144 | 60 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 145 | 60 | *reinterpret_cast<Data*>(places[i] + offset); | 146 | 60 | } | 147 | 74 | } |
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 | 137 | 3.53k | MutableColumnPtr& dst, const size_t num_rows) const override { | 138 | 3.53k | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 139 | 18.4E | DCHECK(col.item_size() == sizeof(Data)) | 140 | 18.4E | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 141 | 3.53k | col.resize(num_rows); | 142 | 3.53k | auto* data = col.get_data().data(); | 143 | 83.1k | for (size_t i = 0; i != num_rows; ++i) { | 144 | 79.5k | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 145 | 79.5k | *reinterpret_cast<Data*>(places[i] + offset); | 146 | 79.5k | } | 147 | 3.53k | } |
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 | 137 | 1.61k | MutableColumnPtr& dst, const size_t num_rows) const override { | 138 | 1.61k | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 139 | 1.61k | DCHECK(col.item_size() == sizeof(Data)) | 140 | 1 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 141 | 1.61k | col.resize(num_rows); | 142 | 1.61k | auto* data = col.get_data().data(); | 143 | 14.3k | for (size_t i = 0; i != num_rows; ++i) { | 144 | 12.7k | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 145 | 12.7k | *reinterpret_cast<Data*>(places[i] + offset); | 146 | 12.7k | } | 147 | 1.61k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 137 | 3 | MutableColumnPtr& dst, const size_t num_rows) const override { | 138 | 3 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 139 | 3 | DCHECK(col.item_size() == sizeof(Data)) | 140 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 141 | 3 | col.resize(num_rows); | 142 | 3 | auto* data = col.get_data().data(); | 143 | 5 | for (size_t i = 0; i != num_rows; ++i) { | 144 | 2 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 145 | 2 | *reinterpret_cast<Data*>(places[i] + offset); | 146 | 2 | } | 147 | 3 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 137 | 49 | MutableColumnPtr& dst, const size_t num_rows) const override { | 138 | 49 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 139 | 18.4E | DCHECK(col.item_size() == sizeof(Data)) | 140 | 18.4E | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 141 | 49 | col.resize(num_rows); | 142 | 49 | auto* data = col.get_data().data(); | 143 | 57 | for (size_t i = 0; i != num_rows; ++i) { | 144 | 8 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 145 | 8 | *reinterpret_cast<Data*>(places[i] + offset); | 146 | 8 | } | 147 | 49 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 137 | 146 | MutableColumnPtr& dst, const size_t num_rows) const override { | 138 | 146 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 139 | 146 | DCHECK(col.item_size() == sizeof(Data)) | 140 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 141 | 146 | col.resize(num_rows); | 142 | 146 | auto* data = col.get_data().data(); | 143 | 285 | for (size_t i = 0; i != num_rows; ++i) { | 144 | 139 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 145 | 139 | *reinterpret_cast<Data*>(places[i] + offset); | 146 | 139 | } | 147 | 146 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 137 | 65 | MutableColumnPtr& dst, const size_t num_rows) const override { | 138 | 65 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 139 | 65 | DCHECK(col.item_size() == sizeof(Data)) | 140 | 2 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 141 | 65 | col.resize(num_rows); | 142 | 65 | auto* data = col.get_data().data(); | 143 | 120 | for (size_t i = 0; i != num_rows; ++i) { | 144 | 55 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 145 | 55 | *reinterpret_cast<Data*>(places[i] + offset); | 146 | 55 | } | 147 | 65 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 137 | 1.21k | MutableColumnPtr& dst, const size_t num_rows) const override { | 138 | 1.21k | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 139 | 18.4E | DCHECK(col.item_size() == sizeof(Data)) | 140 | 18.4E | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 141 | 1.21k | col.resize(num_rows); | 142 | 1.21k | auto* data = col.get_data().data(); | 143 | 1.07M | for (size_t i = 0; i != num_rows; ++i) { | 144 | 1.06M | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 145 | 1.06M | *reinterpret_cast<Data*>(places[i] + offset); | 146 | 1.06M | } | 147 | 1.21k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 137 | 2.28k | MutableColumnPtr& dst, const size_t num_rows) const override { | 138 | 2.28k | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 139 | 2.28k | DCHECK(col.item_size() == sizeof(Data)) | 140 | 6 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 141 | 2.28k | col.resize(num_rows); | 142 | 2.28k | auto* data = col.get_data().data(); | 143 | 152k | for (size_t i = 0; i != num_rows; ++i) { | 144 | 149k | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 145 | 149k | *reinterpret_cast<Data*>(places[i] + offset); | 146 | 149k | } | 147 | 2.28k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 137 | 95 | MutableColumnPtr& dst, const size_t num_rows) const override { | 138 | 95 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 139 | 95 | DCHECK(col.item_size() == sizeof(Data)) | 140 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 141 | 95 | col.resize(num_rows); | 142 | 95 | auto* data = col.get_data().data(); | 143 | 202 | for (size_t i = 0; i != num_rows; ++i) { | 144 | 107 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 145 | 107 | *reinterpret_cast<Data*>(places[i] + offset); | 146 | 107 | } | 147 | 95 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 137 | 8 | MutableColumnPtr& dst, const size_t num_rows) const override { | 138 | 8 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 139 | 8 | DCHECK(col.item_size() == sizeof(Data)) | 140 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 141 | 8 | col.resize(num_rows); | 142 | 8 | auto* data = col.get_data().data(); | 143 | 14 | for (size_t i = 0; i != num_rows; ++i) { | 144 | 6 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 145 | 6 | *reinterpret_cast<Data*>(places[i] + offset); | 146 | 6 | } | 147 | 8 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 137 | 280 | MutableColumnPtr& dst, const size_t num_rows) const override { | 138 | 280 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 139 | 280 | DCHECK(col.item_size() == sizeof(Data)) | 140 | 1 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 141 | 280 | col.resize(num_rows); | 142 | 280 | auto* data = col.get_data().data(); | 143 | 6.65k | for (size_t i = 0; i != num_rows; ++i) { | 144 | 6.37k | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 145 | 6.37k | *reinterpret_cast<Data*>(places[i] + offset); | 146 | 6.37k | } | 147 | 280 | } |
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 |
148 | | |
149 | | void streaming_agg_serialize_to_column(const IColumn** columns, MutableColumnPtr& dst, |
150 | 7 | const size_t num_rows, Arena&) const override { |
151 | 7 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); |
152 | 7 | auto& src = assert_cast<const ColVecType&>(*columns[0]); |
153 | 7 | DCHECK(col.item_size() == sizeof(Data)) |
154 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); |
155 | 7 | col.resize(num_rows); |
156 | 7 | auto* src_data = src.get_data().data(); |
157 | 7 | auto* dst_data = col.get_data().data(); |
158 | 29 | for (size_t i = 0; i != num_rows; ++i) { |
159 | 22 | auto& state = *reinterpret_cast<Data*>(&dst_data[sizeof(Data) * i]); |
160 | 22 | state.sum = typename PrimitiveTypeTraits<TResult>::CppType(src_data[i]); |
161 | 22 | } |
162 | 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 | 150 | 3 | const size_t num_rows, Arena&) const override { | 151 | 3 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 152 | 3 | auto& src = assert_cast<const ColVecType&>(*columns[0]); | 153 | 3 | DCHECK(col.item_size() == sizeof(Data)) | 154 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 155 | 3 | col.resize(num_rows); | 156 | 3 | auto* src_data = src.get_data().data(); | 157 | 3 | auto* dst_data = col.get_data().data(); | 158 | 11 | for (size_t i = 0; i != num_rows; ++i) { | 159 | 8 | auto& state = *reinterpret_cast<Data*>(&dst_data[sizeof(Data) * i]); | 160 | 8 | state.sum = typename PrimitiveTypeTraits<TResult>::CppType(src_data[i]); | 161 | 8 | } | 162 | 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 | 150 | 2 | const size_t num_rows, Arena&) const override { | 151 | 2 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 152 | 2 | auto& src = assert_cast<const ColVecType&>(*columns[0]); | 153 | 2 | DCHECK(col.item_size() == sizeof(Data)) | 154 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 155 | 2 | col.resize(num_rows); | 156 | 2 | auto* src_data = src.get_data().data(); | 157 | 2 | auto* dst_data = col.get_data().data(); | 158 | 4 | for (size_t i = 0; i != num_rows; ++i) { | 159 | 2 | auto& state = *reinterpret_cast<Data*>(&dst_data[sizeof(Data) * i]); | 160 | 2 | state.sum = typename PrimitiveTypeTraits<TResult>::CppType(src_data[i]); | 161 | 2 | } | 162 | 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 | 150 | 2 | const size_t num_rows, Arena&) const override { | 151 | 2 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 152 | 2 | auto& src = assert_cast<const ColVecType&>(*columns[0]); | 153 | 2 | DCHECK(col.item_size() == sizeof(Data)) | 154 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 155 | 2 | col.resize(num_rows); | 156 | 2 | auto* src_data = src.get_data().data(); | 157 | 2 | auto* dst_data = col.get_data().data(); | 158 | 14 | for (size_t i = 0; i != num_rows; ++i) { | 159 | 12 | auto& state = *reinterpret_cast<Data*>(&dst_data[sizeof(Data) * i]); | 160 | 12 | state.sum = typename PrimitiveTypeTraits<TResult>::CppType(src_data[i]); | 161 | 12 | } | 162 | 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 |
163 | | |
164 | | void deserialize_and_merge_from_column_range(AggregateDataPtr __restrict place, |
165 | | const IColumn& column, size_t begin, size_t end, |
166 | 4.00k | Arena&) const override { |
167 | 4.00k | DCHECK(end <= column.size() && begin <= end) |
168 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); |
169 | 4.00k | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); |
170 | 4.00k | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); |
171 | 8.01k | for (size_t i = begin; i <= end; ++i) { |
172 | 4.00k | this->data(place).sum += data[i].sum; |
173 | 4.00k | } |
174 | 4.00k | } 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 | 166 | 40 | Arena&) const override { | 167 | 40 | DCHECK(end <= column.size() && begin <= end) | 168 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 169 | 40 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 170 | 40 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 171 | 80 | for (size_t i = begin; i <= end; ++i) { | 172 | 40 | this->data(place).sum += data[i].sum; | 173 | 40 | } | 174 | 40 | } |
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 | 166 | 91 | Arena&) const override { | 167 | 91 | DCHECK(end <= column.size() && begin <= end) | 168 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 169 | 91 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 170 | 91 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 171 | 182 | for (size_t i = begin; i <= end; ++i) { | 172 | 91 | this->data(place).sum += data[i].sum; | 173 | 91 | } | 174 | 91 | } |
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 | 166 | 108 | Arena&) const override { | 167 | 108 | DCHECK(end <= column.size() && begin <= end) | 168 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 169 | 108 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 170 | 108 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 171 | 216 | for (size_t i = begin; i <= end; ++i) { | 172 | 108 | this->data(place).sum += data[i].sum; | 173 | 108 | } | 174 | 108 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 166 | 2 | Arena&) const override { | 167 | 2 | DCHECK(end <= column.size() && begin <= end) | 168 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 169 | 2 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 170 | 2 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 171 | 4 | for (size_t i = begin; i <= end; ++i) { | 172 | 2 | this->data(place).sum += data[i].sum; | 173 | 2 | } | 174 | 2 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 166 | 9 | Arena&) const override { | 167 | 9 | DCHECK(end <= column.size() && begin <= end) | 168 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 169 | 9 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 170 | 9 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 171 | 18 | for (size_t i = begin; i <= end; ++i) { | 172 | 9 | this->data(place).sum += data[i].sum; | 173 | 9 | } | 174 | 9 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 166 | 658 | Arena&) const override { | 167 | 658 | DCHECK(end <= column.size() && begin <= end) | 168 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 169 | 658 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 170 | 658 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 171 | 1.31k | for (size_t i = begin; i <= end; ++i) { | 172 | 660 | this->data(place).sum += data[i].sum; | 173 | 660 | } | 174 | 658 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 166 | 21 | Arena&) const override { | 167 | 21 | DCHECK(end <= column.size() && begin <= end) | 168 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 169 | 21 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 170 | 21 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 171 | 42 | for (size_t i = begin; i <= end; ++i) { | 172 | 21 | this->data(place).sum += data[i].sum; | 173 | 21 | } | 174 | 21 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 166 | 2.64k | Arena&) const override { | 167 | 2.64k | DCHECK(end <= column.size() && begin <= end) | 168 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 169 | 2.64k | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 170 | 2.64k | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 171 | 5.29k | for (size_t i = begin; i <= end; ++i) { | 172 | 2.64k | this->data(place).sum += data[i].sum; | 173 | 2.64k | } | 174 | 2.64k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 166 | 275 | Arena&) const override { | 167 | 275 | DCHECK(end <= column.size() && begin <= end) | 168 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 169 | 275 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 170 | 275 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 171 | 550 | for (size_t i = begin; i <= end; ++i) { | 172 | 275 | this->data(place).sum += data[i].sum; | 173 | 275 | } | 174 | 275 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 166 | 18 | Arena&) const override { | 167 | 18 | DCHECK(end <= column.size() && begin <= end) | 168 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 169 | 18 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 170 | 18 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 171 | 36 | for (size_t i = begin; i <= end; ++i) { | 172 | 18 | this->data(place).sum += data[i].sum; | 173 | 18 | } | 174 | 18 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 166 | 24 | Arena&) const override { | 167 | 24 | DCHECK(end <= column.size() && begin <= end) | 168 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 169 | 24 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 170 | 24 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 171 | 48 | for (size_t i = begin; i <= end; ++i) { | 172 | 24 | this->data(place).sum += data[i].sum; | 173 | 24 | } | 174 | 24 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 166 | 109 | Arena&) const override { | 167 | 109 | DCHECK(end <= column.size() && begin <= end) | 168 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 169 | 109 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 170 | 109 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 171 | 218 | for (size_t i = begin; i <= end; ++i) { | 172 | 109 | this->data(place).sum += data[i].sum; | 173 | 109 | } | 174 | 109 | } |
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 |
175 | | |
176 | | void deserialize_and_merge_vec(const AggregateDataPtr* places, size_t offset, |
177 | | AggregateDataPtr rhs, const IColumn* column, Arena& arena, |
178 | 8.06k | const size_t num_rows) const override { |
179 | 8.06k | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); |
180 | 8.06k | const auto* data = col.get_data().data(); |
181 | 8.06k | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); |
182 | 8.06k | } 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 | 178 | 37 | const size_t num_rows) const override { | 179 | 37 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 180 | 37 | const auto* data = col.get_data().data(); | 181 | 37 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 182 | 37 | } |
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 | 178 | 1.33k | const size_t num_rows) const override { | 179 | 1.33k | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 180 | 1.33k | const auto* data = col.get_data().data(); | 181 | 1.33k | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 182 | 1.33k | } |
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 | 178 | 668 | const size_t num_rows) const override { | 179 | 668 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 180 | 668 | const auto* data = col.get_data().data(); | 181 | 668 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 182 | 668 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 178 | 1 | const size_t num_rows) const override { | 179 | 1 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 180 | 1 | const auto* data = col.get_data().data(); | 181 | 1 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 182 | 1 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 178 | 8 | const size_t num_rows) const override { | 179 | 8 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 180 | 8 | const auto* data = col.get_data().data(); | 181 | 8 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 182 | 8 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 178 | 83 | const size_t num_rows) const override { | 179 | 83 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 180 | 83 | const auto* data = col.get_data().data(); | 181 | 83 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 182 | 83 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 178 | 31 | const size_t num_rows) const override { | 179 | 31 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 180 | 31 | const auto* data = col.get_data().data(); | 181 | 31 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 182 | 31 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 178 | 726 | const size_t num_rows) const override { | 179 | 726 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 180 | 726 | const auto* data = col.get_data().data(); | 181 | 726 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 182 | 726 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 178 | 4.76k | const size_t num_rows) const override { | 179 | 4.76k | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 180 | 4.76k | const auto* data = col.get_data().data(); | 181 | 4.76k | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 182 | 4.76k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 178 | 54 | const size_t num_rows) const override { | 179 | 54 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 180 | 54 | const auto* data = col.get_data().data(); | 181 | 54 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 182 | 54 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 178 | 6 | const size_t num_rows) const override { | 179 | 6 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 180 | 6 | const auto* data = col.get_data().data(); | 181 | 6 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 182 | 6 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 178 | 349 | const size_t num_rows) const override { | 179 | 349 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 180 | 349 | const auto* data = col.get_data().data(); | 181 | 349 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 182 | 349 | } |
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 |
183 | | |
184 | | void deserialize_and_merge_vec_selected(const AggregateDataPtr* places, size_t offset, |
185 | | AggregateDataPtr rhs, const IColumn* column, |
186 | 1 | Arena& arena, const size_t num_rows) const override { |
187 | 1 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); |
188 | 1 | const auto* data = col.get_data().data(); |
189 | 1 | this->merge_vec_selected(places, offset, AggregateDataPtr(data), arena, num_rows); |
190 | 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 | 186 | 1 | Arena& arena, const size_t num_rows) const override { | 187 | 1 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 188 | 1 | const auto* data = col.get_data().data(); | 189 | 1 | this->merge_vec_selected(places, offset, AggregateDataPtr(data), arena, num_rows); | 190 | 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 |
191 | | |
192 | | void serialize_without_key_to_column(ConstAggregateDataPtr __restrict place, |
193 | 3.98k | IColumn& to) const override { |
194 | 3.98k | auto& col = assert_cast<ColumnFixedLengthObject&>(to); |
195 | 18.4E | DCHECK(col.item_size() == sizeof(Data)) |
196 | 18.4E | << "size is not equal: " << col.item_size() << " " << sizeof(Data); |
197 | 3.98k | size_t old_size = col.size(); |
198 | 3.98k | col.resize(old_size + 1); |
199 | 3.98k | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; |
200 | 3.98k | } 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 | 193 | 40 | IColumn& to) const override { | 194 | 40 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 195 | 40 | DCHECK(col.item_size() == sizeof(Data)) | 196 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 197 | 40 | size_t old_size = col.size(); | 198 | 40 | col.resize(old_size + 1); | 199 | 40 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 200 | 40 | } |
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 | 193 | 86 | IColumn& to) const override { | 194 | 86 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 195 | 86 | DCHECK(col.item_size() == sizeof(Data)) | 196 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 197 | 86 | size_t old_size = col.size(); | 198 | 86 | col.resize(old_size + 1); | 199 | 86 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 200 | 86 | } |
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 | 193 | 108 | IColumn& to) const override { | 194 | 108 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 195 | 108 | DCHECK(col.item_size() == sizeof(Data)) | 196 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 197 | 108 | size_t old_size = col.size(); | 198 | 108 | col.resize(old_size + 1); | 199 | 108 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 200 | 108 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 193 | 2 | IColumn& to) const override { | 194 | 2 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 195 | 2 | DCHECK(col.item_size() == sizeof(Data)) | 196 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 197 | 2 | size_t old_size = col.size(); | 198 | 2 | col.resize(old_size + 1); | 199 | 2 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 200 | 2 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 193 | 9 | IColumn& to) const override { | 194 | 9 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 195 | 9 | DCHECK(col.item_size() == sizeof(Data)) | 196 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 197 | 9 | size_t old_size = col.size(); | 198 | 9 | col.resize(old_size + 1); | 199 | 9 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 200 | 9 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 193 | 654 | IColumn& to) const override { | 194 | 654 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 195 | 654 | DCHECK(col.item_size() == sizeof(Data)) | 196 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 197 | 654 | size_t old_size = col.size(); | 198 | 654 | col.resize(old_size + 1); | 199 | 654 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 200 | 654 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 193 | 21 | IColumn& to) const override { | 194 | 21 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 195 | 21 | DCHECK(col.item_size() == sizeof(Data)) | 196 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 197 | 21 | size_t old_size = col.size(); | 198 | 21 | col.resize(old_size + 1); | 199 | 21 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 200 | 21 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 193 | 2.63k | IColumn& to) const override { | 194 | 2.63k | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 195 | 18.4E | DCHECK(col.item_size() == sizeof(Data)) | 196 | 18.4E | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 197 | 2.63k | size_t old_size = col.size(); | 198 | 2.63k | col.resize(old_size + 1); | 199 | 2.63k | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 200 | 2.63k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 193 | 275 | IColumn& to) const override { | 194 | 275 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 195 | 18.4E | DCHECK(col.item_size() == sizeof(Data)) | 196 | 18.4E | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 197 | 275 | size_t old_size = col.size(); | 198 | 275 | col.resize(old_size + 1); | 199 | 275 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 200 | 275 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 193 | 18 | IColumn& to) const override { | 194 | 18 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 195 | 18 | DCHECK(col.item_size() == sizeof(Data)) | 196 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 197 | 18 | size_t old_size = col.size(); | 198 | 18 | col.resize(old_size + 1); | 199 | 18 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 200 | 18 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 193 | 24 | IColumn& to) const override { | 194 | 24 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 195 | 24 | DCHECK(col.item_size() == sizeof(Data)) | 196 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 197 | 24 | size_t old_size = col.size(); | 198 | 24 | col.resize(old_size + 1); | 199 | 24 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 200 | 24 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 193 | 109 | IColumn& to) const override { | 194 | 109 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 195 | 109 | DCHECK(col.item_size() == sizeof(Data)) | 196 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 197 | 109 | size_t old_size = col.size(); | 198 | 109 | col.resize(old_size + 1); | 199 | 109 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 200 | 109 | } |
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 |
201 | | |
202 | 13.2k | MutableColumnPtr create_serialize_column() const override { |
203 | 13.2k | return ColumnFixedLengthObject::create(sizeof(Data)); |
204 | 13.2k | } 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 | 202 | 111 | MutableColumnPtr create_serialize_column() const override { | 203 | 111 | return ColumnFixedLengthObject::create(sizeof(Data)); | 204 | 111 | } |
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 | 202 | 3.61k | MutableColumnPtr create_serialize_column() const override { | 203 | 3.61k | return ColumnFixedLengthObject::create(sizeof(Data)); | 204 | 3.61k | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE23create_serialize_columnEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE23create_serialize_columnEv Line | Count | Source | 202 | 1.71k | MutableColumnPtr create_serialize_column() const override { | 203 | 1.71k | return ColumnFixedLengthObject::create(sizeof(Data)); | 204 | 1.71k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE23create_serialize_columnEv Line | Count | Source | 202 | 5 | MutableColumnPtr create_serialize_column() const override { | 203 | 5 | return ColumnFixedLengthObject::create(sizeof(Data)); | 204 | 5 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE23create_serialize_columnEv Line | Count | Source | 202 | 58 | MutableColumnPtr create_serialize_column() const override { | 203 | 58 | return ColumnFixedLengthObject::create(sizeof(Data)); | 204 | 58 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE23create_serialize_columnEv Line | Count | Source | 202 | 800 | MutableColumnPtr create_serialize_column() const override { | 203 | 800 | return ColumnFixedLengthObject::create(sizeof(Data)); | 204 | 800 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE23create_serialize_columnEv Line | Count | Source | 202 | 85 | MutableColumnPtr create_serialize_column() const override { | 203 | 85 | return ColumnFixedLengthObject::create(sizeof(Data)); | 204 | 85 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE23create_serialize_columnEv Line | Count | Source | 202 | 3.79k | MutableColumnPtr create_serialize_column() const override { | 203 | 3.79k | return ColumnFixedLengthObject::create(sizeof(Data)); | 204 | 3.79k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE23create_serialize_columnEv Line | Count | Source | 202 | 2.55k | MutableColumnPtr create_serialize_column() const override { | 203 | 2.55k | return ColumnFixedLengthObject::create(sizeof(Data)); | 204 | 2.55k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE23create_serialize_columnEv Line | Count | Source | 202 | 112 | MutableColumnPtr create_serialize_column() const override { | 203 | 112 | return ColumnFixedLengthObject::create(sizeof(Data)); | 204 | 112 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE23create_serialize_columnEv Line | Count | Source | 202 | 32 | MutableColumnPtr create_serialize_column() const override { | 203 | 32 | return ColumnFixedLengthObject::create(sizeof(Data)); | 204 | 32 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE23create_serialize_columnEv Line | Count | Source | 202 | 391 | MutableColumnPtr create_serialize_column() const override { | 203 | 391 | return ColumnFixedLengthObject::create(sizeof(Data)); | 204 | 391 | } |
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 |
205 | | |
206 | 13.3k | DataTypePtr get_serialized_type() const override { |
207 | 13.3k | return std::make_shared<DataTypeFixedLengthObject>(); |
208 | 13.3k | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE19get_serialized_typeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE19get_serialized_typeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE19get_serialized_typeEv Line | Count | Source | 206 | 112 | DataTypePtr get_serialized_type() const override { | 207 | 112 | return std::make_shared<DataTypeFixedLengthObject>(); | 208 | 112 | } |
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 | 206 | 3.63k | DataTypePtr get_serialized_type() const override { | 207 | 3.63k | return std::make_shared<DataTypeFixedLengthObject>(); | 208 | 3.63k | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19get_serialized_typeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE19get_serialized_typeEv Line | Count | Source | 206 | 1.72k | DataTypePtr get_serialized_type() const override { | 207 | 1.72k | return std::make_shared<DataTypeFixedLengthObject>(); | 208 | 1.72k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19get_serialized_typeEv Line | Count | Source | 206 | 5 | DataTypePtr get_serialized_type() const override { | 207 | 5 | return std::make_shared<DataTypeFixedLengthObject>(); | 208 | 5 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19get_serialized_typeEv Line | Count | Source | 206 | 58 | DataTypePtr get_serialized_type() const override { | 207 | 58 | return std::make_shared<DataTypeFixedLengthObject>(); | 208 | 58 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19get_serialized_typeEv Line | Count | Source | 206 | 804 | DataTypePtr get_serialized_type() const override { | 207 | 804 | return std::make_shared<DataTypeFixedLengthObject>(); | 208 | 804 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19get_serialized_typeEv Line | Count | Source | 206 | 86 | DataTypePtr get_serialized_type() const override { | 207 | 86 | return std::make_shared<DataTypeFixedLengthObject>(); | 208 | 86 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19get_serialized_typeEv Line | Count | Source | 206 | 3.81k | DataTypePtr get_serialized_type() const override { | 207 | 3.81k | return std::make_shared<DataTypeFixedLengthObject>(); | 208 | 3.81k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19get_serialized_typeEv Line | Count | Source | 206 | 2.56k | DataTypePtr get_serialized_type() const override { | 207 | 2.56k | return std::make_shared<DataTypeFixedLengthObject>(); | 208 | 2.56k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE19get_serialized_typeEv Line | Count | Source | 206 | 114 | DataTypePtr get_serialized_type() const override { | 207 | 114 | return std::make_shared<DataTypeFixedLengthObject>(); | 208 | 114 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE19get_serialized_typeEv Line | Count | Source | 206 | 32 | DataTypePtr get_serialized_type() const override { | 207 | 32 | return std::make_shared<DataTypeFixedLengthObject>(); | 208 | 32 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE19get_serialized_typeEv Line | Count | Source | 206 | 391 | DataTypePtr get_serialized_type() const override { | 207 | 391 | return std::make_shared<DataTypeFixedLengthObject>(); | 208 | 391 | } |
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 |
209 | | |
210 | 1.24k | 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 | 210 | 19 | 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 | 210 | 12 | 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 | 210 | 36 | bool supported_incremental_mode() const override { return true; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE26supported_incremental_modeEv Line | Count | Source | 210 | 1 | bool supported_incremental_mode() const override { return true; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE26supported_incremental_modeEv Line | Count | Source | 210 | 1 | bool supported_incremental_mode() const override { return true; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE26supported_incremental_modeEv Line | Count | Source | 210 | 195 | 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 | 210 | 529 | bool supported_incremental_mode() const override { return true; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE26supported_incremental_modeEv Line | Count | Source | 210 | 346 | 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 | 210 | 106 | 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 |
211 | | |
212 | | NO_SANITIZE_UNDEFINED void execute_function_with_incremental( |
213 | | int64_t partition_start, int64_t partition_end, int64_t frame_start, int64_t frame_end, |
214 | | AggregateDataPtr place, const IColumn** columns, Arena& arena, bool previous_is_nul, |
215 | | bool end_is_nul, bool has_null, UInt8* use_null_result, |
216 | 730 | UInt8* could_use_previous_result) const override { |
217 | 730 | int64_t current_frame_start = std::max<int64_t>(frame_start, partition_start); |
218 | 730 | int64_t current_frame_end = std::min<int64_t>(frame_end, partition_end); |
219 | | |
220 | 730 | if (current_frame_start >= current_frame_end) { |
221 | 16 | *use_null_result = true; |
222 | 16 | return; |
223 | 16 | } |
224 | 714 | if (*could_use_previous_result) { |
225 | 656 | const auto& column = |
226 | 656 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); |
227 | 656 | const auto* data = column.get_data().data(); |
228 | 656 | auto outcoming_pos = frame_start - 1; |
229 | 656 | auto incoming_pos = frame_end - 1; |
230 | 656 | if (!previous_is_nul && outcoming_pos >= partition_start && |
231 | 656 | outcoming_pos < partition_end) { |
232 | 490 | this->data(place).add( |
233 | 490 | typename PrimitiveTypeTraits<TResult>::CppType(-data[outcoming_pos])); |
234 | 490 | } |
235 | 656 | if (!end_is_nul && incoming_pos >= partition_start && incoming_pos < partition_end) { |
236 | 513 | this->data(place).add( |
237 | 513 | typename PrimitiveTypeTraits<TResult>::CppType(data[incoming_pos])); |
238 | 513 | } |
239 | 656 | } else { |
240 | 58 | this->add_range_single_place(partition_start, partition_end, frame_start, frame_end, |
241 | 58 | place, columns, arena, use_null_result, |
242 | 58 | could_use_previous_result); |
243 | 58 | } |
244 | 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 | 216 | 236 | UInt8* could_use_previous_result) const override { | 217 | 236 | int64_t current_frame_start = std::max<int64_t>(frame_start, partition_start); | 218 | 236 | int64_t current_frame_end = std::min<int64_t>(frame_end, partition_end); | 219 | | | 220 | 236 | if (current_frame_start >= current_frame_end) { | 221 | 16 | *use_null_result = true; | 222 | 16 | return; | 223 | 16 | } | 224 | 220 | if (*could_use_previous_result) { | 225 | 202 | const auto& column = | 226 | 202 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 227 | 202 | const auto* data = column.get_data().data(); | 228 | 202 | auto outcoming_pos = frame_start - 1; | 229 | 202 | auto incoming_pos = frame_end - 1; | 230 | 202 | if (!previous_is_nul && outcoming_pos >= partition_start && | 231 | 202 | outcoming_pos < partition_end) { | 232 | 170 | this->data(place).add( | 233 | 170 | typename PrimitiveTypeTraits<TResult>::CppType(-data[outcoming_pos])); | 234 | 170 | } | 235 | 202 | if (!end_is_nul && incoming_pos >= partition_start && incoming_pos < partition_end) { | 236 | 178 | this->data(place).add( | 237 | 178 | typename PrimitiveTypeTraits<TResult>::CppType(data[incoming_pos])); | 238 | 178 | } | 239 | 202 | } else { | 240 | 18 | this->add_range_single_place(partition_start, partition_end, frame_start, frame_end, | 241 | 18 | place, columns, arena, use_null_result, | 242 | 18 | could_use_previous_result); | 243 | 18 | } | 244 | 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 | 216 | 200 | UInt8* could_use_previous_result) const override { | 217 | 200 | int64_t current_frame_start = std::max<int64_t>(frame_start, partition_start); | 218 | 200 | int64_t current_frame_end = std::min<int64_t>(frame_end, partition_end); | 219 | | | 220 | 200 | if (current_frame_start >= current_frame_end) { | 221 | 0 | *use_null_result = true; | 222 | 0 | return; | 223 | 0 | } | 224 | 200 | if (*could_use_previous_result) { | 225 | 180 | const auto& column = | 226 | 180 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 227 | 180 | const auto* data = column.get_data().data(); | 228 | 180 | auto outcoming_pos = frame_start - 1; | 229 | 180 | auto incoming_pos = frame_end - 1; | 230 | 180 | if (!previous_is_nul && outcoming_pos >= partition_start && | 231 | 180 | outcoming_pos < partition_end) { | 232 | 106 | this->data(place).add( | 233 | 106 | typename PrimitiveTypeTraits<TResult>::CppType(-data[outcoming_pos])); | 234 | 106 | } | 235 | 180 | if (!end_is_nul && incoming_pos >= partition_start && incoming_pos < partition_end) { | 236 | 107 | this->data(place).add( | 237 | 107 | typename PrimitiveTypeTraits<TResult>::CppType(data[incoming_pos])); | 238 | 107 | } | 239 | 180 | } else { | 240 | 20 | this->add_range_single_place(partition_start, partition_end, frame_start, frame_end, | 241 | 20 | place, columns, arena, use_null_result, | 242 | 20 | could_use_previous_result); | 243 | 20 | } | 244 | 200 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Line | Count | Source | 216 | 170 | UInt8* could_use_previous_result) const override { | 217 | 170 | int64_t current_frame_start = std::max<int64_t>(frame_start, partition_start); | 218 | 170 | int64_t current_frame_end = std::min<int64_t>(frame_end, partition_end); | 219 | | | 220 | 170 | if (current_frame_start >= current_frame_end) { | 221 | 0 | *use_null_result = true; | 222 | 0 | return; | 223 | 0 | } | 224 | 170 | if (*could_use_previous_result) { | 225 | 150 | const auto& column = | 226 | 150 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 227 | 150 | const auto* data = column.get_data().data(); | 228 | 150 | auto outcoming_pos = frame_start - 1; | 229 | 150 | auto incoming_pos = frame_end - 1; | 230 | 150 | if (!previous_is_nul && outcoming_pos >= partition_start && | 231 | 150 | outcoming_pos < partition_end) { | 232 | 110 | this->data(place).add( | 233 | 110 | typename PrimitiveTypeTraits<TResult>::CppType(-data[outcoming_pos])); | 234 | 110 | } | 235 | 150 | if (!end_is_nul && incoming_pos >= partition_start && incoming_pos < partition_end) { | 236 | 124 | this->data(place).add( | 237 | 124 | typename PrimitiveTypeTraits<TResult>::CppType(data[incoming_pos])); | 238 | 124 | } | 239 | 150 | } else { | 240 | 20 | this->add_range_single_place(partition_start, partition_end, frame_start, frame_end, | 241 | 20 | place, columns, arena, use_null_result, | 242 | 20 | could_use_previous_result); | 243 | 20 | } | 244 | 170 | } |
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 | 216 | 124 | UInt8* could_use_previous_result) const override { | 217 | 124 | int64_t current_frame_start = std::max<int64_t>(frame_start, partition_start); | 218 | 124 | int64_t current_frame_end = std::min<int64_t>(frame_end, partition_end); | 219 | | | 220 | 124 | if (current_frame_start >= current_frame_end) { | 221 | 0 | *use_null_result = true; | 222 | 0 | return; | 223 | 0 | } | 224 | 124 | if (*could_use_previous_result) { | 225 | 124 | const auto& column = | 226 | 124 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 227 | 124 | const auto* data = column.get_data().data(); | 228 | 124 | auto outcoming_pos = frame_start - 1; | 229 | 124 | auto incoming_pos = frame_end - 1; | 230 | 124 | if (!previous_is_nul && outcoming_pos >= partition_start && | 231 | 124 | outcoming_pos < partition_end) { | 232 | 104 | this->data(place).add( | 233 | 104 | typename PrimitiveTypeTraits<TResult>::CppType(-data[outcoming_pos])); | 234 | 104 | } | 235 | 124 | if (!end_is_nul && incoming_pos >= partition_start && incoming_pos < partition_end) { | 236 | 104 | this->data(place).add( | 237 | 104 | typename PrimitiveTypeTraits<TResult>::CppType(data[incoming_pos])); | 238 | 104 | } | 239 | 124 | } else { | 240 | 0 | this->add_range_single_place(partition_start, partition_end, frame_start, frame_end, | 241 | 0 | place, columns, arena, use_null_result, | 242 | 0 | could_use_previous_result); | 243 | 0 | } | 244 | 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_ |
245 | | |
246 | | void add_range_single_place(int64_t partition_start, int64_t partition_end, int64_t frame_start, |
247 | | int64_t frame_end, AggregateDataPtr place, const IColumn** columns, |
248 | | Arena& arena, UInt8* use_null_result, |
249 | 2.36k | UInt8* could_use_previous_result) const override { |
250 | 2.36k | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); |
251 | 2.36k | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); |
252 | | |
253 | 2.36k | if (current_frame_start >= current_frame_end) { |
254 | 151 | if (!*could_use_previous_result) { |
255 | 9 | *use_null_result = true; |
256 | 9 | } |
257 | 2.20k | } else { |
258 | 2.20k | const auto& column = |
259 | 2.20k | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); |
260 | 5.19k | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { |
261 | 2.99k | this->data(place).add( |
262 | 2.99k | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); |
263 | 2.99k | } |
264 | 2.20k | *use_null_result = false; |
265 | 2.20k | *could_use_previous_result = true; |
266 | 2.20k | } |
267 | 2.36k | } 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 | 249 | 6 | UInt8* could_use_previous_result) const override { | 250 | 6 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 251 | 6 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 252 | | | 253 | 6 | if (current_frame_start >= current_frame_end) { | 254 | 0 | if (!*could_use_previous_result) { | 255 | 0 | *use_null_result = true; | 256 | 0 | } | 257 | 6 | } else { | 258 | 6 | const auto& column = | 259 | 6 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 260 | 12 | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 261 | 6 | this->data(place).add( | 262 | 6 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 263 | 6 | } | 264 | 6 | *use_null_result = false; | 265 | 6 | *could_use_previous_result = true; | 266 | 6 | } | 267 | 6 | } |
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 | 249 | 23 | UInt8* could_use_previous_result) const override { | 250 | 23 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 251 | 23 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 252 | | | 253 | 23 | if (current_frame_start >= current_frame_end) { | 254 | 0 | if (!*could_use_previous_result) { | 255 | 0 | *use_null_result = true; | 256 | 0 | } | 257 | 23 | } else { | 258 | 23 | const auto& column = | 259 | 23 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 260 | 53 | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 261 | 30 | this->data(place).add( | 262 | 30 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 263 | 30 | } | 264 | 23 | *use_null_result = false; | 265 | 23 | *could_use_previous_result = true; | 266 | 23 | } | 267 | 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 | 249 | 9 | UInt8* could_use_previous_result) const override { | 250 | 9 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 251 | 9 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 252 | | | 253 | 9 | if (current_frame_start >= current_frame_end) { | 254 | 0 | if (!*could_use_previous_result) { | 255 | 0 | *use_null_result = true; | 256 | 0 | } | 257 | 9 | } else { | 258 | 9 | const auto& column = | 259 | 9 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 260 | 18 | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 261 | 9 | this->data(place).add( | 262 | 9 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 263 | 9 | } | 264 | 9 | *use_null_result = false; | 265 | 9 | *could_use_previous_result = true; | 266 | 9 | } | 267 | 9 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 249 | 1 | UInt8* could_use_previous_result) const override { | 250 | 1 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 251 | 1 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 252 | | | 253 | 1 | if (current_frame_start >= current_frame_end) { | 254 | 0 | if (!*could_use_previous_result) { | 255 | 0 | *use_null_result = true; | 256 | 0 | } | 257 | 1 | } else { | 258 | 1 | const auto& column = | 259 | 1 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 260 | 2 | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 261 | 1 | this->data(place).add( | 262 | 1 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 263 | 1 | } | 264 | 1 | *use_null_result = false; | 265 | 1 | *could_use_previous_result = true; | 266 | 1 | } | 267 | 1 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 249 | 1 | UInt8* could_use_previous_result) const override { | 250 | 1 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 251 | 1 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 252 | | | 253 | 1 | if (current_frame_start >= current_frame_end) { | 254 | 0 | if (!*could_use_previous_result) { | 255 | 0 | *use_null_result = true; | 256 | 0 | } | 257 | 1 | } else { | 258 | 1 | const auto& column = | 259 | 1 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 260 | 2 | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 261 | 1 | this->data(place).add( | 262 | 1 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 263 | 1 | } | 264 | 1 | *use_null_result = false; | 265 | 1 | *could_use_previous_result = true; | 266 | 1 | } | 267 | 1 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 249 | 362 | UInt8* could_use_previous_result) const override { | 250 | 362 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 251 | 362 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 252 | | | 253 | 362 | if (current_frame_start >= current_frame_end) { | 254 | 36 | if (!*could_use_previous_result) { | 255 | 8 | *use_null_result = true; | 256 | 8 | } | 257 | 326 | } else { | 258 | 326 | const auto& column = | 259 | 326 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 260 | 774 | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 261 | 448 | this->data(place).add( | 262 | 448 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 263 | 448 | } | 264 | 326 | *use_null_result = false; | 265 | 326 | *could_use_previous_result = true; | 266 | 326 | } | 267 | 362 | } |
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 | 249 | 823 | UInt8* could_use_previous_result) const override { | 250 | 823 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 251 | 823 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 252 | | | 253 | 823 | if (current_frame_start >= current_frame_end) { | 254 | 90 | if (!*could_use_previous_result) { | 255 | 0 | *use_null_result = true; | 256 | 0 | } | 257 | 733 | } else { | 258 | 733 | const auto& column = | 259 | 733 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 260 | 1.86k | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 261 | 1.12k | this->data(place).add( | 262 | 1.12k | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 263 | 1.12k | } | 264 | 733 | *use_null_result = false; | 265 | 733 | *could_use_previous_result = true; | 266 | 733 | } | 267 | 823 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 249 | 567 | UInt8* could_use_previous_result) const override { | 250 | 567 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 251 | 567 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 252 | | | 253 | 567 | if (current_frame_start >= current_frame_end) { | 254 | 25 | if (!*could_use_previous_result) { | 255 | 1 | *use_null_result = true; | 256 | 1 | } | 257 | 542 | } else { | 258 | 542 | const auto& column = | 259 | 542 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 260 | 1.32k | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 261 | 778 | this->data(place).add( | 262 | 778 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 263 | 778 | } | 264 | 542 | *use_null_result = false; | 265 | 542 | *could_use_previous_result = true; | 266 | 542 | } | 267 | 567 | } |
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 | 249 | 568 | UInt8* could_use_previous_result) const override { | 250 | 568 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 251 | 568 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 252 | | | 253 | 568 | if (current_frame_start >= current_frame_end) { | 254 | 0 | if (!*could_use_previous_result) { | 255 | 0 | *use_null_result = true; | 256 | 0 | } | 257 | 568 | } else { | 258 | 568 | const auto& column = | 259 | 568 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 260 | 1.15k | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 261 | 588 | this->data(place).add( | 262 | 588 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 263 | 588 | } | 264 | 568 | *use_null_result = false; | 265 | 568 | *could_use_previous_result = true; | 266 | 568 | } | 267 | 568 | } |
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_ |
268 | | |
269 | | private: |
270 | | UInt32 scale; |
271 | | }; |
272 | | |
273 | 0 | constexpr PrimitiveType result_type(PrimitiveType T) { |
274 | 0 | if (T == TYPE_LARGEINT) { |
275 | 0 | return TYPE_LARGEINT; |
276 | 0 | } else if (is_int_or_bool(T)) { |
277 | 0 | return TYPE_BIGINT; |
278 | 0 | } else if (is_float_or_double(T) || is_time_type(T)) { |
279 | 0 | return TYPE_DOUBLE; |
280 | 0 | } else { |
281 | 0 | return T; |
282 | 0 | } |
283 | 0 | } |
284 | | |
285 | | // TODO: use result type from FE plan |
286 | | template <PrimitiveType T> |
287 | | struct SumSimple { |
288 | | static_assert(!is_decimalv3(T)); |
289 | | /// @note It uses slow Decimal128 (cause we need such a variant). sumWithOverflow is faster for Decimal32/64 |
290 | | static constexpr PrimitiveType ResultType = result_type(T); |
291 | | using AggregateDataType = AggregateFunctionSumData<ResultType>; |
292 | | using Function = AggregateFunctionSum<T, ResultType, AggregateDataType>; |
293 | | }; |
294 | | |
295 | | template <PrimitiveType T> |
296 | | using AggregateFunctionSumSimple = typename SumSimple<T>::Function; |
297 | | |
298 | | // use result type got from FE plan |
299 | | template <PrimitiveType InputType, PrimitiveType ResultType> |
300 | | struct SumDecimalV3 { |
301 | | static_assert(is_decimalv3(InputType) && is_decimalv3(ResultType)); |
302 | | using AggregateDataType = AggregateFunctionSumData<ResultType>; |
303 | | using Function = AggregateFunctionSum<InputType, ResultType, AggregateDataType>; |
304 | | }; |
305 | | template <PrimitiveType InputType, PrimitiveType ResultType> |
306 | | using AggregateFunctionSumDecimalV3 = typename SumDecimalV3<InputType, ResultType>::Function; |
307 | | |
308 | | template <PrimitiveType T> |
309 | | struct SumSimpleForAggReader { |
310 | | using AggregateDataType = AggregateFunctionSumData<T>; |
311 | | using Function = AggregateFunctionSum<T, T, AggregateDataType>; |
312 | | }; |
313 | | // do not level up return type for agg reader |
314 | | template <PrimitiveType T> |
315 | | using AggregateFunctionSumSimpleReader = typename SumSimpleForAggReader<T>::Function; |
316 | | |
317 | | } // namespace doris |
318 | | |
319 | | #include "common/compile_check_end.h" |