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 | 178M | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { |
55 | 178M | #ifdef __clang__ |
56 | 178M | #pragma clang fp reassociate(on) |
57 | 178M | #endif |
58 | 178M | sum += value; |
59 | 178M | } _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 | 151M | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 55 | 151M | #ifdef __clang__ | 56 | 151M | #pragma clang fp reassociate(on) | 57 | 151M | #endif | 58 | 151M | sum += value; | 59 | 151M | } |
_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 | 23.1M | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 55 | 23.1M | #ifdef __clang__ | 56 | 23.1M | #pragma clang fp reassociate(on) | 57 | 23.1M | #endif | 58 | 23.1M | sum += value; | 59 | 23.1M | } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE7EE3addEn Line | Count | Source | 54 | 13.4k | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 55 | 13.4k | #ifdef __clang__ | 56 | 13.4k | #pragma clang fp reassociate(on) | 57 | 13.4k | #endif | 58 | 13.4k | sum += value; | 59 | 13.4k | } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE9EE3addEd Line | Count | Source | 54 | 2.54M | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 55 | 2.54M | #ifdef __clang__ | 56 | 2.54M | #pragma clang fp reassociate(on) | 57 | 2.54M | #endif | 58 | 2.54M | sum += value; | 59 | 2.54M | } |
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 | 156 | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 55 | 156 | #ifdef __clang__ | 56 | 156 | #pragma clang fp reassociate(on) | 57 | 156 | #endif | 58 | 156 | sum += value; | 59 | 156 | } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE5EE3addEi Line | Count | Source | 54 | 822k | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 55 | 822k | #ifdef __clang__ | 56 | 822k | #pragma clang fp reassociate(on) | 57 | 822k | #endif | 58 | 822k | sum += value; | 59 | 822k | } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE8EE3addEf Line | Count | Source | 54 | 12.7k | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 55 | 12.7k | #ifdef __clang__ | 56 | 12.7k | #pragma clang fp reassociate(on) | 57 | 12.7k | #endif | 58 | 12.7k | sum += value; | 59 | 12.7k | } |
|
60 | | |
61 | 176k | void merge(const AggregateFunctionSumData& rhs) { sum += rhs.sum; }Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE28EE5mergeERKS2_ Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE29EE5mergeERKS2_ _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE30EE5mergeERKS2_ Line | Count | Source | 61 | 121k | 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 | 46.9k | void merge(const AggregateFunctionSumData& rhs) { sum += rhs.sum; } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE7EE5mergeERKS2_ Line | Count | Source | 61 | 87 | void merge(const AggregateFunctionSumData& rhs) { sum += rhs.sum; } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE9EE5mergeERKS2_ Line | Count | Source | 61 | 8.49k | 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 | 702 | 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 | 645 | 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 | 643 | 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 | 592 | 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.34M | 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 | 926k | 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 | 977k | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE7EE3getEv Line | Count | Source | 67 | 7.95k | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE9EE3getEv Line | Count | Source | 67 | 15.3k | 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 | 63 | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE5EE3getEv Line | Count | Source | 67 | 412k | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE8EE3getEv Line | Count | Source | 67 | 7.70k | 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.70k | 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 | 3 | 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 | 50 | 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 | 317 | String get_name() const override { return "sum"; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE8get_nameB5cxx11Ev Line | Count | Source | 90 | 16 | String get_name() const override { return "sum"; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE8get_nameB5cxx11Ev Line | Count | Source | 90 | 757 | String get_name() const override { return "sum"; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE8get_nameB5cxx11Ev Line | Count | Source | 90 | 364 | 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 | 184 | 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 | 34.5k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( |
94 | 34.5k | argument_types_), |
95 | 34.5k | 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 | 154 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 154 | argument_types_), | 95 | 154 | 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.34k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 1.34k | argument_types_), | 95 | 1.34k | 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.25k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 2.25k | argument_types_), | 95 | 2.25k | 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 | 5.41k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 5.41k | argument_types_), | 95 | 5.41k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 93 | 100 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 100 | argument_types_), | 95 | 100 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 93 | 9.21k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 9.21k | argument_types_), | 95 | 9.21k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 93 | 6.73k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 6.73k | argument_types_), | 95 | 6.73k | 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.36k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 2.36k | argument_types_), | 95 | 2.36k | 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 | 981 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 981 | argument_types_), | 95 | 981 | 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.47k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 1.47k | argument_types_), | 95 | 1.47k | scale(get_decimal_scale(*argument_types_[0])) {} |
|
96 | | |
97 | 37.1k | DataTypePtr get_return_type() const override { |
98 | 37.1k | if constexpr (is_decimal(TResult)) { |
99 | 4.12k | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); |
100 | 33.0k | } else { |
101 | 33.0k | return std::make_shared<ResultDataType>(); |
102 | 33.0k | } |
103 | 37.1k | } 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 | 320 | DataTypePtr get_return_type() const override { | 98 | 320 | if constexpr (is_decimal(TResult)) { | 99 | 320 | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 100 | | } else { | 101 | | return std::make_shared<ResultDataType>(); | 102 | | } | 103 | 320 | } |
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 | 2.11k | DataTypePtr get_return_type() const override { | 98 | 2.11k | if constexpr (is_decimal(TResult)) { | 99 | 2.11k | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 100 | | } else { | 101 | | return std::make_shared<ResultDataType>(); | 102 | | } | 103 | 2.11k | } |
_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.55k | DataTypePtr get_return_type() const override { | 98 | 1.55k | if constexpr (is_decimal(TResult)) { | 99 | 1.55k | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 100 | | } else { | 101 | | return std::make_shared<ResultDataType>(); | 102 | | } | 103 | 1.55k | } |
_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 | 10.9k | DataTypePtr get_return_type() const override { | 98 | | if constexpr (is_decimal(TResult)) { | 99 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 100 | 10.9k | } else { | 101 | 10.9k | return std::make_shared<ResultDataType>(); | 102 | 10.9k | } | 103 | 10.9k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE15get_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_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE15get_return_typeEv Line | Count | Source | 97 | 15.8k | DataTypePtr get_return_type() const override { | 98 | | if constexpr (is_decimal(TResult)) { | 99 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 100 | 15.8k | } else { | 101 | 15.8k | return std::make_shared<ResultDataType>(); | 102 | 15.8k | } | 103 | 15.8k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE15get_return_typeEv Line | Count | Source | 97 | 4.94k | DataTypePtr get_return_type() const override { | 98 | | if constexpr (is_decimal(TResult)) { | 99 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 100 | 4.94k | } else { | 101 | 4.94k | return std::make_shared<ResultDataType>(); | 102 | 4.94k | } | 103 | 4.94k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE15get_return_typeEv Line | Count | Source | 97 | 166 | DataTypePtr get_return_type() const override { | 98 | | if constexpr (is_decimal(TResult)) { | 99 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 100 | 166 | } else { | 101 | 166 | return std::make_shared<ResultDataType>(); | 102 | 166 | } | 103 | 166 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE15get_return_typeEv Line | Count | Source | 97 | 68 | DataTypePtr get_return_type() const override { | 98 | | if constexpr (is_decimal(TResult)) { | 99 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 100 | 68 | } else { | 101 | 68 | return std::make_shared<ResultDataType>(); | 102 | 68 | } | 103 | 68 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE15get_return_typeEv Line | Count | Source | 97 | 859 | DataTypePtr get_return_type() const override { | 98 | | if constexpr (is_decimal(TResult)) { | 99 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 100 | 859 | } else { | 101 | 859 | return std::make_shared<ResultDataType>(); | 102 | 859 | } | 103 | 859 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE15get_return_typeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE15get_return_typeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE15get_return_typeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE15get_return_typeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE15get_return_typeEv |
104 | | |
105 | 0 | bool is_trivial() const override { return true; }Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE10is_trivialEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE10is_trivialEv |
106 | | |
107 | | void add(AggregateDataPtr __restrict place, const IColumn** columns, ssize_t row_num, |
108 | 182M | Arena&) const override { |
109 | 182M | const auto& column = |
110 | 182M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); |
111 | 182M | this->data(place).add( |
112 | 182M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); |
113 | 182M | } _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 | 3.27M | Arena&) const override { | 109 | 3.27M | const auto& column = | 110 | 3.27M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 3.27M | this->data(place).add( | 112 | 3.27M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 3.27M | } |
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 | 76.4M | Arena&) const override { | 109 | 76.4M | const auto& column = | 110 | 76.4M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 76.4M | this->data(place).add( | 112 | 76.4M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 76.4M | } |
_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 | 76.3M | Arena&) const override { | 109 | 76.3M | const auto& column = | 110 | 76.3M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 76.3M | this->data(place).add( | 112 | 76.3M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 76.3M | } |
_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 | 14.2M | Arena&) const override { | 109 | 14.2M | const auto& column = | 110 | 14.2M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 14.2M | this->data(place).add( | 112 | 14.2M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 14.2M | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 108 | 2.64k | Arena&) const override { | 109 | 2.64k | const auto& column = | 110 | 2.64k | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 2.64k | this->data(place).add( | 112 | 2.64k | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 2.64k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 108 | 7.34M | Arena&) const override { | 109 | 7.34M | const auto& column = | 110 | 7.34M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 7.34M | this->data(place).add( | 112 | 7.34M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 7.34M | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 108 | 1.59M | Arena&) const override { | 109 | 1.59M | const auto& column = | 110 | 1.59M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 1.59M | this->data(place).add( | 112 | 1.59M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 1.59M | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 108 | 13.4k | Arena&) const override { | 109 | 13.4k | const auto& column = | 110 | 13.4k | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 13.4k | this->data(place).add( | 112 | 13.4k | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 13.4k | } |
_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.53M | Arena&) const override { | 109 | 2.53M | const auto& column = | 110 | 2.53M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 2.53M | this->data(place).add( | 112 | 2.53M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 2.53M | } |
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 | 156 | Arena&) const override { | 109 | 156 | const auto& column = | 110 | 156 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 156 | this->data(place).add( | 112 | 156 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 156 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 108 | 822k | Arena&) const override { | 109 | 822k | const auto& column = | 110 | 822k | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 822k | this->data(place).add( | 112 | 822k | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 822k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 108 | 12.7k | Arena&) const override { | 109 | 12.7k | const auto& column = | 110 | 12.7k | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 12.7k | this->data(place).add( | 112 | 12.7k | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 12.7k | } |
|
114 | | |
115 | 1.36M | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; }Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE5resetEPc Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE5resetEPc _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE5resetEPc Line | Count | Source | 115 | 12 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE5resetEPc Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE5resetEPc _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE5resetEPc Line | Count | Source | 115 | 7 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE5resetEPc _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE5resetEPc Line | Count | Source | 115 | 130 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE5resetEPc Line | Count | Source | 115 | 1 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE5resetEPc Line | Count | Source | 115 | 163 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5resetEPc Line | Count | Source | 115 | 145 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5resetEPc Line | Count | Source | 115 | 75 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5resetEPc Line | Count | Source | 115 | 828 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5resetEPc Line | Count | Source | 115 | 923k | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE5resetEPc Line | Count | Source | 115 | 7.82k | 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 | 9.08k | 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 | 38 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE5resetEPc Line | Count | Source | 115 | 412k | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE5resetEPc Line | Count | Source | 115 | 7.70k | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
|
116 | | |
117 | | void merge(AggregateDataPtr __restrict place, ConstAggregateDataPtr rhs, |
118 | 177k | Arena&) const override { |
119 | 177k | this->data(place).merge(this->data(rhs)); |
120 | 177k | } 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 | 36 | Arena&) const override { | 119 | 36 | this->data(place).merge(this->data(rhs)); | 120 | 36 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE5mergeEPcPKcRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE5mergeEPcPKcRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 118 | 85.9k | Arena&) const override { | 119 | 85.9k | this->data(place).merge(this->data(rhs)); | 120 | 85.9k | } |
_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 | 35.7k | Arena&) const override { | 119 | 35.7k | this->data(place).merge(this->data(rhs)); | 120 | 35.7k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 118 | 2 | Arena&) const override { | 119 | 2 | this->data(place).merge(this->data(rhs)); | 120 | 2 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 118 | 36 | Arena&) const override { | 119 | 36 | this->data(place).merge(this->data(rhs)); | 120 | 36 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 118 | 152 | Arena&) const override { | 119 | 152 | this->data(place).merge(this->data(rhs)); | 120 | 152 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 118 | 27 | Arena&) const override { | 119 | 27 | this->data(place).merge(this->data(rhs)); | 120 | 27 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 118 | 38.2k | Arena&) const override { | 119 | 38.2k | this->data(place).merge(this->data(rhs)); | 120 | 38.2k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 118 | 8.47k | Arena&) const override { | 119 | 8.47k | this->data(place).merge(this->data(rhs)); | 120 | 8.47k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 118 | 87 | Arena&) const override { | 119 | 87 | this->data(place).merge(this->data(rhs)); | 120 | 87 | } |
_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 | 8.48k | Arena&) const override { | 119 | 8.48k | this->data(place).merge(this->data(rhs)); | 120 | 8.48k | } |
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 | 702 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { |
123 | 702 | this->data(place).write(buf); |
124 | 702 | } 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 | 641 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 123 | 641 | this->data(place).write(buf); | 124 | 641 | } |
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 | 643 | Arena&) const override { |
128 | 643 | this->data(place).read(buf); |
129 | 643 | } 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 | 588 | Arena&) const override { | 128 | 588 | this->data(place).read(buf); | 129 | 588 | } |
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.35M | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { |
132 | 2.35M | auto& column = assert_cast<ColVecResult&>(to); |
133 | 2.35M | column.get_data().push_back(this->data(place).get()); |
134 | 2.35M | } _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 | 202 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 202 | auto& column = assert_cast<ColVecResult&>(to); | 133 | 202 | column.get_data().push_back(this->data(place).get()); | 134 | 202 | } |
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 | 876k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 876k | auto& column = assert_cast<ColVecResult&>(to); | 133 | 876k | column.get_data().push_back(this->data(place).get()); | 134 | 876k | } |
_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 | 55.1k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 55.1k | auto& column = assert_cast<ColVecResult&>(to); | 133 | 55.1k | column.get_data().push_back(this->data(place).get()); | 134 | 55.1k | } |
_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 | 3.51k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 3.51k | auto& column = assert_cast<ColVecResult&>(to); | 133 | 3.51k | column.get_data().push_back(this->data(place).get()); | 134 | 3.51k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 131 | 2.24k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 2.24k | auto& column = assert_cast<ColVecResult&>(to); | 133 | 2.24k | column.get_data().push_back(this->data(place).get()); | 134 | 2.24k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 131 | 34.9k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 34.9k | auto& column = assert_cast<ColVecResult&>(to); | 133 | 34.9k | column.get_data().push_back(this->data(place).get()); | 134 | 34.9k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 131 | 936k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 936k | auto& column = assert_cast<ColVecResult&>(to); | 133 | 936k | column.get_data().push_back(this->data(place).get()); | 134 | 936k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 131 | 7.95k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 7.95k | auto& column = assert_cast<ColVecResult&>(to); | 133 | 7.95k | column.get_data().push_back(this->data(place).get()); | 134 | 7.95k | } |
_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 | 15.2k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 15.2k | auto& column = assert_cast<ColVecResult&>(to); | 133 | 15.2k | column.get_data().push_back(this->data(place).get()); | 134 | 15.2k | } |
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 | 63 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 63 | auto& column = assert_cast<ColVecResult&>(to); | 133 | 63 | column.get_data().push_back(this->data(place).get()); | 134 | 63 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 131 | 412k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 412k | auto& column = assert_cast<ColVecResult&>(to); | 133 | 412k | column.get_data().push_back(this->data(place).get()); | 134 | 412k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 131 | 7.70k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 7.70k | auto& column = assert_cast<ColVecResult&>(to); | 133 | 7.70k | column.get_data().push_back(this->data(place).get()); | 134 | 7.70k | } |
|
135 | | |
136 | | void serialize_to_column(const std::vector<AggregateDataPtr>& places, size_t offset, |
137 | 9.45k | MutableColumnPtr& dst, const size_t num_rows) const override { |
138 | 9.45k | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); |
139 | 9.45k | DCHECK(col.item_size() == sizeof(Data)) |
140 | 8 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); |
141 | 9.45k | col.resize(num_rows); |
142 | 9.45k | auto* data = col.get_data().data(); |
143 | 1.26M | for (size_t i = 0; i != num_rows; ++i) { |
144 | 1.25M | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = |
145 | 1.25M | *reinterpret_cast<Data*>(places[i] + offset); |
146 | 1.25M | } |
147 | 9.45k | } 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 | 64 | MutableColumnPtr& dst, const size_t num_rows) const override { | 138 | 64 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 139 | 64 | DCHECK(col.item_size() == sizeof(Data)) | 140 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 141 | 64 | col.resize(num_rows); | 142 | 64 | auto* data = col.get_data().data(); | 143 | 100 | for (size_t i = 0; i != num_rows; ++i) { | 144 | 36 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 145 | 36 | *reinterpret_cast<Data*>(places[i] + offset); | 146 | 36 | } | 147 | 64 | } |
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.25k | MutableColumnPtr& dst, const size_t num_rows) const override { | 138 | 3.25k | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 139 | 3.25k | DCHECK(col.item_size() == sizeof(Data)) | 140 | 6 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 141 | 3.25k | col.resize(num_rows); | 142 | 3.25k | auto* data = col.get_data().data(); | 143 | 89.4k | for (size_t i = 0; i != num_rows; ++i) { | 144 | 86.1k | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 145 | 86.1k | *reinterpret_cast<Data*>(places[i] + offset); | 146 | 86.1k | } | 147 | 3.25k | } |
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.39k | MutableColumnPtr& dst, const size_t num_rows) const override { | 138 | 1.39k | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 139 | 1.39k | DCHECK(col.item_size() == sizeof(Data)) | 140 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 141 | 1.39k | col.resize(num_rows); | 142 | 1.39k | auto* data = col.get_data().data(); | 143 | 37.2k | for (size_t i = 0; i != num_rows; ++i) { | 144 | 35.8k | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 145 | 35.8k | *reinterpret_cast<Data*>(places[i] + offset); | 146 | 35.8k | } | 147 | 1.39k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 137 | 5 | MutableColumnPtr& dst, const size_t num_rows) const override { | 138 | 5 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 139 | 5 | DCHECK(col.item_size() == sizeof(Data)) | 140 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 141 | 5 | col.resize(num_rows); | 142 | 5 | auto* data = col.get_data().data(); | 143 | 7 | 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 | 5 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 137 | 24 | MutableColumnPtr& dst, const size_t num_rows) const override { | 138 | 24 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 139 | 24 | DCHECK(col.item_size() == sizeof(Data)) | 140 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 141 | 24 | col.resize(num_rows); | 142 | 24 | auto* data = col.get_data().data(); | 143 | 32 | 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 | 24 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 137 | 258 | MutableColumnPtr& dst, const size_t num_rows) const override { | 138 | 258 | 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 | 258 | col.resize(num_rows); | 142 | 258 | auto* data = col.get_data().data(); | 143 | 406 | for (size_t i = 0; i != num_rows; ++i) { | 144 | 148 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 145 | 148 | *reinterpret_cast<Data*>(places[i] + offset); | 146 | 148 | } | 147 | 258 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 137 | 56 | MutableColumnPtr& dst, const size_t num_rows) const override { | 138 | 56 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 139 | 56 | DCHECK(col.item_size() == sizeof(Data)) | 140 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 141 | 56 | col.resize(num_rows); | 142 | 56 | auto* data = col.get_data().data(); | 143 | 83 | for (size_t i = 0; i != num_rows; ++i) { | 144 | 27 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 145 | 27 | *reinterpret_cast<Data*>(places[i] + offset); | 146 | 27 | } | 147 | 56 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 137 | 1.42k | MutableColumnPtr& dst, const size_t num_rows) const override { | 138 | 1.42k | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 139 | 1.42k | DCHECK(col.item_size() == sizeof(Data)) | 140 | 3 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 141 | 1.42k | col.resize(num_rows); | 142 | 1.42k | auto* data = col.get_data().data(); | 143 | 1.09M | for (size_t i = 0; i != num_rows; ++i) { | 144 | 1.09M | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 145 | 1.09M | *reinterpret_cast<Data*>(places[i] + offset); | 146 | 1.09M | } | 147 | 1.42k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 137 | 2.51k | MutableColumnPtr& dst, const size_t num_rows) const override { | 138 | 2.51k | 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 | 2.51k | col.resize(num_rows); | 142 | 2.51k | auto* data = col.get_data().data(); | 143 | 26.0k | for (size_t i = 0; i != num_rows; ++i) { | 144 | 23.5k | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 145 | 23.5k | *reinterpret_cast<Data*>(places[i] + offset); | 146 | 23.5k | } | 147 | 2.51k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 137 | 100 | MutableColumnPtr& dst, const size_t num_rows) const override { | 138 | 100 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 139 | 100 | DCHECK(col.item_size() == sizeof(Data)) | 140 | 3 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 141 | 100 | col.resize(num_rows); | 142 | 100 | auto* data = col.get_data().data(); | 143 | 187 | for (size_t i = 0; i != num_rows; ++i) { | 144 | 87 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 145 | 87 | *reinterpret_cast<Data*>(places[i] + offset); | 146 | 87 | } | 147 | 100 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 137 | 18 | MutableColumnPtr& dst, const size_t num_rows) const override { | 138 | 18 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 139 | 18 | DCHECK(col.item_size() == sizeof(Data)) | 140 | 1 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 141 | 18 | col.resize(num_rows); | 142 | 18 | auto* data = col.get_data().data(); | 143 | 24 | 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 | 18 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 137 | 348 | MutableColumnPtr& dst, const size_t num_rows) const override { | 138 | 348 | 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 | 348 | col.resize(num_rows); | 142 | 348 | auto* data = col.get_data().data(); | 143 | 8.83k | for (size_t i = 0; i != num_rows; ++i) { | 144 | 8.48k | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 145 | 8.48k | *reinterpret_cast<Data*>(places[i] + offset); | 146 | 8.48k | } | 147 | 348 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm |
148 | | |
149 | | void streaming_agg_serialize_to_column(const IColumn** columns, MutableColumnPtr& dst, |
150 | 7 | const size_t num_rows, Arena&) const override { |
151 | 7 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); |
152 | 7 | auto& src = assert_cast<const ColVecType&>(*columns[0]); |
153 | 7 | DCHECK(col.item_size() == sizeof(Data)) |
154 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); |
155 | 7 | col.resize(num_rows); |
156 | 7 | auto* src_data = src.get_data().data(); |
157 | 7 | auto* dst_data = col.get_data().data(); |
158 | 29 | for (size_t i = 0; i != num_rows; ++i) { |
159 | 22 | auto& state = *reinterpret_cast<Data*>(&dst_data[sizeof(Data) * i]); |
160 | 22 | state.sum = typename PrimitiveTypeTraits<TResult>::CppType(src_data[i]); |
161 | 22 | } |
162 | 7 | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Line | Count | Source | 150 | 3 | const size_t num_rows, Arena&) const override { | 151 | 3 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 152 | 3 | auto& src = assert_cast<const ColVecType&>(*columns[0]); | 153 | 3 | DCHECK(col.item_size() == sizeof(Data)) | 154 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 155 | 3 | col.resize(num_rows); | 156 | 3 | auto* src_data = src.get_data().data(); | 157 | 3 | auto* dst_data = col.get_data().data(); | 158 | 11 | for (size_t i = 0; i != num_rows; ++i) { | 159 | 8 | auto& state = *reinterpret_cast<Data*>(&dst_data[sizeof(Data) * i]); | 160 | 8 | state.sum = typename PrimitiveTypeTraits<TResult>::CppType(src_data[i]); | 161 | 8 | } | 162 | 3 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Line | Count | Source | 150 | 2 | const size_t num_rows, Arena&) const override { | 151 | 2 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 152 | 2 | auto& src = assert_cast<const ColVecType&>(*columns[0]); | 153 | 2 | DCHECK(col.item_size() == sizeof(Data)) | 154 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 155 | 2 | col.resize(num_rows); | 156 | 2 | auto* src_data = src.get_data().data(); | 157 | 2 | auto* dst_data = col.get_data().data(); | 158 | 4 | for (size_t i = 0; i != num_rows; ++i) { | 159 | 2 | auto& state = *reinterpret_cast<Data*>(&dst_data[sizeof(Data) * i]); | 160 | 2 | state.sum = typename PrimitiveTypeTraits<TResult>::CppType(src_data[i]); | 161 | 2 | } | 162 | 2 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Line | Count | Source | 150 | 2 | const size_t num_rows, Arena&) const override { | 151 | 2 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 152 | 2 | auto& src = assert_cast<const ColVecType&>(*columns[0]); | 153 | 2 | DCHECK(col.item_size() == sizeof(Data)) | 154 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 155 | 2 | col.resize(num_rows); | 156 | 2 | auto* src_data = src.get_data().data(); | 157 | 2 | auto* dst_data = col.get_data().data(); | 158 | 14 | for (size_t i = 0; i != num_rows; ++i) { | 159 | 12 | auto& state = *reinterpret_cast<Data*>(&dst_data[sizeof(Data) * i]); | 160 | 12 | state.sum = typename PrimitiveTypeTraits<TResult>::CppType(src_data[i]); | 161 | 12 | } | 162 | 2 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE |
163 | | |
164 | | void deserialize_and_merge_from_column_range(AggregateDataPtr __restrict place, |
165 | | const IColumn& column, size_t begin, size_t end, |
166 | 7.17k | Arena&) const override { |
167 | 7.17k | DCHECK(end <= column.size() && begin <= end) |
168 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); |
169 | 7.17k | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); |
170 | 7.17k | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); |
171 | 14.3k | for (size_t i = begin; i <= end; ++i) { |
172 | 7.17k | this->data(place).sum += data[i].sum; |
173 | 7.17k | } |
174 | 7.17k | } 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 | 139 | Arena&) const override { | 167 | 139 | DCHECK(end <= column.size() && begin <= end) | 168 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 169 | 139 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 170 | 139 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 171 | 278 | for (size_t i = begin; i <= end; ++i) { | 172 | 139 | this->data(place).sum += data[i].sum; | 173 | 139 | } | 174 | 139 | } |
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 | 247 | Arena&) const override { | 167 | 247 | DCHECK(end <= column.size() && begin <= end) | 168 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 169 | 247 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 170 | 247 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 171 | 494 | for (size_t i = begin; i <= end; ++i) { | 172 | 247 | this->data(place).sum += data[i].sum; | 173 | 247 | } | 174 | 247 | } |
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 | 121 | Arena&) const override { | 167 | 121 | DCHECK(end <= column.size() && begin <= end) | 168 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 169 | 121 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 170 | 121 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 171 | 242 | for (size_t i = begin; i <= end; ++i) { | 172 | 121 | this->data(place).sum += data[i].sum; | 173 | 121 | } | 174 | 121 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 166 | 2 | Arena&) const override { | 167 | 2 | DCHECK(end <= column.size() && begin <= end) | 168 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 169 | 2 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 170 | 2 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 171 | 4 | for (size_t i = begin; i <= end; ++i) { | 172 | 2 | this->data(place).sum += data[i].sum; | 173 | 2 | } | 174 | 2 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 166 | 9 | Arena&) const override { | 167 | 9 | DCHECK(end <= column.size() && begin <= end) | 168 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 169 | 9 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 170 | 9 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 171 | 18 | for (size_t i = begin; i <= end; ++i) { | 172 | 9 | this->data(place).sum += data[i].sum; | 173 | 9 | } | 174 | 9 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 166 | 2.59k | Arena&) const override { | 167 | 2.59k | DCHECK(end <= column.size() && begin <= end) | 168 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 169 | 2.59k | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 170 | 2.59k | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 171 | 5.18k | for (size_t i = begin; i <= end; ++i) { | 172 | 2.59k | this->data(place).sum += data[i].sum; | 173 | 2.59k | } | 174 | 2.59k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 166 | 15 | Arena&) const override { | 167 | 15 | DCHECK(end <= column.size() && begin <= end) | 168 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 169 | 15 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 170 | 15 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 171 | 30 | for (size_t i = begin; i <= end; ++i) { | 172 | 15 | this->data(place).sum += data[i].sum; | 173 | 15 | } | 174 | 15 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 166 | 3.42k | Arena&) const override { | 167 | 3.42k | DCHECK(end <= column.size() && begin <= end) | 168 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 169 | 3.42k | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 170 | 3.42k | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 171 | 6.84k | for (size_t i = begin; i <= end; ++i) { | 172 | 3.42k | this->data(place).sum += data[i].sum; | 173 | 3.42k | } | 174 | 3.42k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 166 | 477 | Arena&) const override { | 167 | 477 | DCHECK(end <= column.size() && begin <= end) | 168 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 169 | 477 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 170 | 477 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 171 | 954 | for (size_t i = begin; i <= end; ++i) { | 172 | 477 | this->data(place).sum += data[i].sum; | 173 | 477 | } | 174 | 477 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 166 | 7 | Arena&) const override { | 167 | 7 | DCHECK(end <= column.size() && begin <= end) | 168 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 169 | 7 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 170 | 7 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 171 | 14 | for (size_t i = begin; i <= end; ++i) { | 172 | 7 | this->data(place).sum += data[i].sum; | 173 | 7 | } | 174 | 7 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 166 | 27 | Arena&) const override { | 167 | 27 | DCHECK(end <= column.size() && begin <= end) | 168 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 169 | 27 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 170 | 27 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 171 | 54 | for (size_t i = begin; i <= end; ++i) { | 172 | 27 | this->data(place).sum += data[i].sum; | 173 | 27 | } | 174 | 27 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 166 | 118 | Arena&) const override { | 167 | 118 | DCHECK(end <= column.size() && begin <= end) | 168 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 169 | 118 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 170 | 118 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 171 | 236 | for (size_t i = begin; i <= end; ++i) { | 172 | 118 | this->data(place).sum += data[i].sum; | 173 | 118 | } | 174 | 118 | } |
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 | 7.58k | const size_t num_rows) const override { |
179 | 7.58k | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); |
180 | 7.58k | const auto* data = col.get_data().data(); |
181 | 7.58k | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); |
182 | 7.58k | } 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 | 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 | } |
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.96k | const size_t num_rows) const override { | 179 | 1.96k | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 180 | 1.96k | const auto* data = col.get_data().data(); | 181 | 1.96k | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 182 | 1.96k | } |
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 | 1.73k | const size_t num_rows) const override { | 179 | 1.73k | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 180 | 1.73k | const auto* data = col.get_data().data(); | 181 | 1.73k | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 182 | 1.73k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 178 | 2 | const size_t num_rows) const override { | 179 | 2 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 180 | 2 | const auto* data = col.get_data().data(); | 181 | 2 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 182 | 2 | } |
_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 | 108 | const size_t num_rows) const override { | 179 | 108 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 180 | 108 | const auto* data = col.get_data().data(); | 181 | 108 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 182 | 108 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 178 | 20 | const size_t num_rows) const override { | 179 | 20 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 180 | 20 | const auto* data = col.get_data().data(); | 181 | 20 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 182 | 20 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 178 | 883 | const size_t num_rows) const override { | 179 | 883 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 180 | 883 | const auto* data = col.get_data().data(); | 181 | 883 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 182 | 883 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 178 | 2.33k | const size_t num_rows) const override { | 179 | 2.33k | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 180 | 2.33k | const auto* data = col.get_data().data(); | 181 | 2.33k | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 182 | 2.33k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 178 | 57 | const size_t num_rows) const override { | 179 | 57 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 180 | 57 | const auto* data = col.get_data().data(); | 181 | 57 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 182 | 57 | } |
_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 | 437 | const size_t num_rows) const override { | 179 | 437 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 180 | 437 | const auto* data = col.get_data().data(); | 181 | 437 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 182 | 437 | } |
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 | 7.15k | IColumn& to) const override { |
194 | 7.15k | auto& col = assert_cast<ColumnFixedLengthObject&>(to); |
195 | 7.15k | DCHECK(col.item_size() == sizeof(Data)) |
196 | 1 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); |
197 | 7.15k | size_t old_size = col.size(); |
198 | 7.15k | col.resize(old_size + 1); |
199 | 7.15k | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; |
200 | 7.15k | } 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 | 139 | IColumn& to) const override { | 194 | 139 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 195 | 139 | DCHECK(col.item_size() == sizeof(Data)) | 196 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 197 | 139 | size_t old_size = col.size(); | 198 | 139 | col.resize(old_size + 1); | 199 | 139 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 200 | 139 | } |
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 | 242 | IColumn& to) const override { | 194 | 242 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 195 | 242 | DCHECK(col.item_size() == sizeof(Data)) | 196 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 197 | 242 | size_t old_size = col.size(); | 198 | 242 | col.resize(old_size + 1); | 199 | 242 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 200 | 242 | } |
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 | 121 | IColumn& to) const override { | 194 | 121 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 195 | 121 | DCHECK(col.item_size() == sizeof(Data)) | 196 | 1 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 197 | 121 | size_t old_size = col.size(); | 198 | 121 | col.resize(old_size + 1); | 199 | 121 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 200 | 121 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 193 | 2 | IColumn& to) const override { | 194 | 2 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 195 | 2 | DCHECK(col.item_size() == sizeof(Data)) | 196 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 197 | 2 | size_t old_size = col.size(); | 198 | 2 | col.resize(old_size + 1); | 199 | 2 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 200 | 2 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 193 | 9 | IColumn& to) const override { | 194 | 9 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 195 | 9 | DCHECK(col.item_size() == sizeof(Data)) | 196 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 197 | 9 | size_t old_size = col.size(); | 198 | 9 | col.resize(old_size + 1); | 199 | 9 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 200 | 9 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 193 | 2.58k | IColumn& to) const override { | 194 | 2.58k | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 195 | 2.58k | DCHECK(col.item_size() == sizeof(Data)) | 196 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 197 | 2.58k | size_t old_size = col.size(); | 198 | 2.58k | col.resize(old_size + 1); | 199 | 2.58k | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 200 | 2.58k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 193 | 15 | IColumn& to) const override { | 194 | 15 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 195 | 15 | DCHECK(col.item_size() == sizeof(Data)) | 196 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 197 | 15 | size_t old_size = col.size(); | 198 | 15 | col.resize(old_size + 1); | 199 | 15 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 200 | 15 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 193 | 3.40k | IColumn& to) const override { | 194 | 3.40k | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 195 | 3.40k | DCHECK(col.item_size() == sizeof(Data)) | 196 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 197 | 3.40k | size_t old_size = col.size(); | 198 | 3.40k | col.resize(old_size + 1); | 199 | 3.40k | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 200 | 3.40k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 193 | 477 | IColumn& to) const override { | 194 | 477 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 195 | 477 | DCHECK(col.item_size() == sizeof(Data)) | 196 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 197 | 477 | size_t old_size = col.size(); | 198 | 477 | col.resize(old_size + 1); | 199 | 477 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 200 | 477 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 193 | 7 | IColumn& to) const override { | 194 | 7 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 195 | 7 | DCHECK(col.item_size() == sizeof(Data)) | 196 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 197 | 7 | size_t old_size = col.size(); | 198 | 7 | col.resize(old_size + 1); | 199 | 7 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 200 | 7 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 193 | 27 | IColumn& to) const override { | 194 | 27 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 195 | 27 | DCHECK(col.item_size() == sizeof(Data)) | 196 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 197 | 27 | size_t old_size = col.size(); | 198 | 27 | col.resize(old_size + 1); | 199 | 27 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 200 | 27 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 193 | 118 | IColumn& to) const override { | 194 | 118 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 195 | 118 | DCHECK(col.item_size() == sizeof(Data)) | 196 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 197 | 118 | size_t old_size = col.size(); | 198 | 118 | col.resize(old_size + 1); | 199 | 118 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 200 | 118 | } |
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 | 16.5k | MutableColumnPtr create_serialize_column() const override { |
203 | 16.5k | return ColumnFixedLengthObject::create(sizeof(Data)); |
204 | 16.5k | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE23create_serialize_columnEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE23create_serialize_columnEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE23create_serialize_columnEv Line | Count | Source | 202 | 202 | MutableColumnPtr create_serialize_column() const override { | 203 | 202 | return ColumnFixedLengthObject::create(sizeof(Data)); | 204 | 202 | } |
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.49k | MutableColumnPtr create_serialize_column() const override { | 203 | 3.49k | return ColumnFixedLengthObject::create(sizeof(Data)); | 204 | 3.49k | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE23create_serialize_columnEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE23create_serialize_columnEv Line | Count | Source | 202 | 1.51k | MutableColumnPtr create_serialize_column() const override { | 203 | 1.51k | return ColumnFixedLengthObject::create(sizeof(Data)); | 204 | 1.51k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE23create_serialize_columnEv Line | Count | Source | 202 | 7 | MutableColumnPtr create_serialize_column() const override { | 203 | 7 | return ColumnFixedLengthObject::create(sizeof(Data)); | 204 | 7 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE23create_serialize_columnEv Line | Count | Source | 202 | 32 | MutableColumnPtr create_serialize_column() const override { | 203 | 32 | return ColumnFixedLengthObject::create(sizeof(Data)); | 204 | 32 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE23create_serialize_columnEv Line | Count | Source | 202 | 2.84k | MutableColumnPtr create_serialize_column() const override { | 203 | 2.84k | return ColumnFixedLengthObject::create(sizeof(Data)); | 204 | 2.84k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE23create_serialize_columnEv Line | Count | Source | 202 | 70 | MutableColumnPtr create_serialize_column() const override { | 203 | 70 | return ColumnFixedLengthObject::create(sizeof(Data)); | 204 | 70 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE23create_serialize_columnEv Line | Count | Source | 202 | 4.77k | MutableColumnPtr create_serialize_column() const override { | 203 | 4.77k | return ColumnFixedLengthObject::create(sizeof(Data)); | 204 | 4.77k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE23create_serialize_columnEv Line | Count | Source | 202 | 2.99k | MutableColumnPtr create_serialize_column() const override { | 203 | 2.99k | return ColumnFixedLengthObject::create(sizeof(Data)); | 204 | 2.99k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE23create_serialize_columnEv Line | Count | Source | 202 | 106 | MutableColumnPtr create_serialize_column() const override { | 203 | 106 | return ColumnFixedLengthObject::create(sizeof(Data)); | 204 | 106 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE23create_serialize_columnEv Line | Count | Source | 202 | 44 | MutableColumnPtr create_serialize_column() const override { | 203 | 44 | return ColumnFixedLengthObject::create(sizeof(Data)); | 204 | 44 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE23create_serialize_columnEv Line | Count | Source | 202 | 470 | MutableColumnPtr create_serialize_column() const override { | 203 | 470 | return ColumnFixedLengthObject::create(sizeof(Data)); | 204 | 470 | } |
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 | 16.6k | DataTypePtr get_serialized_type() const override { |
207 | 16.6k | return std::make_shared<DataTypeFixedLengthObject>(); |
208 | 16.6k | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE19get_serialized_typeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE19get_serialized_typeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE19get_serialized_typeEv Line | Count | Source | 206 | 202 | DataTypePtr get_serialized_type() const override { | 207 | 202 | return std::make_shared<DataTypeFixedLengthObject>(); | 208 | 202 | } |
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.51k | DataTypePtr get_serialized_type() const override { | 207 | 3.51k | return std::make_shared<DataTypeFixedLengthObject>(); | 208 | 3.51k | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19get_serialized_typeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE19get_serialized_typeEv Line | Count | Source | 206 | 1.52k | DataTypePtr get_serialized_type() const override { | 207 | 1.52k | return std::make_shared<DataTypeFixedLengthObject>(); | 208 | 1.52k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19get_serialized_typeEv Line | Count | Source | 206 | 7 | DataTypePtr get_serialized_type() const override { | 207 | 7 | return std::make_shared<DataTypeFixedLengthObject>(); | 208 | 7 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19get_serialized_typeEv Line | Count | Source | 206 | 33 | DataTypePtr get_serialized_type() const override { | 207 | 33 | return std::make_shared<DataTypeFixedLengthObject>(); | 208 | 33 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19get_serialized_typeEv Line | Count | Source | 206 | 2.85k | DataTypePtr get_serialized_type() const override { | 207 | 2.85k | return std::make_shared<DataTypeFixedLengthObject>(); | 208 | 2.85k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19get_serialized_typeEv Line | Count | Source | 206 | 71 | DataTypePtr get_serialized_type() const override { | 207 | 71 | return std::make_shared<DataTypeFixedLengthObject>(); | 208 | 71 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19get_serialized_typeEv Line | Count | Source | 206 | 4.80k | DataTypePtr get_serialized_type() const override { | 207 | 4.80k | return std::make_shared<DataTypeFixedLengthObject>(); | 208 | 4.80k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19get_serialized_typeEv Line | Count | Source | 206 | 3.00k | DataTypePtr get_serialized_type() const override { | 207 | 3.00k | return std::make_shared<DataTypeFixedLengthObject>(); | 208 | 3.00k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE19get_serialized_typeEv Line | Count | Source | 206 | 104 | DataTypePtr get_serialized_type() const override { | 207 | 104 | return std::make_shared<DataTypeFixedLengthObject>(); | 208 | 104 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE19get_serialized_typeEv Line | Count | Source | 206 | 44 | DataTypePtr get_serialized_type() const override { | 207 | 44 | return std::make_shared<DataTypeFixedLengthObject>(); | 208 | 44 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE19get_serialized_typeEv Line | Count | Source | 206 | 468 | DataTypePtr get_serialized_type() const override { | 207 | 468 | return std::make_shared<DataTypeFixedLengthObject>(); | 208 | 468 | } |
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.46k | 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 | 3 | 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 | 38 | 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 | 318 | bool supported_incremental_mode() const override { return true; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE26supported_incremental_modeEv Line | Count | Source | 210 | 16 | bool supported_incremental_mode() const override { return true; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE26supported_incremental_modeEv Line | Count | Source | 210 | 550 | bool supported_incremental_mode() const override { return true; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE26supported_incremental_modeEv Line | Count | Source | 210 | 339 | 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 | 184 | 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 | 750 | UInt8* could_use_previous_result) const override { |
217 | 750 | int64_t current_frame_start = std::max<int64_t>(frame_start, partition_start); |
218 | 750 | int64_t current_frame_end = std::min<int64_t>(frame_end, partition_end); |
219 | | |
220 | 750 | if (current_frame_start >= current_frame_end) { |
221 | 16 | *use_null_result = true; |
222 | 16 | return; |
223 | 16 | } |
224 | 734 | if (*could_use_previous_result) { |
225 | 674 | const auto& column = |
226 | 674 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); |
227 | 674 | const auto* data = column.get_data().data(); |
228 | 674 | auto outcoming_pos = frame_start - 1; |
229 | 674 | auto incoming_pos = frame_end - 1; |
230 | 674 | if (!previous_is_nul && outcoming_pos >= partition_start && |
231 | 674 | outcoming_pos < partition_end) { |
232 | 506 | this->data(place).add( |
233 | 506 | typename PrimitiveTypeTraits<TResult>::CppType(-data[outcoming_pos])); |
234 | 506 | } |
235 | 674 | if (!end_is_nul && incoming_pos >= partition_start && incoming_pos < partition_end) { |
236 | 529 | this->data(place).add( |
237 | 529 | typename PrimitiveTypeTraits<TResult>::CppType(data[incoming_pos])); |
238 | 529 | } |
239 | 674 | } else { |
240 | 60 | this->add_range_single_place(partition_start, partition_end, frame_start, frame_end, |
241 | 60 | place, columns, arena, use_null_result, |
242 | 60 | could_use_previous_result); |
243 | 60 | } |
244 | 734 | } 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 | 190 | UInt8* could_use_previous_result) const override { | 217 | 190 | int64_t current_frame_start = std::max<int64_t>(frame_start, partition_start); | 218 | 190 | int64_t current_frame_end = std::min<int64_t>(frame_end, partition_end); | 219 | | | 220 | 190 | if (current_frame_start >= current_frame_end) { | 221 | 0 | *use_null_result = true; | 222 | 0 | return; | 223 | 0 | } | 224 | 190 | if (*could_use_previous_result) { | 225 | 168 | const auto& column = | 226 | 168 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 227 | 168 | const auto* data = column.get_data().data(); | 228 | 168 | auto outcoming_pos = frame_start - 1; | 229 | 168 | auto incoming_pos = frame_end - 1; | 230 | 168 | if (!previous_is_nul && outcoming_pos >= partition_start && | 231 | 168 | outcoming_pos < partition_end) { | 232 | 126 | this->data(place).add( | 233 | 126 | typename PrimitiveTypeTraits<TResult>::CppType(-data[outcoming_pos])); | 234 | 126 | } | 235 | 168 | if (!end_is_nul && incoming_pos >= partition_start && incoming_pos < partition_end) { | 236 | 140 | this->data(place).add( | 237 | 140 | typename PrimitiveTypeTraits<TResult>::CppType(data[incoming_pos])); | 238 | 140 | } | 239 | 168 | } else { | 240 | 22 | this->add_range_single_place(partition_start, partition_end, frame_start, frame_end, | 241 | 22 | place, columns, arena, use_null_result, | 242 | 22 | could_use_previous_result); | 243 | 22 | } | 244 | 190 | } |
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 | 6.47k | UInt8* could_use_previous_result) const override { |
250 | 6.47k | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); |
251 | 6.47k | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); |
252 | | |
253 | 6.47k | if (current_frame_start >= current_frame_end) { |
254 | 151 | if (!*could_use_previous_result) { |
255 | 9 | *use_null_result = true; |
256 | 9 | } |
257 | 6.32k | } else { |
258 | 6.32k | const auto& column = |
259 | 6.32k | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); |
260 | 13.3k | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { |
261 | 7.07k | this->data(place).add( |
262 | 7.07k | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); |
263 | 7.07k | } |
264 | 6.32k | *use_null_result = false; |
265 | 6.32k | *could_use_previous_result = true; |
266 | 6.32k | } |
267 | 6.47k | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 249 | 6 | UInt8* could_use_previous_result) const override { | 250 | 6 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 251 | 6 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 252 | | | 253 | 6 | if (current_frame_start >= current_frame_end) { | 254 | 0 | if (!*could_use_previous_result) { | 255 | 0 | *use_null_result = true; | 256 | 0 | } | 257 | 6 | } else { | 258 | 6 | const auto& column = | 259 | 6 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 260 | 12 | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 261 | 6 | this->data(place).add( | 262 | 6 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 263 | 6 | } | 264 | 6 | *use_null_result = false; | 265 | 6 | *could_use_previous_result = true; | 266 | 6 | } | 267 | 6 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 249 | 23 | UInt8* could_use_previous_result) const override { | 250 | 23 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 251 | 23 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 252 | | | 253 | 23 | if (current_frame_start >= current_frame_end) { | 254 | 0 | if (!*could_use_previous_result) { | 255 | 0 | *use_null_result = true; | 256 | 0 | } | 257 | 23 | } else { | 258 | 23 | const auto& column = | 259 | 23 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 260 | 53 | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 261 | 30 | this->data(place).add( | 262 | 30 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 263 | 30 | } | 264 | 23 | *use_null_result = false; | 265 | 23 | *could_use_previous_result = true; | 266 | 23 | } | 267 | 23 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 249 | 9 | UInt8* could_use_previous_result) const override { | 250 | 9 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 251 | 9 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 252 | | | 253 | 9 | if (current_frame_start >= current_frame_end) { | 254 | 0 | if (!*could_use_previous_result) { | 255 | 0 | *use_null_result = true; | 256 | 0 | } | 257 | 9 | } else { | 258 | 9 | const auto& column = | 259 | 9 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 260 | 18 | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 261 | 9 | this->data(place).add( | 262 | 9 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 263 | 9 | } | 264 | 9 | *use_null_result = false; | 265 | 9 | *could_use_previous_result = true; | 266 | 9 | } | 267 | 9 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 249 | 1 | UInt8* could_use_previous_result) const override { | 250 | 1 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 251 | 1 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 252 | | | 253 | 1 | if (current_frame_start >= current_frame_end) { | 254 | 0 | if (!*could_use_previous_result) { | 255 | 0 | *use_null_result = true; | 256 | 0 | } | 257 | 1 | } else { | 258 | 1 | const auto& column = | 259 | 1 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 260 | 2 | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 261 | 1 | this->data(place).add( | 262 | 1 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 263 | 1 | } | 264 | 1 | *use_null_result = false; | 265 | 1 | *could_use_previous_result = true; | 266 | 1 | } | 267 | 1 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 249 | 1 | UInt8* could_use_previous_result) const override { | 250 | 1 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 251 | 1 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 252 | | | 253 | 1 | if (current_frame_start >= current_frame_end) { | 254 | 0 | if (!*could_use_previous_result) { | 255 | 0 | *use_null_result = true; | 256 | 0 | } | 257 | 1 | } else { | 258 | 1 | const auto& column = | 259 | 1 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 260 | 2 | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 261 | 1 | this->data(place).add( | 262 | 1 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 263 | 1 | } | 264 | 1 | *use_null_result = false; | 265 | 1 | *could_use_previous_result = true; | 266 | 1 | } | 267 | 1 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 249 | 362 | UInt8* could_use_previous_result) const override { | 250 | 362 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 251 | 362 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 252 | | | 253 | 362 | if (current_frame_start >= current_frame_end) { | 254 | 36 | if (!*could_use_previous_result) { | 255 | 8 | *use_null_result = true; | 256 | 8 | } | 257 | 326 | } else { | 258 | 326 | const auto& column = | 259 | 326 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 260 | 774 | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 261 | 448 | this->data(place).add( | 262 | 448 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 263 | 448 | } | 264 | 326 | *use_null_result = false; | 265 | 326 | *could_use_previous_result = true; | 266 | 326 | } | 267 | 362 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 249 | 2.05k | UInt8* could_use_previous_result) const override { | 250 | 2.05k | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 251 | 2.05k | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 252 | | | 253 | 2.05k | if (current_frame_start >= current_frame_end) { | 254 | 0 | if (!*could_use_previous_result) { | 255 | 0 | *use_null_result = true; | 256 | 0 | } | 257 | 2.05k | } else { | 258 | 2.05k | const auto& column = | 259 | 2.05k | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 260 | 4.10k | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 261 | 2.05k | this->data(place).add( | 262 | 2.05k | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 263 | 2.05k | } | 264 | 2.05k | *use_null_result = false; | 265 | 2.05k | *could_use_previous_result = true; | 266 | 2.05k | } | 267 | 2.05k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 249 | 2.84k | UInt8* could_use_previous_result) const override { | 250 | 2.84k | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 251 | 2.84k | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 252 | | | 253 | 2.84k | if (current_frame_start >= current_frame_end) { | 254 | 90 | if (!*could_use_previous_result) { | 255 | 0 | *use_null_result = true; | 256 | 0 | } | 257 | 2.75k | } else { | 258 | 2.75k | const auto& column = | 259 | 2.75k | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 260 | 5.88k | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 261 | 3.13k | this->data(place).add( | 262 | 3.13k | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 263 | 3.13k | } | 264 | 2.75k | *use_null_result = false; | 265 | 2.75k | *could_use_previous_result = true; | 266 | 2.75k | } | 267 | 2.84k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 249 | 606 | UInt8* could_use_previous_result) const override { | 250 | 606 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 251 | 606 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 252 | | | 253 | 606 | if (current_frame_start >= current_frame_end) { | 254 | 25 | if (!*could_use_previous_result) { | 255 | 1 | *use_null_result = true; | 256 | 1 | } | 257 | 581 | } else { | 258 | 581 | const auto& column = | 259 | 581 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 260 | 1.39k | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 261 | 816 | this->data(place).add( | 262 | 816 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 263 | 816 | } | 264 | 581 | *use_null_result = false; | 265 | 581 | *could_use_previous_result = true; | 266 | 581 | } | 267 | 606 | } |
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" |