be/src/exprs/aggregate/aggregate_function_sum.h
Line | Count | Source |
1 | | // Licensed to the Apache Software Foundation (ASF) under one |
2 | | // or more contributor license agreements. See the NOTICE file |
3 | | // distributed with this work for additional information |
4 | | // regarding copyright ownership. The ASF licenses this file |
5 | | // to you under the Apache License, Version 2.0 (the |
6 | | // "License"); you may not use this file except in compliance |
7 | | // with the License. You may obtain a copy of the License at |
8 | | // |
9 | | // http://www.apache.org/licenses/LICENSE-2.0 |
10 | | // |
11 | | // Unless required by applicable law or agreed to in writing, |
12 | | // software distributed under the License is distributed on an |
13 | | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
14 | | // KIND, either express or implied. See the License for the |
15 | | // specific language governing permissions and limitations |
16 | | // under the License. |
17 | | // This file is copied from |
18 | | // https://github.com/ClickHouse/ClickHouse/blob/master/src/AggregateFunctions/AggregateFunctionSum.h |
19 | | // and modified by Doris |
20 | | |
21 | | #pragma once |
22 | | |
23 | | #include <stddef.h> |
24 | | |
25 | | #include <memory> |
26 | | #include <vector> |
27 | | |
28 | | #include "core/assert_cast.h" |
29 | | #include "core/column/column.h" |
30 | | #include "core/data_type/data_type.h" |
31 | | #include "core/data_type/data_type_decimal.h" |
32 | | #include "core/data_type/data_type_fixed_length_object.h" |
33 | | #include "core/data_type/primitive_type.h" |
34 | | #include "core/field.h" |
35 | | #include "core/types.h" |
36 | | #include "exprs/aggregate/aggregate_function.h" |
37 | | |
38 | | namespace doris { |
39 | | class Arena; |
40 | | class BufferReadable; |
41 | | class BufferWritable; |
42 | | template <PrimitiveType T> |
43 | | class ColumnDecimal; |
44 | | template <PrimitiveType T> |
45 | | class DataTypeNumber; |
46 | | template <PrimitiveType T> |
47 | | class ColumnVector; |
48 | | |
49 | | template <PrimitiveType T> |
50 | | struct AggregateFunctionSumData { |
51 | | typename PrimitiveTypeTraits<T>::CppType sum {}; |
52 | | |
53 | 178M | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { |
54 | 178M | #ifdef __clang__ |
55 | 178M | #pragma clang fp reassociate(on) |
56 | 178M | #endif |
57 | 178M | sum += value; |
58 | 178M | } _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE28EE3addENS_7DecimalIiEE Line | Count | Source | 53 | 10 | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 54 | 10 | #ifdef __clang__ | 55 | 10 | #pragma clang fp reassociate(on) | 56 | 10 | #endif | 57 | 10 | sum += value; | 58 | 10 | } |
Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE29EE3addENS_7DecimalIlEE _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE30EE3addENS_12Decimal128V3E Line | Count | Source | 53 | 156M | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 54 | 156M | #ifdef __clang__ | 55 | 156M | #pragma clang fp reassociate(on) | 56 | 156M | #endif | 57 | 156M | sum += value; | 58 | 156M | } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE35EE3addENS_7DecimalIN4wide7integerILm256EiEEEE Line | Count | Source | 53 | 820 | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 54 | 820 | #ifdef __clang__ | 55 | 820 | #pragma clang fp reassociate(on) | 56 | 820 | #endif | 57 | 820 | sum += value; | 58 | 820 | } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE6EE3addEl Line | Count | Source | 53 | 18.6M | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 54 | 18.6M | #ifdef __clang__ | 55 | 18.6M | #pragma clang fp reassociate(on) | 56 | 18.6M | #endif | 57 | 18.6M | sum += value; | 58 | 18.6M | } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE7EE3addEn Line | Count | Source | 53 | 13.3k | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 54 | 13.3k | #ifdef __clang__ | 55 | 13.3k | #pragma clang fp reassociate(on) | 56 | 13.3k | #endif | 57 | 13.3k | sum += value; | 58 | 13.3k | } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE9EE3addEd Line | Count | Source | 53 | 2.55M | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 54 | 2.55M | #ifdef __clang__ | 55 | 2.55M | #pragma clang fp reassociate(on) | 56 | 2.55M | #endif | 57 | 2.55M | sum += value; | 58 | 2.55M | } |
Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE20EE3addENS_14DecimalV2ValueE _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE3EE3addEa Line | Count | Source | 53 | 40 | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 54 | 40 | #ifdef __clang__ | 55 | 40 | #pragma clang fp reassociate(on) | 56 | 40 | #endif | 57 | 40 | sum += value; | 58 | 40 | } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE4EE3addEs Line | Count | Source | 53 | 140 | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 54 | 140 | #ifdef __clang__ | 55 | 140 | #pragma clang fp reassociate(on) | 56 | 140 | #endif | 57 | 140 | sum += value; | 58 | 140 | } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE5EE3addEi Line | Count | Source | 53 | 822k | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 54 | 822k | #ifdef __clang__ | 55 | 822k | #pragma clang fp reassociate(on) | 56 | 822k | #endif | 57 | 822k | sum += value; | 58 | 822k | } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE8EE3addEf Line | Count | Source | 53 | 12.7k | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 54 | 12.7k | #ifdef __clang__ | 55 | 12.7k | #pragma clang fp reassociate(on) | 56 | 12.7k | #endif | 57 | 12.7k | sum += value; | 58 | 12.7k | } |
|
59 | | |
60 | 211k | void merge(const AggregateFunctionSumData& rhs) { sum += rhs.sum; }Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE28EE5mergeERKS2_ Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE29EE5mergeERKS2_ _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE30EE5mergeERKS2_ Line | Count | Source | 60 | 161k | void merge(const AggregateFunctionSumData& rhs) { sum += rhs.sum; } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE35EE5mergeERKS2_ Line | Count | Source | 60 | 54 | void merge(const AggregateFunctionSumData& rhs) { sum += rhs.sum; } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE6EE5mergeERKS2_ Line | Count | Source | 60 | 43.2k | void merge(const AggregateFunctionSumData& rhs) { sum += rhs.sum; } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE7EE5mergeERKS2_ Line | Count | Source | 60 | 109 | void merge(const AggregateFunctionSumData& rhs) { sum += rhs.sum; } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE9EE5mergeERKS2_ Line | Count | Source | 60 | 6.63k | void merge(const AggregateFunctionSumData& rhs) { sum += rhs.sum; } |
Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE20EE5mergeERKS2_ Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE3EE5mergeERKS2_ Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE4EE5mergeERKS2_ Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE5EE5mergeERKS2_ Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE8EE5mergeERKS2_ |
61 | | |
62 | 641 | void write(BufferWritable& buf) const { buf.write_binary(sum); }Unexecuted instantiation: _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE28EE5writeERNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE29EE5writeERNS_14BufferWritableE _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE30EE5writeERNS_14BufferWritableE Line | Count | Source | 62 | 28 | void write(BufferWritable& buf) const { buf.write_binary(sum); } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE35EE5writeERNS_14BufferWritableE Line | Count | Source | 62 | 28 | void write(BufferWritable& buf) const { buf.write_binary(sum); } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE6EE5writeERNS_14BufferWritableE Line | Count | Source | 62 | 584 | void write(BufferWritable& buf) const { buf.write_binary(sum); } |
Unexecuted instantiation: _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE7EE5writeERNS_14BufferWritableE _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE9EE5writeERNS_14BufferWritableE Line | Count | Source | 62 | 1 | void write(BufferWritable& buf) const { buf.write_binary(sum); } |
Unexecuted instantiation: _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE20EE5writeERNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE3EE5writeERNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE4EE5writeERNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE5EE5writeERNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE8EE5writeERNS_14BufferWritableE |
63 | | |
64 | 590 | void read(BufferReadable& buf) { buf.read_binary(sum); }Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE28EE4readERNS_14BufferReadableE Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE29EE4readERNS_14BufferReadableE _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE30EE4readERNS_14BufferReadableE Line | Count | Source | 64 | 23 | void read(BufferReadable& buf) { buf.read_binary(sum); } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE35EE4readERNS_14BufferReadableE Line | Count | Source | 64 | 28 | void read(BufferReadable& buf) { buf.read_binary(sum); } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE6EE4readERNS_14BufferReadableE Line | Count | Source | 64 | 539 | void read(BufferReadable& buf) { buf.read_binary(sum); } |
Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE7EE4readERNS_14BufferReadableE Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE9EE4readERNS_14BufferReadableE Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE20EE4readERNS_14BufferReadableE Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE3EE4readERNS_14BufferReadableE Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE4EE4readERNS_14BufferReadableE Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE5EE4readERNS_14BufferReadableE Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE8EE4readERNS_14BufferReadableE |
65 | | |
66 | 2.24M | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; }_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE28EE3getEv Line | Count | Source | 66 | 4 | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
Unexecuted instantiation: _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE29EE3getEv _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE30EE3getEv Line | Count | Source | 66 | 828k | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE35EE3getEv Line | Count | Source | 66 | 233 | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE6EE3getEv Line | Count | Source | 66 | 969k | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE7EE3getEv Line | Count | Source | 66 | 7.94k | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE9EE3getEv Line | Count | Source | 66 | 15.1k | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
Unexecuted instantiation: _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE20EE3getEv _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE3EE3getEv Line | Count | Source | 66 | 14 | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE4EE3getEv Line | Count | Source | 66 | 47 | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE5EE3getEv Line | Count | Source | 66 | 412k | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE8EE3getEv Line | Count | Source | 66 | 7.70k | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
|
67 | | }; |
68 | | |
69 | | template <PrimitiveType T, PrimitiveType TResult, typename Data> |
70 | | class AggregateFunctionSum; |
71 | | |
72 | | template <PrimitiveType T, PrimitiveType TResult> |
73 | | constexpr static bool is_valid_sum_types = |
74 | | (is_same_or_wider_decimalv3(T, TResult) || (is_decimalv2(T) && is_decimalv2(TResult)) || |
75 | | (is_float_or_double(T) && is_float_or_double(TResult)) || |
76 | | (is_int_or_bool(T) && is_int(TResult))); |
77 | | /// Counts the sum of the numbers. |
78 | | template <PrimitiveType T, PrimitiveType TResult, typename Data> |
79 | | requires(is_valid_sum_types<T, TResult>) |
80 | | class AggregateFunctionSum<T, TResult, Data> final |
81 | | : public IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>, |
82 | | UnaryExpression, |
83 | | NullableAggregateFunction { |
84 | | public: |
85 | | using ResultDataType = typename PrimitiveTypeTraits<TResult>::DataType; |
86 | | using ColVecType = typename PrimitiveTypeTraits<T>::ColumnType; |
87 | | using ColVecResult = typename PrimitiveTypeTraits<TResult>::ColumnType; |
88 | | |
89 | 2.09k | String get_name() const override { return "sum"; }Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE8get_nameB5cxx11Ev _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE8get_nameB5cxx11Ev Line | Count | Source | 89 | 12 | String get_name() const override { return "sum"; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE8get_nameB5cxx11Ev _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE8get_nameB5cxx11Ev Line | Count | Source | 89 | 4 | String get_name() const override { return "sum"; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE8get_nameB5cxx11Ev _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE8get_nameB5cxx11Ev Line | Count | Source | 89 | 29 | String get_name() const override { return "sum"; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE8get_nameB5cxx11Ev Line | Count | Source | 89 | 1 | String get_name() const override { return "sum"; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE8get_nameB5cxx11Ev Line | Count | Source | 89 | 3 | String get_name() const override { return "sum"; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE8get_nameB5cxx11Ev Line | Count | Source | 89 | 706 | String get_name() const override { return "sum"; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE8get_nameB5cxx11Ev _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE8get_nameB5cxx11Ev Line | Count | Source | 89 | 718 | String get_name() const override { return "sum"; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE8get_nameB5cxx11Ev Line | Count | Source | 89 | 456 | String get_name() const override { return "sum"; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE8get_nameB5cxx11Ev _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE8get_nameB5cxx11Ev Line | Count | Source | 89 | 166 | String get_name() const override { return "sum"; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE8get_nameB5cxx11Ev |
90 | | |
91 | | AggregateFunctionSum(const DataTypes& argument_types_) |
92 | 31.8k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( |
93 | 31.8k | argument_types_), |
94 | 31.8k | scale(get_decimal_scale(*argument_types_[0])) {}_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 92 | 894 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 894 | argument_types_), | 94 | 894 | scale(get_decimal_scale(*argument_types_[0])) {} |
Unexecuted instantiation: _ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE _ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 92 | 123 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 123 | argument_types_), | 94 | 123 | scale(get_decimal_scale(*argument_types_[0])) {} |
Unexecuted instantiation: _ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE _ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 92 | 30 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 30 | argument_types_), | 94 | 30 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 92 | 1.23k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 1.23k | argument_types_), | 94 | 1.23k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 92 | 18 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 18 | argument_types_), | 94 | 18 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 92 | 2.20k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 2.20k | argument_types_), | 94 | 2.20k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 92 | 5 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 5 | argument_types_), | 94 | 5 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 92 | 159 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 159 | argument_types_), | 94 | 159 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 92 | 4.03k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 4.03k | argument_types_), | 94 | 4.03k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 92 | 75 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 75 | argument_types_), | 94 | 75 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 92 | 8.61k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 8.61k | argument_types_), | 94 | 8.61k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 92 | 6.32k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 6.32k | argument_types_), | 94 | 6.32k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 92 | 1.20k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 1.20k | argument_types_), | 94 | 1.20k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 92 | 64 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 64 | argument_types_), | 94 | 64 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 92 | 2.31k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 2.31k | argument_types_), | 94 | 2.31k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 92 | 1 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 1 | argument_types_), | 94 | 1 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 92 | 921 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 921 | argument_types_), | 94 | 921 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 92 | 980 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 980 | argument_types_), | 94 | 980 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 92 | 1.20k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 1.20k | argument_types_), | 94 | 1.20k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 92 | 1.48k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 93 | 1.48k | argument_types_), | 94 | 1.48k | scale(get_decimal_scale(*argument_types_[0])) {} |
|
95 | | |
96 | 31.6k | DataTypePtr get_return_type() const override { |
97 | 31.6k | if constexpr (is_decimal(TResult)) { |
98 | 3.70k | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); |
99 | 27.9k | } else { |
100 | 27.9k | return std::make_shared<ResultDataType>(); |
101 | 27.9k | } |
102 | 31.6k | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE15get_return_typeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE15get_return_typeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE15get_return_typeEv Line | Count | Source | 96 | 245 | DataTypePtr get_return_type() const override { | 97 | 245 | if constexpr (is_decimal(TResult)) { | 98 | 245 | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 99 | | } else { | 100 | | return std::make_shared<ResultDataType>(); | 101 | | } | 102 | 245 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE15get_return_typeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE15get_return_typeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE15get_return_typeEv Line | Count | Source | 96 | 1.91k | DataTypePtr get_return_type() const override { | 97 | 1.91k | if constexpr (is_decimal(TResult)) { | 98 | 1.91k | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 99 | | } else { | 100 | | return std::make_shared<ResultDataType>(); | 101 | | } | 102 | 1.91k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE15get_return_typeEv Line | Count | Source | 96 | 27 | DataTypePtr get_return_type() const override { | 97 | 27 | if constexpr (is_decimal(TResult)) { | 98 | 27 | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 99 | | } else { | 100 | | return std::make_shared<ResultDataType>(); | 101 | | } | 102 | 27 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE15get_return_typeEv Line | Count | Source | 96 | 1.41k | DataTypePtr get_return_type() const override { | 97 | 1.41k | if constexpr (is_decimal(TResult)) { | 98 | 1.41k | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 99 | | } else { | 100 | | return std::make_shared<ResultDataType>(); | 101 | | } | 102 | 1.41k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE15get_return_typeEv Line | Count | Source | 96 | 10 | DataTypePtr get_return_type() const override { | 97 | 10 | if constexpr (is_decimal(TResult)) { | 98 | 10 | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 99 | | } else { | 100 | | return std::make_shared<ResultDataType>(); | 101 | | } | 102 | 10 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE15get_return_typeEv Line | Count | Source | 96 | 93 | DataTypePtr get_return_type() const override { | 97 | 93 | if constexpr (is_decimal(TResult)) { | 98 | 93 | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 99 | | } else { | 100 | | return std::make_shared<ResultDataType>(); | 101 | | } | 102 | 93 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE15get_return_typeEv Line | Count | Source | 96 | 8.59k | DataTypePtr get_return_type() const override { | 97 | | if constexpr (is_decimal(TResult)) { | 98 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 99 | 8.59k | } else { | 100 | 8.59k | return std::make_shared<ResultDataType>(); | 101 | 8.59k | } | 102 | 8.59k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE15get_return_typeEv Line | Count | Source | 96 | 83 | DataTypePtr get_return_type() const override { | 97 | | if constexpr (is_decimal(TResult)) { | 98 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 99 | 83 | } else { | 100 | 83 | return std::make_shared<ResultDataType>(); | 101 | 83 | } | 102 | 83 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE15get_return_typeEv Line | Count | Source | 96 | 14.0k | DataTypePtr get_return_type() const override { | 97 | | if constexpr (is_decimal(TResult)) { | 98 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 99 | 14.0k | } else { | 100 | 14.0k | return std::make_shared<ResultDataType>(); | 101 | 14.0k | } | 102 | 14.0k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE15get_return_typeEv Line | Count | Source | 96 | 4.25k | DataTypePtr get_return_type() const override { | 97 | | if constexpr (is_decimal(TResult)) { | 98 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 99 | 4.25k | } else { | 100 | 4.25k | return std::make_shared<ResultDataType>(); | 101 | 4.25k | } | 102 | 4.25k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE15get_return_typeEv Line | Count | Source | 96 | 150 | DataTypePtr get_return_type() const override { | 97 | | if constexpr (is_decimal(TResult)) { | 98 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 99 | 150 | } else { | 100 | 150 | return std::make_shared<ResultDataType>(); | 101 | 150 | } | 102 | 150 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE15get_return_typeEv Line | Count | Source | 96 | 58 | DataTypePtr get_return_type() const override { | 97 | | if constexpr (is_decimal(TResult)) { | 98 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 99 | 58 | } else { | 100 | 58 | return std::make_shared<ResultDataType>(); | 101 | 58 | } | 102 | 58 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE15get_return_typeEv Line | Count | Source | 96 | 772 | DataTypePtr get_return_type() const override { | 97 | | if constexpr (is_decimal(TResult)) { | 98 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 99 | 772 | } else { | 100 | 772 | return std::make_shared<ResultDataType>(); | 101 | 772 | } | 102 | 772 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE15get_return_typeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE15get_return_typeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE15get_return_typeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE15get_return_typeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE15get_return_typeEv |
103 | | |
104 | 0 | bool is_trivial() const override { return true; }Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE10is_trivialEv |
105 | | |
106 | | void add(AggregateDataPtr __restrict place, const IColumn** columns, ssize_t row_num, |
107 | 179M | Arena&) const override { |
108 | 179M | const auto& column = |
109 | 179M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); |
110 | 179M | this->data(place).add( |
111 | 179M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); |
112 | 179M | } _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 107 | 10 | Arena&) const override { | 108 | 10 | const auto& column = | 109 | 10 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 110 | 10 | this->data(place).add( | 111 | 10 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 112 | 10 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 107 | 2.17M | Arena&) const override { | 108 | 2.17M | const auto& column = | 109 | 2.17M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 110 | 2.17M | this->data(place).add( | 111 | 2.17M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 112 | 2.17M | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 107 | 77.8M | Arena&) const override { | 108 | 77.8M | const auto& column = | 109 | 77.8M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 110 | 77.8M | this->data(place).add( | 111 | 77.8M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 112 | 77.8M | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 107 | 51 | Arena&) const override { | 108 | 51 | const auto& column = | 109 | 51 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 110 | 51 | this->data(place).add( | 111 | 51 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 112 | 51 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 107 | 77.7M | Arena&) const override { | 108 | 77.7M | const auto& column = | 109 | 77.7M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 110 | 77.7M | this->data(place).add( | 111 | 77.7M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 112 | 77.7M | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 107 | 4 | Arena&) const override { | 108 | 4 | const auto& column = | 109 | 4 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 110 | 4 | this->data(place).add( | 111 | 4 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 112 | 4 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 107 | 762 | Arena&) const override { | 108 | 762 | const auto& column = | 109 | 762 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 110 | 762 | this->data(place).add( | 111 | 762 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 112 | 762 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 107 | 10.4M | Arena&) const override { | 108 | 10.4M | const auto& column = | 109 | 10.4M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 110 | 10.4M | this->data(place).add( | 111 | 10.4M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 112 | 10.4M | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 107 | 572 | Arena&) const override { | 108 | 572 | const auto& column = | 109 | 572 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 110 | 572 | this->data(place).add( | 111 | 572 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 112 | 572 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 107 | 6.65M | Arena&) const override { | 108 | 6.65M | const auto& column = | 109 | 6.65M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 110 | 6.65M | this->data(place).add( | 111 | 6.65M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 112 | 6.65M | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 107 | 1.51M | Arena&) const override { | 108 | 1.51M | const auto& column = | 109 | 1.51M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 110 | 1.51M | this->data(place).add( | 111 | 1.51M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 112 | 1.51M | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 107 | 13.3k | Arena&) const override { | 108 | 13.3k | const auto& column = | 109 | 13.3k | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 110 | 13.3k | this->data(place).add( | 111 | 13.3k | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 112 | 13.3k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 107 | 341 | Arena&) const override { | 108 | 341 | const auto& column = | 109 | 341 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 110 | 341 | this->data(place).add( | 111 | 341 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 112 | 341 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 107 | 2.55M | Arena&) const override { | 108 | 2.55M | const auto& column = | 109 | 2.55M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 110 | 2.55M | this->data(place).add( | 111 | 2.55M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 112 | 2.55M | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 107 | 40 | Arena&) const override { | 108 | 40 | const auto& column = | 109 | 40 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 110 | 40 | this->data(place).add( | 111 | 40 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 112 | 40 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 107 | 140 | Arena&) const override { | 108 | 140 | const auto& column = | 109 | 140 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 110 | 140 | this->data(place).add( | 111 | 140 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 112 | 140 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 107 | 822k | Arena&) const override { | 108 | 822k | const auto& column = | 109 | 822k | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 110 | 822k | this->data(place).add( | 111 | 822k | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 112 | 822k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 107 | 12.7k | Arena&) const override { | 108 | 12.7k | const auto& column = | 109 | 12.7k | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 110 | 12.7k | this->data(place).add( | 111 | 12.7k | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 112 | 12.7k | } |
|
113 | | |
114 | 1.36M | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; }Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE5resetEPc Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE5resetEPc _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE5resetEPc Line | Count | Source | 114 | 9 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE5resetEPc Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE5resetEPc _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE5resetEPc Line | Count | Source | 114 | 7 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE5resetEPc _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE5resetEPc Line | Count | Source | 114 | 130 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE5resetEPc Line | Count | Source | 114 | 1 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE5resetEPc Line | Count | Source | 114 | 163 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5resetEPc Line | Count | Source | 114 | 144 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5resetEPc Line | Count | Source | 114 | 73 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5resetEPc Line | Count | Source | 114 | 739 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5resetEPc Line | Count | Source | 114 | 924k | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE5resetEPc Line | Count | Source | 114 | 7.82k | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE5resetEPc Line | Count | Source | 114 | 66 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE5resetEPc Line | Count | Source | 114 | 9.00k | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE5resetEPc Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE5resetEPc _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE5resetEPc Line | Count | Source | 114 | 22 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE5resetEPc Line | Count | Source | 114 | 412k | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE5resetEPc Line | Count | Source | 114 | 7.70k | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
|
115 | | |
116 | | void merge(AggregateDataPtr __restrict place, ConstAggregateDataPtr rhs, |
117 | 211k | Arena&) const override { |
118 | 211k | this->data(place).merge(this->data(rhs)); |
119 | 211k | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE5mergeEPcPKcRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE5mergeEPcPKcRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 117 | 60 | Arena&) const override { | 118 | 60 | this->data(place).merge(this->data(rhs)); | 119 | 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 | 117 | 141k | Arena&) const override { | 118 | 141k | this->data(place).merge(this->data(rhs)); | 119 | 141k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 117 | 18 | Arena&) const override { | 118 | 18 | this->data(place).merge(this->data(rhs)); | 119 | 18 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 117 | 19.7k | Arena&) const override { | 118 | 19.7k | this->data(place).merge(this->data(rhs)); | 119 | 19.7k | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE5mergeEPcPKcRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 117 | 36 | Arena&) const override { | 118 | 36 | this->data(place).merge(this->data(rhs)); | 119 | 36 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 117 | 110 | Arena&) const override { | 118 | 110 | this->data(place).merge(this->data(rhs)); | 119 | 110 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 117 | 41 | Arena&) const override { | 118 | 41 | this->data(place).merge(this->data(rhs)); | 119 | 41 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 117 | 24.8k | Arena&) const override { | 118 | 24.8k | this->data(place).merge(this->data(rhs)); | 119 | 24.8k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 117 | 18.2k | Arena&) const override { | 118 | 18.2k | this->data(place).merge(this->data(rhs)); | 119 | 18.2k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 117 | 109 | Arena&) const override { | 118 | 109 | this->data(place).merge(this->data(rhs)); | 119 | 109 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 117 | 2 | Arena&) const override { | 118 | 2 | this->data(place).merge(this->data(rhs)); | 119 | 2 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 117 | 6.63k | Arena&) const override { | 118 | 6.63k | this->data(place).merge(this->data(rhs)); | 119 | 6.63k | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE5mergeEPcPKcRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE5mergeEPcPKcRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE5mergeEPcPKcRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE5mergeEPcPKcRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE5mergeEPcPKcRNS_5ArenaE |
120 | | |
121 | 642 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { |
122 | 642 | this->data(place).write(buf); |
123 | 642 | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE9serializeEPKcRNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE9serializeEPKcRNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE9serializeEPKcRNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE9serializeEPKcRNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE9serializeEPKcRNS_14BufferWritableE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 121 | 18 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 122 | 18 | this->data(place).write(buf); | 123 | 18 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 121 | 9 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 122 | 9 | this->data(place).write(buf); | 123 | 9 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 121 | 10 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 122 | 10 | this->data(place).write(buf); | 123 | 10 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE9serializeEPKcRNS_14BufferWritableE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 121 | 19 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 122 | 19 | this->data(place).write(buf); | 123 | 19 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 121 | 4 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 122 | 4 | this->data(place).write(buf); | 123 | 4 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE9serializeEPKcRNS_14BufferWritableE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 121 | 581 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 122 | 581 | this->data(place).write(buf); | 123 | 581 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE9serializeEPKcRNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE9serializeEPKcRNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE9serializeEPKcRNS_14BufferWritableE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 121 | 1 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 122 | 1 | this->data(place).write(buf); | 123 | 1 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE9serializeEPKcRNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE9serializeEPKcRNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE9serializeEPKcRNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE9serializeEPKcRNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE9serializeEPKcRNS_14BufferWritableE |
124 | | |
125 | | void deserialize(AggregateDataPtr __restrict place, BufferReadable& buf, |
126 | 590 | Arena&) const override { |
127 | 590 | this->data(place).read(buf); |
128 | 590 | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 126 | 13 | Arena&) const override { | 127 | 13 | this->data(place).read(buf); | 128 | 13 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 126 | 9 | Arena&) const override { | 127 | 9 | this->data(place).read(buf); | 128 | 9 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 126 | 10 | Arena&) const override { | 127 | 10 | this->data(place).read(buf); | 128 | 10 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 126 | 19 | Arena&) const override { | 127 | 19 | this->data(place).read(buf); | 128 | 19 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 126 | 4 | Arena&) const override { | 127 | 4 | this->data(place).read(buf); | 128 | 4 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 126 | 535 | Arena&) const override { | 127 | 535 | this->data(place).read(buf); | 128 | 535 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE |
129 | | |
130 | 2.23M | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { |
131 | 2.23M | auto& column = assert_cast<ColVecResult&>(to); |
132 | 2.23M | column.get_data().push_back(this->data(place).get()); |
133 | 2.23M | } _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 130 | 4 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 131 | 4 | auto& column = assert_cast<ColVecResult&>(to); | 132 | 4 | column.get_data().push_back(this->data(place).get()); | 133 | 4 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE18insert_result_intoEPKcRNS_7IColumnE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 130 | 167 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 131 | 167 | auto& column = assert_cast<ColVecResult&>(to); | 132 | 167 | column.get_data().push_back(this->data(place).get()); | 133 | 167 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE18insert_result_intoEPKcRNS_7IColumnE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE18insert_result_intoEPKcRNS_7IColumnE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 130 | 774k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 131 | 774k | auto& column = assert_cast<ColVecResult&>(to); | 132 | 774k | column.get_data().push_back(this->data(place).get()); | 133 | 774k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 130 | 21 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 131 | 21 | auto& column = assert_cast<ColVecResult&>(to); | 132 | 21 | column.get_data().push_back(this->data(place).get()); | 133 | 21 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 130 | 49.8k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 131 | 49.8k | auto& column = assert_cast<ColVecResult&>(to); | 132 | 49.8k | column.get_data().push_back(this->data(place).get()); | 133 | 49.8k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 130 | 5 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 131 | 5 | auto& column = assert_cast<ColVecResult&>(to); | 132 | 5 | column.get_data().push_back(this->data(place).get()); | 133 | 5 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 130 | 207 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 131 | 207 | auto& column = assert_cast<ColVecResult&>(to); | 132 | 207 | column.get_data().push_back(this->data(place).get()); | 133 | 207 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 130 | 2.80k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 131 | 2.80k | auto& column = assert_cast<ColVecResult&>(to); | 132 | 2.80k | column.get_data().push_back(this->data(place).get()); | 133 | 2.80k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 130 | 166 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 131 | 166 | auto& column = assert_cast<ColVecResult&>(to); | 132 | 166 | column.get_data().push_back(this->data(place).get()); | 133 | 166 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 130 | 19.0k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 131 | 19.0k | auto& column = assert_cast<ColVecResult&>(to); | 132 | 19.0k | column.get_data().push_back(this->data(place).get()); | 133 | 19.0k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 130 | 946k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 131 | 946k | auto& column = assert_cast<ColVecResult&>(to); | 132 | 946k | column.get_data().push_back(this->data(place).get()); | 133 | 946k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 130 | 7.94k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 131 | 7.94k | auto& column = assert_cast<ColVecResult&>(to); | 132 | 7.94k | column.get_data().push_back(this->data(place).get()); | 133 | 7.94k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 130 | 74 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 131 | 74 | auto& column = assert_cast<ColVecResult&>(to); | 132 | 74 | column.get_data().push_back(this->data(place).get()); | 133 | 74 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 130 | 15.1k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 131 | 15.1k | auto& column = assert_cast<ColVecResult&>(to); | 132 | 15.1k | column.get_data().push_back(this->data(place).get()); | 133 | 15.1k | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE18insert_result_intoEPKcRNS_7IColumnE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 130 | 14 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 131 | 14 | auto& column = assert_cast<ColVecResult&>(to); | 132 | 14 | column.get_data().push_back(this->data(place).get()); | 133 | 14 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 130 | 47 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 131 | 47 | auto& column = assert_cast<ColVecResult&>(to); | 132 | 47 | column.get_data().push_back(this->data(place).get()); | 133 | 47 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 130 | 412k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 131 | 412k | auto& column = assert_cast<ColVecResult&>(to); | 132 | 412k | column.get_data().push_back(this->data(place).get()); | 133 | 412k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 130 | 7.70k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 131 | 7.70k | auto& column = assert_cast<ColVecResult&>(to); | 132 | 7.70k | column.get_data().push_back(this->data(place).get()); | 133 | 7.70k | } |
|
134 | | |
135 | | void serialize_to_column(const std::vector<AggregateDataPtr>& places, size_t offset, |
136 | 8.65k | MutableColumnPtr& dst, const size_t num_rows) const override { |
137 | 8.65k | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); |
138 | 8.65k | DCHECK(col.item_size() == sizeof(Data)) |
139 | 1 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); |
140 | 8.65k | col.resize(num_rows); |
141 | 8.65k | auto* data = col.get_data().data(); |
142 | 1.27M | for (size_t i = 0; i != num_rows; ++i) { |
143 | 1.26M | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = |
144 | 1.26M | *reinterpret_cast<Data*>(places[i] + offset); |
145 | 1.26M | } |
146 | 8.65k | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 136 | 54 | MutableColumnPtr& dst, const size_t num_rows) const override { | 137 | 54 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 138 | 54 | DCHECK(col.item_size() == sizeof(Data)) | 139 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 140 | 54 | col.resize(num_rows); | 141 | 54 | auto* data = col.get_data().data(); | 142 | 114 | for (size_t i = 0; i != num_rows; ++i) { | 143 | 60 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 144 | 60 | *reinterpret_cast<Data*>(places[i] + offset); | 145 | 60 | } | 146 | 54 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 136 | 2.71k | MutableColumnPtr& dst, const size_t num_rows) const override { | 137 | 2.71k | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 138 | 2.71k | DCHECK(col.item_size() == sizeof(Data)) | 139 | 3 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 140 | 2.71k | col.resize(num_rows); | 141 | 2.71k | auto* data = col.get_data().data(); | 142 | 145k | for (size_t i = 0; i != num_rows; ++i) { | 143 | 142k | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 144 | 142k | *reinterpret_cast<Data*>(places[i] + offset); | 145 | 142k | } | 146 | 2.71k | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 136 | 1.70k | MutableColumnPtr& dst, const size_t num_rows) const override { | 137 | 1.70k | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 138 | 18.4E | DCHECK(col.item_size() == sizeof(Data)) | 139 | 18.4E | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 140 | 1.70k | col.resize(num_rows); | 141 | 1.70k | auto* data = col.get_data().data(); | 142 | 20.6k | for (size_t i = 0; i != num_rows; ++i) { | 143 | 18.9k | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 144 | 18.9k | *reinterpret_cast<Data*>(places[i] + offset); | 145 | 18.9k | } | 146 | 1.70k | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 136 | 28 | MutableColumnPtr& dst, const size_t num_rows) const override { | 137 | 28 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 138 | 28 | DCHECK(col.item_size() == sizeof(Data)) | 139 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 140 | 28 | col.resize(num_rows); | 141 | 28 | auto* data = col.get_data().data(); | 142 | 36 | for (size_t i = 0; i != num_rows; ++i) { | 143 | 8 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 144 | 8 | *reinterpret_cast<Data*>(places[i] + offset); | 145 | 8 | } | 146 | 28 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 136 | 127 | MutableColumnPtr& dst, const size_t num_rows) const override { | 137 | 127 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 138 | 127 | DCHECK(col.item_size() == sizeof(Data)) | 139 | 1 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 140 | 127 | col.resize(num_rows); | 141 | 127 | auto* data = col.get_data().data(); | 142 | 225 | for (size_t i = 0; i != num_rows; ++i) { | 143 | 98 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 144 | 98 | *reinterpret_cast<Data*>(places[i] + offset); | 145 | 98 | } | 146 | 127 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 136 | 32 | MutableColumnPtr& dst, const size_t num_rows) const override { | 137 | 32 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 138 | 32 | DCHECK(col.item_size() == sizeof(Data)) | 139 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 140 | 32 | col.resize(num_rows); | 141 | 32 | auto* data = col.get_data().data(); | 142 | 73 | for (size_t i = 0; i != num_rows; ++i) { | 143 | 41 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 144 | 41 | *reinterpret_cast<Data*>(places[i] + offset); | 145 | 41 | } | 146 | 32 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 136 | 1.32k | MutableColumnPtr& dst, const size_t num_rows) const override { | 137 | 1.32k | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 138 | 18.4E | DCHECK(col.item_size() == sizeof(Data)) | 139 | 18.4E | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 140 | 1.32k | col.resize(num_rows); | 141 | 1.32k | auto* data = col.get_data().data(); | 142 | 1.08M | for (size_t i = 0; i != num_rows; ++i) { | 143 | 1.08M | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 144 | 1.08M | *reinterpret_cast<Data*>(places[i] + offset); | 145 | 1.08M | } | 146 | 1.32k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 136 | 2.34k | MutableColumnPtr& dst, const size_t num_rows) const override { | 137 | 2.34k | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 138 | 2.34k | DCHECK(col.item_size() == sizeof(Data)) | 139 | 5 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 140 | 2.34k | col.resize(num_rows); | 141 | 2.34k | auto* data = col.get_data().data(); | 142 | 20.6k | for (size_t i = 0; i != num_rows; ++i) { | 143 | 18.2k | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 144 | 18.2k | *reinterpret_cast<Data*>(places[i] + offset); | 145 | 18.2k | } | 146 | 2.34k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 136 | 115 | MutableColumnPtr& dst, const size_t num_rows) const override { | 137 | 115 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 138 | 115 | DCHECK(col.item_size() == sizeof(Data)) | 139 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 140 | 115 | col.resize(num_rows); | 141 | 115 | auto* data = col.get_data().data(); | 142 | 224 | for (size_t i = 0; i != num_rows; ++i) { | 143 | 109 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 144 | 109 | *reinterpret_cast<Data*>(places[i] + offset); | 145 | 109 | } | 146 | 115 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 136 | 3 | MutableColumnPtr& dst, const size_t num_rows) const override { | 137 | 3 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 138 | 3 | DCHECK(col.item_size() == sizeof(Data)) | 139 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 140 | 3 | col.resize(num_rows); | 141 | 3 | auto* data = col.get_data().data(); | 142 | 5 | for (size_t i = 0; i != num_rows; ++i) { | 143 | 2 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 144 | 2 | *reinterpret_cast<Data*>(places[i] + offset); | 145 | 2 | } | 146 | 3 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 136 | 214 | MutableColumnPtr& dst, const size_t num_rows) const override { | 137 | 214 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 138 | 18.4E | DCHECK(col.item_size() == sizeof(Data)) | 139 | 18.4E | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 140 | 214 | col.resize(num_rows); | 141 | 214 | auto* data = col.get_data().data(); | 142 | 6.84k | for (size_t i = 0; i != num_rows; ++i) { | 143 | 6.62k | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 144 | 6.62k | *reinterpret_cast<Data*>(places[i] + offset); | 145 | 6.62k | } | 146 | 214 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm |
147 | | |
148 | | void streaming_agg_serialize_to_column(const IColumn** columns, MutableColumnPtr& dst, |
149 | 7 | const size_t num_rows, Arena&) const override { |
150 | 7 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); |
151 | 7 | auto& src = assert_cast<const ColVecType&>(*columns[0]); |
152 | 7 | DCHECK(col.item_size() == sizeof(Data)) |
153 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); |
154 | 7 | col.resize(num_rows); |
155 | 7 | auto* src_data = src.get_data().data(); |
156 | 7 | auto* dst_data = col.get_data().data(); |
157 | 29 | for (size_t i = 0; i != num_rows; ++i) { |
158 | 22 | auto& state = *reinterpret_cast<Data*>(&dst_data[sizeof(Data) * i]); |
159 | 22 | state.sum = typename PrimitiveTypeTraits<TResult>::CppType(src_data[i]); |
160 | 22 | } |
161 | 7 | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Line | Count | Source | 149 | 3 | const size_t num_rows, Arena&) const override { | 150 | 3 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 151 | 3 | auto& src = assert_cast<const ColVecType&>(*columns[0]); | 152 | 3 | DCHECK(col.item_size() == sizeof(Data)) | 153 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 154 | 3 | col.resize(num_rows); | 155 | 3 | auto* src_data = src.get_data().data(); | 156 | 3 | auto* dst_data = col.get_data().data(); | 157 | 11 | for (size_t i = 0; i != num_rows; ++i) { | 158 | 8 | auto& state = *reinterpret_cast<Data*>(&dst_data[sizeof(Data) * i]); | 159 | 8 | state.sum = typename PrimitiveTypeTraits<TResult>::CppType(src_data[i]); | 160 | 8 | } | 161 | 3 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Line | Count | Source | 149 | 2 | const size_t num_rows, Arena&) const override { | 150 | 2 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 151 | 2 | auto& src = assert_cast<const ColVecType&>(*columns[0]); | 152 | 2 | DCHECK(col.item_size() == sizeof(Data)) | 153 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 154 | 2 | col.resize(num_rows); | 155 | 2 | auto* src_data = src.get_data().data(); | 156 | 2 | auto* dst_data = col.get_data().data(); | 157 | 4 | for (size_t i = 0; i != num_rows; ++i) { | 158 | 2 | auto& state = *reinterpret_cast<Data*>(&dst_data[sizeof(Data) * i]); | 159 | 2 | state.sum = typename PrimitiveTypeTraits<TResult>::CppType(src_data[i]); | 160 | 2 | } | 161 | 2 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Line | Count | Source | 149 | 2 | const size_t num_rows, Arena&) const override { | 150 | 2 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 151 | 2 | auto& src = assert_cast<const ColVecType&>(*columns[0]); | 152 | 2 | DCHECK(col.item_size() == sizeof(Data)) | 153 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 154 | 2 | col.resize(num_rows); | 155 | 2 | auto* src_data = src.get_data().data(); | 156 | 2 | auto* dst_data = col.get_data().data(); | 157 | 14 | for (size_t i = 0; i != num_rows; ++i) { | 158 | 12 | auto& state = *reinterpret_cast<Data*>(&dst_data[sizeof(Data) * i]); | 159 | 12 | state.sum = typename PrimitiveTypeTraits<TResult>::CppType(src_data[i]); | 160 | 12 | } | 161 | 2 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE |
162 | | |
163 | | void deserialize_and_merge_from_column_range(AggregateDataPtr __restrict place, |
164 | | const IColumn& column, size_t begin, size_t end, |
165 | 6.89k | Arena&) const override { |
166 | 6.89k | DCHECK(end <= column.size() && begin <= end) |
167 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); |
168 | 6.89k | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); |
169 | 6.89k | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); |
170 | 13.7k | for (size_t i = begin; i <= end; ++i) { |
171 | 6.89k | this->data(place).sum += data[i].sum; |
172 | 6.89k | } |
173 | 6.89k | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 165 | 120 | Arena&) const override { | 166 | 120 | DCHECK(end <= column.size() && begin <= end) | 167 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 168 | 120 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 169 | 120 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 170 | 240 | for (size_t i = begin; i <= end; ++i) { | 171 | 120 | this->data(place).sum += data[i].sum; | 172 | 120 | } | 173 | 120 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 165 | 226 | Arena&) const override { | 166 | 226 | DCHECK(end <= column.size() && begin <= end) | 167 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 168 | 226 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 169 | 226 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 170 | 452 | for (size_t i = begin; i <= end; ++i) { | 171 | 226 | this->data(place).sum += data[i].sum; | 172 | 226 | } | 173 | 226 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 165 | 114 | Arena&) const override { | 166 | 114 | DCHECK(end <= column.size() && begin <= end) | 167 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 168 | 114 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 169 | 114 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 170 | 228 | for (size_t i = begin; i <= end; ++i) { | 171 | 114 | this->data(place).sum += data[i].sum; | 172 | 114 | } | 173 | 114 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 165 | 9 | Arena&) const override { | 166 | 9 | DCHECK(end <= column.size() && begin <= end) | 167 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 168 | 9 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 169 | 9 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 170 | 18 | for (size_t i = begin; i <= end; ++i) { | 171 | 9 | this->data(place).sum += data[i].sum; | 172 | 9 | } | 173 | 9 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 165 | 2.68k | Arena&) const override { | 166 | 2.68k | DCHECK(end <= column.size() && begin <= end) | 167 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 168 | 2.68k | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 169 | 2.68k | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 170 | 5.36k | for (size_t i = begin; i <= end; ++i) { | 171 | 2.68k | this->data(place).sum += data[i].sum; | 172 | 2.68k | } | 173 | 2.68k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 165 | 23 | Arena&) const override { | 166 | 23 | DCHECK(end <= column.size() && begin <= end) | 167 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 168 | 23 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 169 | 23 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 170 | 46 | for (size_t i = begin; i <= end; ++i) { | 171 | 23 | this->data(place).sum += data[i].sum; | 172 | 23 | } | 173 | 23 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 165 | 3.11k | Arena&) const override { | 166 | 3.11k | DCHECK(end <= column.size() && begin <= end) | 167 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 168 | 3.11k | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 169 | 3.11k | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 170 | 6.23k | for (size_t i = begin; i <= end; ++i) { | 171 | 3.11k | this->data(place).sum += data[i].sum; | 172 | 3.11k | } | 173 | 3.11k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 165 | 441 | Arena&) const override { | 166 | 441 | DCHECK(end <= column.size() && begin <= end) | 167 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 168 | 441 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 169 | 441 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 170 | 882 | for (size_t i = begin; i <= end; ++i) { | 171 | 441 | this->data(place).sum += data[i].sum; | 172 | 441 | } | 173 | 441 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 165 | 17 | Arena&) const override { | 166 | 17 | DCHECK(end <= column.size() && begin <= end) | 167 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 168 | 17 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 169 | 17 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 170 | 34 | for (size_t i = begin; i <= end; ++i) { | 171 | 17 | this->data(place).sum += data[i].sum; | 172 | 17 | } | 173 | 17 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 165 | 23 | Arena&) const override { | 166 | 23 | DCHECK(end <= column.size() && begin <= end) | 167 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 168 | 23 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 169 | 23 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 170 | 46 | for (size_t i = begin; i <= end; ++i) { | 171 | 23 | this->data(place).sum += data[i].sum; | 172 | 23 | } | 173 | 23 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 165 | 125 | Arena&) const override { | 166 | 125 | DCHECK(end <= column.size() && begin <= end) | 167 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 168 | 125 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 169 | 125 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 170 | 250 | for (size_t i = begin; i <= end; ++i) { | 171 | 125 | this->data(place).sum += data[i].sum; | 172 | 125 | } | 173 | 125 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE |
174 | | |
175 | | void deserialize_and_merge_vec(const AggregateDataPtr* places, size_t offset, |
176 | | AggregateDataPtr rhs, const IColumn* column, Arena& arena, |
177 | 6.56k | const size_t num_rows) const override { |
178 | 6.56k | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); |
179 | 6.56k | const auto* data = col.get_data().data(); |
180 | 6.56k | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); |
181 | 6.56k | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 177 | 54 | const size_t num_rows) const override { | 178 | 54 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 179 | 54 | const auto* data = col.get_data().data(); | 180 | 54 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 181 | 54 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 177 | 1.67k | const size_t num_rows) const override { | 178 | 1.67k | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 179 | 1.67k | const auto* data = col.get_data().data(); | 180 | 1.67k | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 181 | 1.67k | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 177 | 1.20k | const size_t num_rows) const override { | 178 | 1.20k | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 179 | 1.20k | const auto* data = col.get_data().data(); | 180 | 1.20k | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 181 | 1.20k | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 177 | 8 | const size_t num_rows) const override { | 178 | 8 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 179 | 8 | const auto* data = col.get_data().data(); | 180 | 8 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 181 | 8 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 177 | 76 | const size_t num_rows) const override { | 178 | 76 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 179 | 76 | const auto* data = col.get_data().data(); | 180 | 76 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 181 | 76 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 177 | 38 | const size_t num_rows) const override { | 178 | 38 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 179 | 38 | const auto* data = col.get_data().data(); | 180 | 38 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 181 | 38 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 177 | 913 | const size_t num_rows) const override { | 178 | 913 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 179 | 913 | const auto* data = col.get_data().data(); | 180 | 913 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 181 | 913 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 177 | 2.30k | const size_t num_rows) const override { | 178 | 2.30k | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 179 | 2.30k | const auto* data = col.get_data().data(); | 180 | 2.30k | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 181 | 2.30k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 177 | 88 | const size_t num_rows) const override { | 178 | 88 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 179 | 88 | const auto* data = col.get_data().data(); | 180 | 88 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 181 | 88 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 177 | 2 | const size_t num_rows) const override { | 178 | 2 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 179 | 2 | const auto* data = col.get_data().data(); | 180 | 2 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 181 | 2 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 177 | 198 | const size_t num_rows) const override { | 178 | 198 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 179 | 198 | const auto* data = col.get_data().data(); | 180 | 198 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 181 | 198 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm |
182 | | |
183 | | void deserialize_and_merge_vec_selected(const AggregateDataPtr* places, size_t offset, |
184 | | AggregateDataPtr rhs, const IColumn* column, |
185 | 1 | Arena& arena, const size_t num_rows) const override { |
186 | 1 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); |
187 | 1 | const auto* data = col.get_data().data(); |
188 | 1 | this->merge_vec_selected(places, offset, AggregateDataPtr(data), arena, num_rows); |
189 | 1 | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 185 | 1 | Arena& arena, const size_t num_rows) const override { | 186 | 1 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 187 | 1 | const auto* data = col.get_data().data(); | 188 | 1 | this->merge_vec_selected(places, offset, AggregateDataPtr(data), arena, num_rows); | 189 | 1 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm |
190 | | |
191 | | void serialize_without_key_to_column(ConstAggregateDataPtr __restrict place, |
192 | 6.87k | IColumn& to) const override { |
193 | 6.87k | auto& col = assert_cast<ColumnFixedLengthObject&>(to); |
194 | 18.4E | DCHECK(col.item_size() == sizeof(Data)) |
195 | 18.4E | << "size is not equal: " << col.item_size() << " " << sizeof(Data); |
196 | 6.87k | size_t old_size = col.size(); |
197 | 6.87k | col.resize(old_size + 1); |
198 | 6.87k | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; |
199 | 6.87k | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 192 | 120 | IColumn& to) const override { | 193 | 120 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 194 | 120 | DCHECK(col.item_size() == sizeof(Data)) | 195 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 196 | 120 | size_t old_size = col.size(); | 197 | 120 | col.resize(old_size + 1); | 198 | 120 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 199 | 120 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 192 | 223 | IColumn& to) const override { | 193 | 223 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 194 | 223 | DCHECK(col.item_size() == sizeof(Data)) | 195 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 196 | 223 | size_t old_size = col.size(); | 197 | 223 | col.resize(old_size + 1); | 198 | 223 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 199 | 223 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 192 | 114 | IColumn& to) const override { | 193 | 114 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 194 | 114 | DCHECK(col.item_size() == sizeof(Data)) | 195 | 1 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 196 | 114 | size_t old_size = col.size(); | 197 | 114 | col.resize(old_size + 1); | 198 | 114 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 199 | 114 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 192 | 9 | IColumn& to) const override { | 193 | 9 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 194 | 9 | DCHECK(col.item_size() == sizeof(Data)) | 195 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 196 | 9 | size_t old_size = col.size(); | 197 | 9 | col.resize(old_size + 1); | 198 | 9 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 199 | 9 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 192 | 2.67k | IColumn& to) const override { | 193 | 2.67k | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 194 | 18.4E | DCHECK(col.item_size() == sizeof(Data)) | 195 | 18.4E | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 196 | 2.67k | size_t old_size = col.size(); | 197 | 2.67k | col.resize(old_size + 1); | 198 | 2.67k | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 199 | 2.67k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 192 | 23 | IColumn& to) const override { | 193 | 23 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 194 | 23 | DCHECK(col.item_size() == sizeof(Data)) | 195 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 196 | 23 | size_t old_size = col.size(); | 197 | 23 | col.resize(old_size + 1); | 198 | 23 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 199 | 23 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 192 | 3.10k | IColumn& to) const override { | 193 | 3.10k | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 194 | 18.4E | DCHECK(col.item_size() == sizeof(Data)) | 195 | 18.4E | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 196 | 3.10k | size_t old_size = col.size(); | 197 | 3.10k | col.resize(old_size + 1); | 198 | 3.10k | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 199 | 3.10k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 192 | 441 | IColumn& to) const override { | 193 | 441 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 194 | 441 | DCHECK(col.item_size() == sizeof(Data)) | 195 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 196 | 441 | size_t old_size = col.size(); | 197 | 441 | col.resize(old_size + 1); | 198 | 441 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 199 | 441 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 192 | 16 | IColumn& to) const override { | 193 | 16 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 194 | 16 | DCHECK(col.item_size() == sizeof(Data)) | 195 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 196 | 16 | size_t old_size = col.size(); | 197 | 16 | col.resize(old_size + 1); | 198 | 16 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 199 | 16 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 192 | 23 | IColumn& to) const override { | 193 | 23 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 194 | 23 | DCHECK(col.item_size() == sizeof(Data)) | 195 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 196 | 23 | size_t old_size = col.size(); | 197 | 23 | col.resize(old_size + 1); | 198 | 23 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 199 | 23 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 192 | 124 | IColumn& to) const override { | 193 | 124 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 194 | 18.4E | DCHECK(col.item_size() == sizeof(Data)) | 195 | 18.4E | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 196 | 124 | size_t old_size = col.size(); | 197 | 124 | col.resize(old_size + 1); | 198 | 124 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 199 | 124 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE |
200 | | |
201 | 15.4k | MutableColumnPtr create_serialize_column() const override { |
202 | 15.4k | return ColumnFixedLengthObject::create(sizeof(Data)); |
203 | 15.4k | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE23create_serialize_columnEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE23create_serialize_columnEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE23create_serialize_columnEv Line | Count | Source | 201 | 174 | MutableColumnPtr create_serialize_column() const override { | 202 | 174 | return ColumnFixedLengthObject::create(sizeof(Data)); | 203 | 174 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE23create_serialize_columnEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE23create_serialize_columnEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE23create_serialize_columnEv Line | Count | Source | 201 | 2.93k | MutableColumnPtr create_serialize_column() const override { | 202 | 2.93k | return ColumnFixedLengthObject::create(sizeof(Data)); | 203 | 2.93k | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE23create_serialize_columnEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE23create_serialize_columnEv Line | Count | Source | 201 | 1.81k | MutableColumnPtr create_serialize_column() const override { | 202 | 1.81k | return ColumnFixedLengthObject::create(sizeof(Data)); | 203 | 1.81k | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE23create_serialize_columnEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE23create_serialize_columnEv Line | Count | Source | 201 | 37 | MutableColumnPtr create_serialize_column() const override { | 202 | 37 | return ColumnFixedLengthObject::create(sizeof(Data)); | 203 | 37 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE23create_serialize_columnEv Line | Count | Source | 201 | 2.80k | MutableColumnPtr create_serialize_column() const override { | 202 | 2.80k | return ColumnFixedLengthObject::create(sizeof(Data)); | 203 | 2.80k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE23create_serialize_columnEv Line | Count | Source | 201 | 56 | MutableColumnPtr create_serialize_column() const override { | 202 | 56 | return ColumnFixedLengthObject::create(sizeof(Data)); | 203 | 56 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE23create_serialize_columnEv Line | Count | Source | 201 | 4.37k | MutableColumnPtr create_serialize_column() const override { | 202 | 4.37k | return ColumnFixedLengthObject::create(sizeof(Data)); | 203 | 4.37k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE23create_serialize_columnEv Line | Count | Source | 201 | 2.78k | MutableColumnPtr create_serialize_column() const override { | 202 | 2.78k | return ColumnFixedLengthObject::create(sizeof(Data)); | 203 | 2.78k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE23create_serialize_columnEv Line | Count | Source | 201 | 130 | MutableColumnPtr create_serialize_column() const override { | 202 | 130 | return ColumnFixedLengthObject::create(sizeof(Data)); | 203 | 130 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE23create_serialize_columnEv Line | Count | Source | 201 | 26 | MutableColumnPtr create_serialize_column() const override { | 202 | 26 | return ColumnFixedLengthObject::create(sizeof(Data)); | 203 | 26 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE23create_serialize_columnEv Line | Count | Source | 201 | 343 | MutableColumnPtr create_serialize_column() const override { | 202 | 343 | return ColumnFixedLengthObject::create(sizeof(Data)); | 203 | 343 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE23create_serialize_columnEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE23create_serialize_columnEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE23create_serialize_columnEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE23create_serialize_columnEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE23create_serialize_columnEv |
204 | | |
205 | 15.5k | DataTypePtr get_serialized_type() const override { |
206 | 15.5k | return std::make_shared<DataTypeFixedLengthObject>(); |
207 | 15.5k | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE19get_serialized_typeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE19get_serialized_typeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE19get_serialized_typeEv Line | Count | Source | 205 | 174 | DataTypePtr get_serialized_type() const override { | 206 | 174 | return std::make_shared<DataTypeFixedLengthObject>(); | 207 | 174 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19get_serialized_typeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE19get_serialized_typeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE19get_serialized_typeEv Line | Count | Source | 205 | 2.95k | DataTypePtr get_serialized_type() const override { | 206 | 2.95k | return std::make_shared<DataTypeFixedLengthObject>(); | 207 | 2.95k | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19get_serialized_typeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE19get_serialized_typeEv Line | Count | Source | 205 | 1.83k | DataTypePtr get_serialized_type() const override { | 206 | 1.83k | return std::make_shared<DataTypeFixedLengthObject>(); | 207 | 1.83k | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19get_serialized_typeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19get_serialized_typeEv Line | Count | Source | 205 | 37 | DataTypePtr get_serialized_type() const override { | 206 | 37 | return std::make_shared<DataTypeFixedLengthObject>(); | 207 | 37 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19get_serialized_typeEv Line | Count | Source | 205 | 2.81k | DataTypePtr get_serialized_type() const override { | 206 | 2.81k | return std::make_shared<DataTypeFixedLengthObject>(); | 207 | 2.81k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19get_serialized_typeEv Line | Count | Source | 205 | 56 | DataTypePtr get_serialized_type() const override { | 206 | 56 | return std::make_shared<DataTypeFixedLengthObject>(); | 207 | 56 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19get_serialized_typeEv Line | Count | Source | 205 | 4.40k | DataTypePtr get_serialized_type() const override { | 206 | 4.40k | return std::make_shared<DataTypeFixedLengthObject>(); | 207 | 4.40k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19get_serialized_typeEv Line | Count | Source | 205 | 2.79k | DataTypePtr get_serialized_type() const override { | 206 | 2.79k | return std::make_shared<DataTypeFixedLengthObject>(); | 207 | 2.79k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE19get_serialized_typeEv Line | Count | Source | 205 | 130 | DataTypePtr get_serialized_type() const override { | 206 | 130 | return std::make_shared<DataTypeFixedLengthObject>(); | 207 | 130 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE19get_serialized_typeEv Line | Count | Source | 205 | 26 | DataTypePtr get_serialized_type() const override { | 206 | 26 | return std::make_shared<DataTypeFixedLengthObject>(); | 207 | 26 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE19get_serialized_typeEv Line | Count | Source | 205 | 344 | DataTypePtr get_serialized_type() const override { | 206 | 344 | return std::make_shared<DataTypeFixedLengthObject>(); | 207 | 344 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE19get_serialized_typeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE19get_serialized_typeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE19get_serialized_typeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE19get_serialized_typeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE19get_serialized_typeEv |
208 | | |
209 | 1.84k | bool supported_incremental_mode() const override { return true; }Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE26supported_incremental_modeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE26supported_incremental_modeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE26supported_incremental_modeEv Line | Count | Source | 209 | 12 | bool supported_incremental_mode() const override { return true; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE26supported_incremental_modeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE26supported_incremental_modeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE26supported_incremental_modeEv Line | Count | Source | 209 | 4 | bool supported_incremental_mode() const override { return true; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE26supported_incremental_modeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE26supported_incremental_modeEv Line | Count | Source | 209 | 17 | bool supported_incremental_mode() const override { return true; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE26supported_incremental_modeEv Line | Count | Source | 209 | 1 | bool supported_incremental_mode() const override { return true; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE26supported_incremental_modeEv Line | Count | Source | 209 | 1 | bool supported_incremental_mode() const override { return true; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE26supported_incremental_modeEv Line | Count | Source | 209 | 704 | bool supported_incremental_mode() const override { return true; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE26supported_incremental_modeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE26supported_incremental_modeEv Line | Count | Source | 209 | 510 | bool supported_incremental_mode() const override { return true; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE26supported_incremental_modeEv Line | Count | Source | 209 | 430 | bool supported_incremental_mode() const override { return true; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE26supported_incremental_modeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE26supported_incremental_modeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE26supported_incremental_modeEv Line | Count | Source | 209 | 168 | bool supported_incremental_mode() const override { return true; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE26supported_incremental_modeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE26supported_incremental_modeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE26supported_incremental_modeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE26supported_incremental_modeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE26supported_incremental_modeEv |
210 | | |
211 | | NO_SANITIZE_UNDEFINED void execute_function_with_incremental( |
212 | | int64_t partition_start, int64_t partition_end, int64_t frame_start, int64_t frame_end, |
213 | | AggregateDataPtr place, const IColumn** columns, Arena& arena, bool previous_is_nul, |
214 | | bool end_is_nul, bool has_null, UInt8* use_null_result, |
215 | 730 | UInt8* could_use_previous_result) const override { |
216 | 730 | int64_t current_frame_start = std::max<int64_t>(frame_start, partition_start); |
217 | 730 | int64_t current_frame_end = std::min<int64_t>(frame_end, partition_end); |
218 | | |
219 | 730 | if (current_frame_start >= current_frame_end) { |
220 | 16 | *use_null_result = true; |
221 | 16 | return; |
222 | 16 | } |
223 | 714 | if (*could_use_previous_result) { |
224 | 654 | const auto& column = |
225 | 654 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); |
226 | 654 | const auto* data = column.get_data().data(); |
227 | 654 | auto outcoming_pos = frame_start - 1; |
228 | 654 | auto incoming_pos = frame_end - 1; |
229 | 654 | if (!previous_is_nul && outcoming_pos >= partition_start && |
230 | 654 | outcoming_pos < partition_end) { |
231 | 489 | this->data(place).add( |
232 | 489 | typename PrimitiveTypeTraits<TResult>::CppType(-data[outcoming_pos])); |
233 | 489 | } |
234 | 654 | if (!end_is_nul && incoming_pos >= partition_start && incoming_pos < partition_end) { |
235 | 512 | this->data(place).add( |
236 | 512 | typename PrimitiveTypeTraits<TResult>::CppType(data[incoming_pos])); |
237 | 512 | } |
238 | 654 | } else { |
239 | 60 | this->add_range_single_place(partition_start, partition_end, frame_start, frame_end, |
240 | 60 | place, columns, arena, use_null_result, |
241 | 60 | could_use_previous_result); |
242 | 60 | } |
243 | 714 | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Line | Count | Source | 215 | 236 | UInt8* could_use_previous_result) const override { | 216 | 236 | int64_t current_frame_start = std::max<int64_t>(frame_start, partition_start); | 217 | 236 | int64_t current_frame_end = std::min<int64_t>(frame_end, partition_end); | 218 | | | 219 | 236 | if (current_frame_start >= current_frame_end) { | 220 | 16 | *use_null_result = true; | 221 | 16 | return; | 222 | 16 | } | 223 | 220 | if (*could_use_previous_result) { | 224 | 202 | const auto& column = | 225 | 202 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 226 | 202 | const auto* data = column.get_data().data(); | 227 | 202 | auto outcoming_pos = frame_start - 1; | 228 | 202 | auto incoming_pos = frame_end - 1; | 229 | 202 | if (!previous_is_nul && outcoming_pos >= partition_start && | 230 | 202 | outcoming_pos < partition_end) { | 231 | 170 | this->data(place).add( | 232 | 170 | typename PrimitiveTypeTraits<TResult>::CppType(-data[outcoming_pos])); | 233 | 170 | } | 234 | 202 | if (!end_is_nul && incoming_pos >= partition_start && incoming_pos < partition_end) { | 235 | 178 | this->data(place).add( | 236 | 178 | typename PrimitiveTypeTraits<TResult>::CppType(data[incoming_pos])); | 237 | 178 | } | 238 | 202 | } else { | 239 | 18 | this->add_range_single_place(partition_start, partition_end, frame_start, frame_end, | 240 | 18 | place, columns, arena, use_null_result, | 241 | 18 | could_use_previous_result); | 242 | 18 | } | 243 | 220 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Line | Count | Source | 215 | 192 | UInt8* could_use_previous_result) const override { | 216 | 192 | int64_t current_frame_start = std::max<int64_t>(frame_start, partition_start); | 217 | 192 | int64_t current_frame_end = std::min<int64_t>(frame_end, partition_end); | 218 | | | 219 | 192 | if (current_frame_start >= current_frame_end) { | 220 | 0 | *use_null_result = true; | 221 | 0 | return; | 222 | 0 | } | 223 | 192 | if (*could_use_previous_result) { | 224 | 172 | const auto& column = | 225 | 172 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 226 | 172 | const auto* data = column.get_data().data(); | 227 | 172 | auto outcoming_pos = frame_start - 1; | 228 | 172 | auto incoming_pos = frame_end - 1; | 229 | 172 | if (!previous_is_nul && outcoming_pos >= partition_start && | 230 | 172 | outcoming_pos < partition_end) { | 231 | 100 | this->data(place).add( | 232 | 100 | typename PrimitiveTypeTraits<TResult>::CppType(-data[outcoming_pos])); | 233 | 100 | } | 234 | 172 | if (!end_is_nul && incoming_pos >= partition_start && incoming_pos < partition_end) { | 235 | 101 | this->data(place).add( | 236 | 101 | typename PrimitiveTypeTraits<TResult>::CppType(data[incoming_pos])); | 237 | 101 | } | 238 | 172 | } else { | 239 | 20 | this->add_range_single_place(partition_start, partition_end, frame_start, frame_end, | 240 | 20 | place, columns, arena, use_null_result, | 241 | 20 | could_use_previous_result); | 242 | 20 | } | 243 | 192 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Line | Count | Source | 215 | 178 | UInt8* could_use_previous_result) const override { | 216 | 178 | int64_t current_frame_start = std::max<int64_t>(frame_start, partition_start); | 217 | 178 | int64_t current_frame_end = std::min<int64_t>(frame_end, partition_end); | 218 | | | 219 | 178 | if (current_frame_start >= current_frame_end) { | 220 | 0 | *use_null_result = true; | 221 | 0 | return; | 222 | 0 | } | 223 | 178 | if (*could_use_previous_result) { | 224 | 156 | const auto& column = | 225 | 156 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 226 | 156 | const auto* data = column.get_data().data(); | 227 | 156 | auto outcoming_pos = frame_start - 1; | 228 | 156 | auto incoming_pos = frame_end - 1; | 229 | 156 | if (!previous_is_nul && outcoming_pos >= partition_start && | 230 | 156 | outcoming_pos < partition_end) { | 231 | 115 | this->data(place).add( | 232 | 115 | typename PrimitiveTypeTraits<TResult>::CppType(-data[outcoming_pos])); | 233 | 115 | } | 234 | 156 | if (!end_is_nul && incoming_pos >= partition_start && incoming_pos < partition_end) { | 235 | 129 | this->data(place).add( | 236 | 129 | typename PrimitiveTypeTraits<TResult>::CppType(data[incoming_pos])); | 237 | 129 | } | 238 | 156 | } else { | 239 | 22 | this->add_range_single_place(partition_start, partition_end, frame_start, frame_end, | 240 | 22 | place, columns, arena, use_null_result, | 241 | 22 | could_use_previous_result); | 242 | 22 | } | 243 | 178 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Line | Count | Source | 215 | 124 | UInt8* could_use_previous_result) const override { | 216 | 124 | int64_t current_frame_start = std::max<int64_t>(frame_start, partition_start); | 217 | 124 | int64_t current_frame_end = std::min<int64_t>(frame_end, partition_end); | 218 | | | 219 | 124 | if (current_frame_start >= current_frame_end) { | 220 | 0 | *use_null_result = true; | 221 | 0 | return; | 222 | 0 | } | 223 | 124 | if (*could_use_previous_result) { | 224 | 124 | const auto& column = | 225 | 124 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 226 | 124 | const auto* data = column.get_data().data(); | 227 | 124 | auto outcoming_pos = frame_start - 1; | 228 | 124 | auto incoming_pos = frame_end - 1; | 229 | 124 | if (!previous_is_nul && outcoming_pos >= partition_start && | 230 | 124 | outcoming_pos < partition_end) { | 231 | 104 | this->data(place).add( | 232 | 104 | typename PrimitiveTypeTraits<TResult>::CppType(-data[outcoming_pos])); | 233 | 104 | } | 234 | 124 | if (!end_is_nul && incoming_pos >= partition_start && incoming_pos < partition_end) { | 235 | 104 | this->data(place).add( | 236 | 104 | typename PrimitiveTypeTraits<TResult>::CppType(data[incoming_pos])); | 237 | 104 | } | 238 | 124 | } else { | 239 | 0 | this->add_range_single_place(partition_start, partition_end, frame_start, frame_end, | 240 | 0 | place, columns, arena, use_null_result, | 241 | 0 | could_use_previous_result); | 242 | 0 | } | 243 | 124 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ |
244 | | |
245 | | void add_range_single_place(int64_t partition_start, int64_t partition_end, int64_t frame_start, |
246 | | int64_t frame_end, AggregateDataPtr place, const IColumn** columns, |
247 | | Arena& arena, UInt8* use_null_result, |
248 | 2.11k | UInt8* could_use_previous_result) const override { |
249 | 2.11k | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); |
250 | 2.11k | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); |
251 | | |
252 | 2.11k | if (current_frame_start >= current_frame_end) { |
253 | 147 | if (!*could_use_previous_result) { |
254 | 9 | *use_null_result = true; |
255 | 9 | } |
256 | 1.97k | } else { |
257 | 1.97k | const auto& column = |
258 | 1.97k | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); |
259 | 4.57k | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { |
260 | 2.60k | this->data(place).add( |
261 | 2.60k | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); |
262 | 2.60k | } |
263 | 1.97k | *use_null_result = false; |
264 | 1.97k | *could_use_previous_result = true; |
265 | 1.97k | } |
266 | 2.11k | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 248 | 3 | UInt8* could_use_previous_result) const override { | 249 | 3 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 250 | 3 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 251 | | | 252 | 3 | if (current_frame_start >= current_frame_end) { | 253 | 0 | if (!*could_use_previous_result) { | 254 | 0 | *use_null_result = true; | 255 | 0 | } | 256 | 3 | } else { | 257 | 3 | const auto& column = | 258 | 3 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 259 | 6 | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 260 | 3 | this->data(place).add( | 261 | 3 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 262 | 3 | } | 263 | 3 | *use_null_result = false; | 264 | 3 | *could_use_previous_result = true; | 265 | 3 | } | 266 | 3 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 248 | 23 | UInt8* could_use_previous_result) const override { | 249 | 23 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 250 | 23 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 251 | | | 252 | 23 | if (current_frame_start >= current_frame_end) { | 253 | 0 | if (!*could_use_previous_result) { | 254 | 0 | *use_null_result = true; | 255 | 0 | } | 256 | 23 | } else { | 257 | 23 | const auto& column = | 258 | 23 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 259 | 53 | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 260 | 30 | this->data(place).add( | 261 | 30 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 262 | 30 | } | 263 | 23 | *use_null_result = false; | 264 | 23 | *could_use_previous_result = true; | 265 | 23 | } | 266 | 23 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 248 | 9 | UInt8* could_use_previous_result) const override { | 249 | 9 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 250 | 9 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 251 | | | 252 | 9 | if (current_frame_start >= current_frame_end) { | 253 | 0 | if (!*could_use_previous_result) { | 254 | 0 | *use_null_result = true; | 255 | 0 | } | 256 | 9 | } else { | 257 | 9 | const auto& column = | 258 | 9 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 259 | 18 | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 260 | 9 | this->data(place).add( | 261 | 9 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 262 | 9 | } | 263 | 9 | *use_null_result = false; | 264 | 9 | *could_use_previous_result = true; | 265 | 9 | } | 266 | 9 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 248 | 1 | UInt8* could_use_previous_result) const override { | 249 | 1 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 250 | 1 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 251 | | | 252 | 1 | if (current_frame_start >= current_frame_end) { | 253 | 0 | if (!*could_use_previous_result) { | 254 | 0 | *use_null_result = true; | 255 | 0 | } | 256 | 1 | } else { | 257 | 1 | const auto& column = | 258 | 1 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 259 | 2 | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 260 | 1 | this->data(place).add( | 261 | 1 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 262 | 1 | } | 263 | 1 | *use_null_result = false; | 264 | 1 | *could_use_previous_result = true; | 265 | 1 | } | 266 | 1 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 248 | 1 | UInt8* could_use_previous_result) const override { | 249 | 1 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 250 | 1 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 251 | | | 252 | 1 | if (current_frame_start >= current_frame_end) { | 253 | 0 | if (!*could_use_previous_result) { | 254 | 0 | *use_null_result = true; | 255 | 0 | } | 256 | 1 | } else { | 257 | 1 | const auto& column = | 258 | 1 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 259 | 2 | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 260 | 1 | this->data(place).add( | 261 | 1 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 262 | 1 | } | 263 | 1 | *use_null_result = false; | 264 | 1 | *could_use_previous_result = true; | 265 | 1 | } | 266 | 1 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 248 | 361 | UInt8* could_use_previous_result) const override { | 249 | 361 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 250 | 361 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 251 | | | 252 | 361 | if (current_frame_start >= current_frame_end) { | 253 | 36 | if (!*could_use_previous_result) { | 254 | 8 | *use_null_result = true; | 255 | 8 | } | 256 | 325 | } else { | 257 | 325 | const auto& column = | 258 | 325 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 259 | 772 | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 260 | 447 | this->data(place).add( | 261 | 447 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 262 | 447 | } | 263 | 325 | *use_null_result = false; | 264 | 325 | *could_use_previous_result = true; | 265 | 325 | } | 266 | 361 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 248 | 709 | UInt8* could_use_previous_result) const override { | 249 | 709 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 250 | 709 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 251 | | | 252 | 709 | if (current_frame_start >= current_frame_end) { | 253 | 90 | if (!*could_use_previous_result) { | 254 | 0 | *use_null_result = true; | 255 | 0 | } | 256 | 619 | } else { | 257 | 619 | const auto& column = | 258 | 619 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 259 | 1.53k | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 260 | 916 | this->data(place).add( | 261 | 916 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 262 | 916 | } | 263 | 619 | *use_null_result = false; | 264 | 619 | *could_use_previous_result = true; | 265 | 619 | } | 266 | 709 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 248 | 488 | UInt8* could_use_previous_result) const override { | 249 | 488 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 250 | 488 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 251 | | | 252 | 488 | if (current_frame_start >= current_frame_end) { | 253 | 21 | if (!*could_use_previous_result) { | 254 | 1 | *use_null_result = true; | 255 | 1 | } | 256 | 467 | } else { | 257 | 467 | const auto& column = | 258 | 467 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 259 | 1.12k | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 260 | 659 | this->data(place).add( | 261 | 659 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 262 | 659 | } | 263 | 467 | *use_null_result = false; | 264 | 467 | *could_use_previous_result = true; | 265 | 467 | } | 266 | 488 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 248 | 522 | UInt8* could_use_previous_result) const override { | 249 | 522 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 250 | 522 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 251 | | | 252 | 522 | if (current_frame_start >= current_frame_end) { | 253 | 0 | if (!*could_use_previous_result) { | 254 | 0 | *use_null_result = true; | 255 | 0 | } | 256 | 522 | } else { | 257 | 522 | const auto& column = | 258 | 522 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 259 | 1.06k | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 260 | 542 | this->data(place).add( | 261 | 542 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 262 | 542 | } | 263 | 522 | *use_null_result = false; | 264 | 522 | *could_use_previous_result = true; | 265 | 522 | } | 266 | 522 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ |
267 | | |
268 | | private: |
269 | | UInt32 scale; |
270 | | }; |
271 | | |
272 | 0 | constexpr PrimitiveType result_type(PrimitiveType T) { |
273 | 0 | if (T == TYPE_LARGEINT) { |
274 | 0 | return TYPE_LARGEINT; |
275 | 0 | } else if (is_int_or_bool(T)) { |
276 | 0 | return TYPE_BIGINT; |
277 | 0 | } else if (is_float_or_double(T) || is_time_type(T)) { |
278 | 0 | return TYPE_DOUBLE; |
279 | 0 | } else { |
280 | 0 | return T; |
281 | 0 | } |
282 | 0 | } |
283 | | |
284 | | // TODO: use result type from FE plan |
285 | | template <PrimitiveType T> |
286 | | struct SumSimple { |
287 | | static_assert(!is_decimalv3(T)); |
288 | | /// @note It uses slow Decimal128 (cause we need such a variant). sumWithOverflow is faster for Decimal32/64 |
289 | | static constexpr PrimitiveType ResultType = result_type(T); |
290 | | using AggregateDataType = AggregateFunctionSumData<ResultType>; |
291 | | using Function = AggregateFunctionSum<T, ResultType, AggregateDataType>; |
292 | | }; |
293 | | |
294 | | template <PrimitiveType T> |
295 | | using AggregateFunctionSumSimple = typename SumSimple<T>::Function; |
296 | | |
297 | | // use result type got from FE plan |
298 | | template <PrimitiveType InputType, PrimitiveType ResultType> |
299 | | struct SumDecimalV3 { |
300 | | static_assert(is_decimalv3(InputType) && is_decimalv3(ResultType)); |
301 | | using AggregateDataType = AggregateFunctionSumData<ResultType>; |
302 | | using Function = AggregateFunctionSum<InputType, ResultType, AggregateDataType>; |
303 | | }; |
304 | | template <PrimitiveType InputType, PrimitiveType ResultType> |
305 | | using AggregateFunctionSumDecimalV3 = typename SumDecimalV3<InputType, ResultType>::Function; |
306 | | |
307 | | template <PrimitiveType T> |
308 | | struct SumSimpleForAggReader { |
309 | | using AggregateDataType = AggregateFunctionSumData<T>; |
310 | | using Function = AggregateFunctionSum<T, T, AggregateDataType>; |
311 | | }; |
312 | | // do not level up return type for agg reader |
313 | | template <PrimitiveType T> |
314 | | using AggregateFunctionSumSimpleReader = typename SumSimpleForAggReader<T>::Function; |
315 | | |
316 | | } // namespace doris |