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