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 | 43.4M | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { |
55 | 43.4M | #ifdef __clang__ |
56 | 43.4M | #pragma clang fp reassociate(on) |
57 | 43.4M | #endif |
58 | 43.4M | sum += value; |
59 | 43.4M | } _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE28EE3addENS_7DecimalIiEE Line | Count | Source | 54 | 10 | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 55 | 10 | #ifdef __clang__ | 56 | 10 | #pragma clang fp reassociate(on) | 57 | 10 | #endif | 58 | 10 | sum += value; | 59 | 10 | } |
Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE29EE3addENS_7DecimalIlEE _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE30EE3addENS_12Decimal128V3E Line | Count | Source | 54 | 12.1M | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 55 | 12.1M | #ifdef __clang__ | 56 | 12.1M | #pragma clang fp reassociate(on) | 57 | 12.1M | #endif | 58 | 12.1M | sum += value; | 59 | 12.1M | } |
_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 | 27.9M | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 55 | 27.9M | #ifdef __clang__ | 56 | 27.9M | #pragma clang fp reassociate(on) | 57 | 27.9M | #endif | 58 | 27.9M | sum += value; | 59 | 27.9M | } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE7EE3addEn Line | Count | Source | 54 | 10.8k | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 55 | 10.8k | #ifdef __clang__ | 56 | 10.8k | #pragma clang fp reassociate(on) | 57 | 10.8k | #endif | 58 | 10.8k | sum += value; | 59 | 10.8k | } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE9EE3addEd Line | Count | Source | 54 | 2.55M | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 55 | 2.55M | #ifdef __clang__ | 56 | 2.55M | #pragma clang fp reassociate(on) | 57 | 2.55M | #endif | 58 | 2.55M | sum += value; | 59 | 2.55M | } |
Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE20EE3addENS_14DecimalV2ValueE _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE3EE3addEa Line | Count | Source | 54 | 40 | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 55 | 40 | #ifdef __clang__ | 56 | 40 | #pragma clang fp reassociate(on) | 57 | 40 | #endif | 58 | 40 | sum += value; | 59 | 40 | } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE4EE3addEs Line | Count | Source | 54 | 140 | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 55 | 140 | #ifdef __clang__ | 56 | 140 | #pragma clang fp reassociate(on) | 57 | 140 | #endif | 58 | 140 | sum += value; | 59 | 140 | } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE5EE3addEi Line | Count | Source | 54 | 819k | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 55 | 819k | #ifdef __clang__ | 56 | 819k | #pragma clang fp reassociate(on) | 57 | 819k | #endif | 58 | 819k | sum += value; | 59 | 819k | } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE8EE3addEf Line | Count | Source | 54 | 10.2k | NO_SANITIZE_UNDEFINED void add(typename PrimitiveTypeTraits<T>::CppType value) { | 55 | 10.2k | #ifdef __clang__ | 56 | 10.2k | #pragma clang fp reassociate(on) | 57 | 10.2k | #endif | 58 | 10.2k | sum += value; | 59 | 10.2k | } |
|
60 | | |
61 | 104k | void merge(const AggregateFunctionSumData& rhs) { sum += rhs.sum; }Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE28EE5mergeERKS2_ Unexecuted instantiation: _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE29EE5mergeERKS2_ _ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE30EE5mergeERKS2_ Line | Count | Source | 61 | 78.4k | 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 | 19.8k | void merge(const AggregateFunctionSumData& rhs) { sum += rhs.sum; } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE7EE5mergeERKS2_ Line | Count | Source | 61 | 110 | void merge(const AggregateFunctionSumData& rhs) { sum += rhs.sum; } |
_ZN5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE9EE5mergeERKS2_ Line | Count | Source | 61 | 6.12k | 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 | 693 | 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 | 636 | 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 | 634 | 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 | 583 | 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.21M | 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 | 806k | 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 | 972k | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE7EE3getEv Line | Count | Source | 67 | 5.45k | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE9EE3getEv Line | Count | Source | 67 | 12.7k | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
Unexecuted instantiation: _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE20EE3getEv _ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE3EE3getEv Line | Count | Source | 67 | 14 | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE4EE3getEv Line | Count | Source | 67 | 47 | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE5EE3getEv Line | Count | Source | 67 | 409k | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
_ZNK5doris24AggregateFunctionSumDataILNS_13PrimitiveTypeE8EE3getEv Line | Count | Source | 67 | 5.20k | typename PrimitiveTypeTraits<T>::CppType get() const { return sum; } |
|
68 | | }; |
69 | | |
70 | | template <PrimitiveType T, PrimitiveType TResult, typename Data> |
71 | | class AggregateFunctionSum; |
72 | | |
73 | | template <PrimitiveType T, PrimitiveType TResult> |
74 | | constexpr static bool is_valid_sum_types = |
75 | | (is_same_or_wider_decimalv3(T, TResult) || (is_decimalv2(T) && is_decimalv2(TResult)) || |
76 | | (is_float_or_double(T) && is_float_or_double(TResult)) || |
77 | | (is_int_or_bool(T) && is_int(TResult))); |
78 | | /// Counts the sum of the numbers. |
79 | | template <PrimitiveType T, PrimitiveType TResult, typename Data> |
80 | | requires(is_valid_sum_types<T, TResult>) |
81 | | class AggregateFunctionSum<T, TResult, Data> final |
82 | | : public IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>, |
83 | | UnaryExpression, |
84 | | NullableAggregateFunction { |
85 | | public: |
86 | | using ResultDataType = typename PrimitiveTypeTraits<TResult>::DataType; |
87 | | using ColVecType = typename PrimitiveTypeTraits<T>::ColumnType; |
88 | | using ColVecResult = typename PrimitiveTypeTraits<TResult>::ColumnType; |
89 | | |
90 | 2.45k | 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 | 18 | 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 | 20 | 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 | 34 | 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 | 708 | String get_name() const override { return "sum"; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE8get_nameB5cxx11Ev _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE8get_nameB5cxx11Ev Line | Count | Source | 90 | 940 | String get_name() const override { return "sum"; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE8get_nameB5cxx11Ev Line | Count | Source | 90 | 500 | 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 | 232 | String get_name() const override { return "sum"; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE8get_nameB5cxx11Ev |
91 | | |
92 | | AggregateFunctionSum(const DataTypes& argument_types_) |
93 | 26.3k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( |
94 | 26.3k | argument_types_), |
95 | 26.3k | scale(get_decimal_scale(*argument_types_[0])) {}_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 93 | 894 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 894 | argument_types_), | 95 | 894 | scale(get_decimal_scale(*argument_types_[0])) {} |
Unexecuted instantiation: _ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE _ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 93 | 82 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 82 | argument_types_), | 95 | 82 | scale(get_decimal_scale(*argument_types_[0])) {} |
Unexecuted instantiation: _ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE _ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 93 | 30 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 30 | argument_types_), | 95 | 30 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 93 | 1.19k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 1.19k | argument_types_), | 95 | 1.19k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 93 | 18 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 18 | argument_types_), | 95 | 18 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 93 | 2.14k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 2.14k | argument_types_), | 95 | 2.14k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 93 | 9 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 9 | argument_types_), | 95 | 9 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 93 | 157 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 157 | argument_types_), | 95 | 157 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 93 | 1.08k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 1.08k | argument_types_), | 95 | 1.08k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 93 | 86 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 86 | argument_types_), | 95 | 86 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 93 | 7.18k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 7.18k | argument_types_), | 95 | 7.18k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 93 | 5.24k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 5.24k | argument_types_), | 95 | 5.24k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 93 | 1.20k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 1.20k | argument_types_), | 95 | 1.20k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 93 | 70 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 70 | argument_types_), | 95 | 70 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 93 | 2.32k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 2.32k | argument_types_), | 95 | 2.32k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 93 | 1 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 1 | argument_types_), | 95 | 1 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 93 | 921 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 921 | argument_types_), | 95 | 921 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 93 | 980 | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 980 | argument_types_), | 95 | 980 | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 93 | 1.20k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 1.20k | argument_types_), | 95 | 1.20k | scale(get_decimal_scale(*argument_types_[0])) {} |
_ZN5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 93 | 1.49k | : IAggregateFunctionDataHelper<Data, AggregateFunctionSum<T, TResult, Data>>( | 94 | 1.49k | argument_types_), | 95 | 1.49k | scale(get_decimal_scale(*argument_types_[0])) {} |
|
96 | | |
97 | 23.1k | DataTypePtr get_return_type() const override { |
98 | 23.1k | if constexpr (is_decimal(TResult)) { |
99 | 3.47k | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); |
100 | 19.6k | } else { |
101 | 19.6k | return std::make_shared<ResultDataType>(); |
102 | 19.6k | } |
103 | 23.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 | 168 | DataTypePtr get_return_type() const override { | 98 | 168 | if constexpr (is_decimal(TResult)) { | 99 | 168 | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 100 | | } else { | 101 | | return std::make_shared<ResultDataType>(); | 102 | | } | 103 | 168 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE15get_return_typeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE15get_return_typeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE15get_return_typeEv Line | Count | Source | 97 | 1.81k | DataTypePtr get_return_type() const override { | 98 | 1.81k | if constexpr (is_decimal(TResult)) { | 99 | 1.81k | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 100 | | } else { | 101 | | return std::make_shared<ResultDataType>(); | 102 | | } | 103 | 1.81k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE15get_return_typeEv Line | Count | Source | 97 | 27 | DataTypePtr get_return_type() const override { | 98 | 27 | if constexpr (is_decimal(TResult)) { | 99 | 27 | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 100 | | } else { | 101 | | return std::make_shared<ResultDataType>(); | 102 | | } | 103 | 27 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE15get_return_typeEv Line | Count | Source | 97 | 1.34k | DataTypePtr get_return_type() const override { | 98 | 1.34k | if constexpr (is_decimal(TResult)) { | 99 | 1.34k | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 100 | | } else { | 101 | | return std::make_shared<ResultDataType>(); | 102 | | } | 103 | 1.34k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE15get_return_typeEv Line | Count | Source | 97 | 17 | DataTypePtr get_return_type() const override { | 98 | 17 | if constexpr (is_decimal(TResult)) { | 99 | 17 | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 100 | | } else { | 101 | | return std::make_shared<ResultDataType>(); | 102 | | } | 103 | 17 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE15get_return_typeEv Line | Count | Source | 97 | 93 | DataTypePtr get_return_type() const override { | 98 | 93 | if constexpr (is_decimal(TResult)) { | 99 | 93 | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 100 | | } else { | 101 | | return std::make_shared<ResultDataType>(); | 102 | | } | 103 | 93 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE15get_return_typeEv Line | Count | Source | 97 | 2.70k | DataTypePtr get_return_type() const override { | 98 | | if constexpr (is_decimal(TResult)) { | 99 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 100 | 2.70k | } else { | 101 | 2.70k | return std::make_shared<ResultDataType>(); | 102 | 2.70k | } | 103 | 2.70k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE15get_return_typeEv Line | Count | Source | 97 | 102 | DataTypePtr get_return_type() const override { | 98 | | if constexpr (is_decimal(TResult)) { | 99 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 100 | 102 | } else { | 101 | 102 | return std::make_shared<ResultDataType>(); | 102 | 102 | } | 103 | 102 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE15get_return_typeEv Line | Count | Source | 97 | 12.0k | DataTypePtr get_return_type() const override { | 98 | | if constexpr (is_decimal(TResult)) { | 99 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 100 | 12.0k | } else { | 101 | 12.0k | return std::make_shared<ResultDataType>(); | 102 | 12.0k | } | 103 | 12.0k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE15get_return_typeEv Line | Count | Source | 97 | 3.74k | DataTypePtr get_return_type() const override { | 98 | | if constexpr (is_decimal(TResult)) { | 99 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 100 | 3.74k | } else { | 101 | 3.74k | return std::make_shared<ResultDataType>(); | 102 | 3.74k | } | 103 | 3.74k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE15get_return_typeEv Line | Count | Source | 97 | 154 | DataTypePtr get_return_type() const override { | 98 | | if constexpr (is_decimal(TResult)) { | 99 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 100 | 154 | } else { | 101 | 154 | return std::make_shared<ResultDataType>(); | 102 | 154 | } | 103 | 154 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE15get_return_typeEv Line | Count | Source | 97 | 68 | DataTypePtr get_return_type() const override { | 98 | | if constexpr (is_decimal(TResult)) { | 99 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 100 | 68 | } else { | 101 | 68 | return std::make_shared<ResultDataType>(); | 102 | 68 | } | 103 | 68 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE15get_return_typeEv Line | Count | Source | 97 | 811 | DataTypePtr get_return_type() const override { | 98 | | if constexpr (is_decimal(TResult)) { | 99 | | return std::make_shared<ResultDataType>(ResultDataType::max_precision(), scale); | 100 | 811 | } else { | 101 | 811 | return std::make_shared<ResultDataType>(); | 102 | 811 | } | 103 | 811 | } |
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 | 43.7M | Arena&) const override { |
109 | 43.7M | const auto& column = |
110 | 43.7M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); |
111 | 43.7M | this->data(place).add( |
112 | 43.7M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); |
113 | 43.7M | } _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 108 | 10 | Arena&) const override { | 109 | 10 | const auto& column = | 110 | 10 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 10 | this->data(place).add( | 112 | 10 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 10 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 108 | 314 | Arena&) const override { | 109 | 314 | const auto& column = | 110 | 314 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 314 | this->data(place).add( | 112 | 314 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 314 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 108 | 7.35M | Arena&) const override { | 109 | 7.35M | const auto& column = | 110 | 7.35M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 7.35M | this->data(place).add( | 112 | 7.35M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 7.35M | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 108 | 51 | Arena&) const override { | 109 | 51 | const auto& column = | 110 | 51 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 51 | this->data(place).add( | 112 | 51 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 51 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 108 | 5.10M | Arena&) const override { | 109 | 5.10M | const auto& column = | 110 | 5.10M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 5.10M | this->data(place).add( | 112 | 5.10M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 5.10M | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 108 | 8 | Arena&) const override { | 109 | 8 | const auto& column = | 110 | 8 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 8 | this->data(place).add( | 112 | 8 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 8 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 108 | 763 | Arena&) const override { | 109 | 763 | const auto& column = | 110 | 763 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 763 | this->data(place).add( | 112 | 763 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 763 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 108 | 20.4M | Arena&) const override { | 109 | 20.4M | const auto& column = | 110 | 20.4M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 20.4M | this->data(place).add( | 112 | 20.4M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 20.4M | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 108 | 591 | Arena&) const override { | 109 | 591 | const auto& column = | 110 | 591 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 591 | this->data(place).add( | 112 | 591 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 591 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 108 | 6.06M | Arena&) const override { | 109 | 6.06M | const auto& column = | 110 | 6.06M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 6.06M | this->data(place).add( | 112 | 6.06M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 6.06M | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 108 | 1.42M | Arena&) const override { | 109 | 1.42M | const auto& column = | 110 | 1.42M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 1.42M | this->data(place).add( | 112 | 1.42M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 1.42M | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 108 | 10.8k | Arena&) const override { | 109 | 10.8k | const auto& column = | 110 | 10.8k | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 10.8k | this->data(place).add( | 112 | 10.8k | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 10.8k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 108 | 350 | Arena&) const override { | 109 | 350 | const auto& column = | 110 | 350 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 350 | this->data(place).add( | 112 | 350 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 350 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 108 | 2.55M | Arena&) const override { | 109 | 2.55M | const auto& column = | 110 | 2.55M | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 2.55M | this->data(place).add( | 112 | 2.55M | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 2.55M | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 108 | 40 | Arena&) const override { | 109 | 40 | const auto& column = | 110 | 40 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 40 | this->data(place).add( | 112 | 40 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 40 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 108 | 140 | Arena&) const override { | 109 | 140 | const auto& column = | 110 | 140 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 140 | this->data(place).add( | 112 | 140 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 140 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 108 | 819k | Arena&) const override { | 109 | 819k | const auto& column = | 110 | 819k | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 819k | this->data(place).add( | 112 | 819k | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 819k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 108 | 10.2k | Arena&) const override { | 109 | 10.2k | const auto& column = | 110 | 10.2k | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 111 | 10.2k | this->data(place).add( | 112 | 10.2k | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 113 | 10.2k | } |
|
114 | | |
115 | 1.37M | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; }Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE5resetEPc Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE5resetEPc _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE5resetEPc Line | Count | Source | 115 | 12 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE5resetEPc Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE5resetEPc _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE5resetEPc Line | Count | Source | 115 | 7 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE5resetEPc _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE5resetEPc Line | Count | Source | 115 | 132 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE5resetEPc Line | Count | Source | 115 | 1 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE5resetEPc Line | Count | Source | 115 | 163 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5resetEPc Line | Count | Source | 115 | 145 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5resetEPc Line | Count | Source | 115 | 73 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5resetEPc Line | Count | Source | 115 | 819 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5resetEPc Line | Count | Source | 115 | 942k | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE5resetEPc Line | Count | Source | 115 | 5.32k | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE5resetEPc Line | Count | Source | 115 | 66 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE5resetEPc Line | Count | Source | 115 | 6.54k | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE5resetEPc Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE5resetEPc _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE5resetEPc Line | Count | Source | 115 | 22 | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE5resetEPc Line | Count | Source | 115 | 409k | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE5resetEPc Line | Count | Source | 115 | 5.20k | void reset(AggregateDataPtr place) const override { this->data(place).sum = {}; } |
|
116 | | |
117 | | void merge(AggregateDataPtr __restrict place, ConstAggregateDataPtr rhs, |
118 | 104k | Arena&) const override { |
119 | 104k | this->data(place).merge(this->data(rhs)); |
120 | 104k | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE5mergeEPcPKcRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE5mergeEPcPKcRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 118 | 60 | Arena&) const override { | 119 | 60 | this->data(place).merge(this->data(rhs)); | 120 | 60 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE5mergeEPcPKcRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE5mergeEPcPKcRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 118 | 68.5k | Arena&) const override { | 119 | 68.5k | this->data(place).merge(this->data(rhs)); | 120 | 68.5k | } |
_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 | 10.1k | Arena&) const override { | 119 | 10.1k | this->data(place).merge(this->data(rhs)); | 120 | 10.1k | } |
_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 | 205 | Arena&) const override { | 119 | 205 | this->data(place).merge(this->data(rhs)); | 120 | 205 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 118 | 51 | Arena&) const override { | 119 | 51 | this->data(place).merge(this->data(rhs)); | 120 | 51 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 118 | 1.82k | Arena&) const override { | 119 | 1.82k | this->data(place).merge(this->data(rhs)); | 120 | 1.82k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 118 | 17.7k | Arena&) const override { | 119 | 17.7k | this->data(place).merge(this->data(rhs)); | 120 | 17.7k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 118 | 110 | Arena&) const override { | 119 | 110 | this->data(place).merge(this->data(rhs)); | 120 | 110 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 118 | 6 | Arena&) const override { | 119 | 6 | this->data(place).merge(this->data(rhs)); | 120 | 6 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 118 | 6.12k | Arena&) const override { | 119 | 6.12k | this->data(place).merge(this->data(rhs)); | 120 | 6.12k | } |
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 | 693 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { |
123 | 693 | this->data(place).write(buf); |
124 | 693 | } 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 | 632 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 123 | 632 | this->data(place).write(buf); | 124 | 632 | } |
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 | 634 | Arena&) const override { |
128 | 634 | this->data(place).read(buf); |
129 | 634 | } 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 | 579 | Arena&) const override { | 128 | 579 | this->data(place).read(buf); | 129 | 579 | } |
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.21M | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { |
132 | 2.21M | auto& column = assert_cast<ColVecResult&>(to); |
133 | 2.21M | column.get_data().push_back(this->data(place).get()); |
134 | 2.21M | } _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 131 | 4 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 4 | auto& column = assert_cast<ColVecResult&>(to); | 133 | 4 | column.get_data().push_back(this->data(place).get()); | 134 | 4 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE18insert_result_intoEPKcRNS_7IColumnE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 131 | 154 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 154 | auto& column = assert_cast<ColVecResult&>(to); | 133 | 154 | column.get_data().push_back(this->data(place).get()); | 134 | 154 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE18insert_result_intoEPKcRNS_7IColumnE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE18insert_result_intoEPKcRNS_7IColumnE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 131 | 757k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 757k | auto& column = assert_cast<ColVecResult&>(to); | 133 | 757k | column.get_data().push_back(this->data(place).get()); | 134 | 757k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 131 | 21 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 21 | auto& column = assert_cast<ColVecResult&>(to); | 133 | 21 | column.get_data().push_back(this->data(place).get()); | 134 | 21 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 131 | 48.9k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 48.9k | auto& column = assert_cast<ColVecResult&>(to); | 133 | 48.9k | column.get_data().push_back(this->data(place).get()); | 134 | 48.9k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 131 | 8 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 8 | auto& column = assert_cast<ColVecResult&>(to); | 133 | 8 | column.get_data().push_back(this->data(place).get()); | 134 | 8 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 131 | 207 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 207 | auto& column = assert_cast<ColVecResult&>(to); | 133 | 207 | column.get_data().push_back(this->data(place).get()); | 134 | 207 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 131 | 1.33k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 1.33k | auto& column = assert_cast<ColVecResult&>(to); | 133 | 1.33k | column.get_data().push_back(this->data(place).get()); | 134 | 1.33k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 131 | 176 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 176 | auto& column = assert_cast<ColVecResult&>(to); | 133 | 176 | column.get_data().push_back(this->data(place).get()); | 134 | 176 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 131 | 5.84k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 5.84k | auto& column = assert_cast<ColVecResult&>(to); | 133 | 5.84k | column.get_data().push_back(this->data(place).get()); | 134 | 5.84k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 131 | 965k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 965k | auto& column = assert_cast<ColVecResult&>(to); | 133 | 965k | column.get_data().push_back(this->data(place).get()); | 134 | 965k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 131 | 5.45k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 5.45k | auto& column = assert_cast<ColVecResult&>(to); | 133 | 5.45k | column.get_data().push_back(this->data(place).get()); | 134 | 5.45k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 131 | 79 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 79 | auto& column = assert_cast<ColVecResult&>(to); | 133 | 79 | column.get_data().push_back(this->data(place).get()); | 134 | 79 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 131 | 12.7k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 12.7k | auto& column = assert_cast<ColVecResult&>(to); | 133 | 12.7k | column.get_data().push_back(this->data(place).get()); | 134 | 12.7k | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE18insert_result_intoEPKcRNS_7IColumnE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 131 | 14 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 14 | auto& column = assert_cast<ColVecResult&>(to); | 133 | 14 | column.get_data().push_back(this->data(place).get()); | 134 | 14 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 131 | 47 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 47 | auto& column = assert_cast<ColVecResult&>(to); | 133 | 47 | column.get_data().push_back(this->data(place).get()); | 134 | 47 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 131 | 409k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 409k | auto& column = assert_cast<ColVecResult&>(to); | 133 | 409k | column.get_data().push_back(this->data(place).get()); | 134 | 409k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 131 | 5.20k | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 132 | 5.20k | auto& column = assert_cast<ColVecResult&>(to); | 133 | 5.20k | column.get_data().push_back(this->data(place).get()); | 134 | 5.20k | } |
|
135 | | |
136 | | void serialize_to_column(const std::vector<AggregateDataPtr>& places, size_t offset, |
137 | 8.13k | MutableColumnPtr& dst, const size_t num_rows) const override { |
138 | 8.13k | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); |
139 | 8.13k | DCHECK(col.item_size() == sizeof(Data)) |
140 | 13 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); |
141 | 8.13k | col.resize(num_rows); |
142 | 8.13k | auto* data = col.get_data().data(); |
143 | 1.20M | for (size_t i = 0; i != num_rows; ++i) { |
144 | 1.19M | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = |
145 | 1.19M | *reinterpret_cast<Data*>(places[i] + offset); |
146 | 1.19M | } |
147 | 8.13k | } 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 | 58 | MutableColumnPtr& dst, const size_t num_rows) const override { | 138 | 58 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 139 | 58 | DCHECK(col.item_size() == sizeof(Data)) | 140 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 141 | 58 | col.resize(num_rows); | 142 | 58 | auto* data = col.get_data().data(); | 143 | 118 | for (size_t i = 0; i != num_rows; ++i) { | 144 | 60 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 145 | 60 | *reinterpret_cast<Data*>(places[i] + offset); | 146 | 60 | } | 147 | 58 | } |
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.21k | MutableColumnPtr& dst, const size_t num_rows) const override { | 138 | 3.21k | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 139 | 18.4E | DCHECK(col.item_size() == sizeof(Data)) | 140 | 18.4E | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 141 | 3.21k | col.resize(num_rows); | 142 | 3.21k | auto* data = col.get_data().data(); | 143 | 74.0k | for (size_t i = 0; i != num_rows; ++i) { | 144 | 70.8k | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 145 | 70.8k | *reinterpret_cast<Data*>(places[i] + offset); | 146 | 70.8k | } | 147 | 3.21k | } |
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 | 949 | MutableColumnPtr& dst, const size_t num_rows) const override { | 138 | 949 | 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 | 949 | col.resize(num_rows); | 142 | 949 | auto* data = col.get_data().data(); | 143 | 11.1k | for (size_t i = 0; i != num_rows; ++i) { | 144 | 10.1k | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 145 | 10.1k | *reinterpret_cast<Data*>(places[i] + offset); | 146 | 10.1k | } | 147 | 949 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 137 | 1 | MutableColumnPtr& dst, const size_t num_rows) const override { | 138 | 1 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 139 | 1 | DCHECK(col.item_size() == sizeof(Data)) | 140 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 141 | 1 | col.resize(num_rows); | 142 | 1 | auto* data = col.get_data().data(); | 143 | 3 | 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 | 1 | } |
_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 | 262 | MutableColumnPtr& dst, const size_t num_rows) const override { | 138 | 262 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 139 | 262 | DCHECK(col.item_size() == sizeof(Data)) | 140 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 141 | 262 | col.resize(num_rows); | 142 | 262 | auto* data = col.get_data().data(); | 143 | 464 | for (size_t i = 0; i != num_rows; ++i) { | 144 | 202 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 145 | 202 | *reinterpret_cast<Data*>(places[i] + offset); | 146 | 202 | } | 147 | 262 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 137 | 50 | MutableColumnPtr& dst, const size_t num_rows) const override { | 138 | 50 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 139 | 50 | DCHECK(col.item_size() == sizeof(Data)) | 140 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 141 | 50 | col.resize(num_rows); | 142 | 50 | auto* data = col.get_data().data(); | 143 | 101 | for (size_t i = 0; i != num_rows; ++i) { | 144 | 51 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 145 | 51 | *reinterpret_cast<Data*>(places[i] + offset); | 146 | 51 | } | 147 | 50 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 137 | 1.20k | MutableColumnPtr& dst, const size_t num_rows) const override { | 138 | 1.20k | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 139 | 1.20k | DCHECK(col.item_size() == sizeof(Data)) | 140 | 2 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 141 | 1.20k | col.resize(num_rows); | 142 | 1.20k | auto* data = col.get_data().data(); | 143 | 1.05M | for (size_t i = 0; i != num_rows; ++i) { | 144 | 1.04M | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 145 | 1.04M | *reinterpret_cast<Data*>(places[i] + offset); | 146 | 1.04M | } | 147 | 1.20k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 137 | 1.82k | MutableColumnPtr& dst, const size_t num_rows) const override { | 138 | 1.82k | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 139 | 1.82k | DCHECK(col.item_size() == sizeof(Data)) | 140 | 8 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 141 | 1.82k | col.resize(num_rows); | 142 | 1.82k | auto* data = col.get_data().data(); | 143 | 63.5k | for (size_t i = 0; i != num_rows; ++i) { | 144 | 61.7k | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 145 | 61.7k | *reinterpret_cast<Data*>(places[i] + offset); | 146 | 61.7k | } | 147 | 1.82k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 137 | 131 | MutableColumnPtr& dst, const size_t num_rows) const override { | 138 | 131 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 139 | 131 | DCHECK(col.item_size() == sizeof(Data)) | 140 | 5 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 141 | 131 | col.resize(num_rows); | 142 | 131 | auto* data = col.get_data().data(); | 143 | 241 | for (size_t i = 0; i != num_rows; ++i) { | 144 | 110 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 145 | 110 | *reinterpret_cast<Data*>(places[i] + offset); | 146 | 110 | } | 147 | 131 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 137 | 8 | MutableColumnPtr& dst, const size_t num_rows) const override { | 138 | 8 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 139 | 8 | DCHECK(col.item_size() == sizeof(Data)) | 140 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 141 | 8 | col.resize(num_rows); | 142 | 8 | auto* data = col.get_data().data(); | 143 | 14 | for (size_t i = 0; i != num_rows; ++i) { | 144 | 6 | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 145 | 6 | *reinterpret_cast<Data*>(places[i] + offset); | 146 | 6 | } | 147 | 8 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE19serialize_to_columnERKSt6vectorIPcSaIS6_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISC_EEm Line | Count | Source | 137 | 397 | MutableColumnPtr& dst, const size_t num_rows) const override { | 138 | 397 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 139 | 397 | DCHECK(col.item_size() == sizeof(Data)) | 140 | 1 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 141 | 397 | col.resize(num_rows); | 142 | 397 | auto* data = col.get_data().data(); | 143 | 6.51k | for (size_t i = 0; i != num_rows; ++i) { | 144 | 6.12k | *reinterpret_cast<Data*>(&data[sizeof(Data) * i]) = | 145 | 6.12k | *reinterpret_cast<Data*>(places[i] + offset); | 146 | 6.12k | } | 147 | 397 | } |
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 | 8 | const size_t num_rows, Arena&) const override { |
151 | 8 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); |
152 | 8 | auto& src = assert_cast<const ColVecType&>(*columns[0]); |
153 | 8 | DCHECK(col.item_size() == sizeof(Data)) |
154 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); |
155 | 8 | col.resize(num_rows); |
156 | 8 | auto* src_data = src.get_data().data(); |
157 | 8 | auto* dst_data = col.get_data().data(); |
158 | 30 | 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 | 8 | } 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 | 4 | const size_t num_rows, Arena&) const override { | 151 | 4 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 152 | 4 | auto& src = assert_cast<const ColVecType&>(*columns[0]); | 153 | 4 | DCHECK(col.item_size() == sizeof(Data)) | 154 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 155 | 4 | col.resize(num_rows); | 156 | 4 | auto* src_data = src.get_data().data(); | 157 | 4 | auto* dst_data = col.get_data().data(); | 158 | 12 | 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 | 4 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Line | Count | Source | 150 | 2 | const size_t num_rows, Arena&) const override { | 151 | 2 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 152 | 2 | auto& src = assert_cast<const ColVecType&>(*columns[0]); | 153 | 2 | DCHECK(col.item_size() == sizeof(Data)) | 154 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 155 | 2 | col.resize(num_rows); | 156 | 2 | auto* src_data = src.get_data().data(); | 157 | 2 | auto* dst_data = col.get_data().data(); | 158 | 4 | for (size_t i = 0; i != num_rows; ++i) { | 159 | 2 | auto& state = *reinterpret_cast<Data*>(&dst_data[sizeof(Data) * i]); | 160 | 2 | state.sum = typename PrimitiveTypeTraits<TResult>::CppType(src_data[i]); | 161 | 2 | } | 162 | 2 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Line | Count | Source | 150 | 2 | const size_t num_rows, Arena&) const override { | 151 | 2 | auto& col = assert_cast<ColumnFixedLengthObject&>(*dst); | 152 | 2 | auto& src = assert_cast<const ColVecType&>(*columns[0]); | 153 | 2 | DCHECK(col.item_size() == sizeof(Data)) | 154 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 155 | 2 | col.resize(num_rows); | 156 | 2 | auto* src_data = src.get_data().data(); | 157 | 2 | auto* dst_data = col.get_data().data(); | 158 | 14 | for (size_t i = 0; i != num_rows; ++i) { | 159 | 12 | auto& state = *reinterpret_cast<Data*>(&dst_data[sizeof(Data) * i]); | 160 | 12 | state.sum = typename PrimitiveTypeTraits<TResult>::CppType(src_data[i]); | 161 | 12 | } | 162 | 2 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS5_E11mutable_ptrIS5_EEmRNS_5ArenaE |
163 | | |
164 | | void deserialize_and_merge_from_column_range(AggregateDataPtr __restrict place, |
165 | | const IColumn& column, size_t begin, size_t end, |
166 | 3.72k | Arena&) const override { |
167 | 3.72k | DCHECK(end <= column.size() && begin <= end) |
168 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); |
169 | 3.72k | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); |
170 | 3.72k | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); |
171 | 7.46k | for (size_t i = begin; i <= end; ++i) { |
172 | 3.73k | this->data(place).sum += data[i].sum; |
173 | 3.73k | } |
174 | 3.72k | } 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 | 44 | Arena&) const override { | 167 | 44 | DCHECK(end <= column.size() && begin <= end) | 168 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 169 | 44 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 170 | 44 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 171 | 88 | for (size_t i = begin; i <= end; ++i) { | 172 | 44 | this->data(place).sum += data[i].sum; | 173 | 44 | } | 174 | 44 | } |
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 | 81 | Arena&) const override { | 167 | 81 | DCHECK(end <= column.size() && begin <= end) | 168 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 169 | 81 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 170 | 81 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 171 | 162 | for (size_t i = begin; i <= end; ++i) { | 172 | 81 | this->data(place).sum += data[i].sum; | 173 | 81 | } | 174 | 81 | } |
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 | 105 | Arena&) const override { | 167 | 105 | DCHECK(end <= column.size() && begin <= end) | 168 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 169 | 105 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 170 | 105 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 171 | 210 | for (size_t i = begin; i <= end; ++i) { | 172 | 105 | this->data(place).sum += data[i].sum; | 173 | 105 | } | 174 | 105 | } |
_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 | 5 | Arena&) const override { | 167 | 5 | DCHECK(end <= column.size() && begin <= end) | 168 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 169 | 5 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 170 | 5 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 171 | 10 | for (size_t i = begin; i <= end; ++i) { | 172 | 5 | this->data(place).sum += data[i].sum; | 173 | 5 | } | 174 | 5 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 166 | 451 | Arena&) const override { | 167 | 451 | DCHECK(end <= column.size() && begin <= end) | 168 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 169 | 451 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 170 | 451 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 171 | 904 | for (size_t i = begin; i <= end; ++i) { | 172 | 453 | this->data(place).sum += data[i].sum; | 173 | 453 | } | 174 | 451 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 166 | 25 | Arena&) const override { | 167 | 25 | DCHECK(end <= column.size() && begin <= end) | 168 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 169 | 25 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 170 | 25 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 171 | 50 | for (size_t i = begin; i <= end; ++i) { | 172 | 25 | this->data(place).sum += data[i].sum; | 173 | 25 | } | 174 | 25 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 166 | 2.51k | Arena&) const override { | 167 | 2.51k | DCHECK(end <= column.size() && begin <= end) | 168 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 169 | 2.51k | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 170 | 2.51k | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 171 | 5.03k | for (size_t i = begin; i <= end; ++i) { | 172 | 2.51k | this->data(place).sum += data[i].sum; | 173 | 2.51k | } | 174 | 2.51k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 166 | 312 | Arena&) const override { | 167 | 312 | DCHECK(end <= column.size() && begin <= end) | 168 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 169 | 312 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 170 | 312 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 171 | 624 | for (size_t i = begin; i <= end; ++i) { | 172 | 312 | this->data(place).sum += data[i].sum; | 173 | 312 | } | 174 | 312 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 166 | 20 | Arena&) const override { | 167 | 20 | DCHECK(end <= column.size() && begin <= end) | 168 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 169 | 20 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 170 | 20 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 171 | 40 | for (size_t i = begin; i <= end; ++i) { | 172 | 20 | this->data(place).sum += data[i].sum; | 173 | 20 | } | 174 | 20 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 166 | 28 | Arena&) const override { | 167 | 28 | DCHECK(end <= column.size() && begin <= end) | 168 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 169 | 28 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 170 | 28 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 171 | 56 | for (size_t i = begin; i <= end; ++i) { | 172 | 28 | this->data(place).sum += data[i].sum; | 173 | 28 | } | 174 | 28 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Line | Count | Source | 166 | 141 | Arena&) const override { | 167 | 141 | DCHECK(end <= column.size() && begin <= end) | 168 | 0 | << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size(); | 169 | 141 | auto& col = assert_cast<const ColumnFixedLengthObject&>(column); | 170 | 141 | auto* data = reinterpret_cast<const Data*>(col.get_data().data()); | 171 | 282 | for (size_t i = begin; i <= end; ++i) { | 172 | 141 | this->data(place).sum += data[i].sum; | 173 | 141 | } | 174 | 141 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE |
175 | | |
176 | | void deserialize_and_merge_vec(const AggregateDataPtr* places, size_t offset, |
177 | | AggregateDataPtr rhs, const IColumn* column, Arena& arena, |
178 | 5.00k | const size_t num_rows) const override { |
179 | 5.00k | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); |
180 | 5.00k | const auto* data = col.get_data().data(); |
181 | 5.00k | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); |
182 | 5.00k | } 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 | 54 | const size_t num_rows) const override { | 179 | 54 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 180 | 54 | const auto* data = col.get_data().data(); | 181 | 54 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 182 | 54 | } |
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.52k | const size_t num_rows) const override { | 179 | 1.52k | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 180 | 1.52k | const auto* data = col.get_data().data(); | 181 | 1.52k | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 182 | 1.52k | } |
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 | 445 | const size_t num_rows) const override { | 179 | 445 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 180 | 445 | const auto* data = col.get_data().data(); | 181 | 445 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 182 | 445 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 178 | 1 | const size_t num_rows) const override { | 179 | 1 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 180 | 1 | const auto* data = col.get_data().data(); | 181 | 1 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 182 | 1 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 178 | 8 | const size_t num_rows) const override { | 179 | 8 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 180 | 8 | const auto* data = col.get_data().data(); | 181 | 8 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 182 | 8 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 178 | 136 | const size_t num_rows) const override { | 179 | 136 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 180 | 136 | const auto* data = col.get_data().data(); | 181 | 136 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 182 | 136 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 178 | 45 | const size_t num_rows) const override { | 179 | 45 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 180 | 45 | const auto* data = col.get_data().data(); | 181 | 45 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 182 | 45 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 178 | 724 | const size_t num_rows) const override { | 179 | 724 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 180 | 724 | const auto* data = col.get_data().data(); | 181 | 724 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 182 | 724 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 178 | 1.75k | const size_t num_rows) const override { | 179 | 1.75k | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 180 | 1.75k | const auto* data = col.get_data().data(); | 181 | 1.75k | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 182 | 1.75k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 178 | 97 | const size_t num_rows) const override { | 179 | 97 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 180 | 97 | const auto* data = col.get_data().data(); | 181 | 97 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 182 | 97 | } |
_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 | 209 | const size_t num_rows) const override { | 179 | 209 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 180 | 209 | const auto* data = col.get_data().data(); | 181 | 209 | this->merge_vec(places, offset, AggregateDataPtr(data), arena, num_rows); | 182 | 209 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE25deserialize_and_merge_vecEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm |
183 | | |
184 | | void deserialize_and_merge_vec_selected(const AggregateDataPtr* places, size_t offset, |
185 | | AggregateDataPtr rhs, const IColumn* column, |
186 | 1 | Arena& arena, const size_t num_rows) const override { |
187 | 1 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); |
188 | 1 | const auto* data = col.get_data().data(); |
189 | 1 | this->merge_vec_selected(places, offset, AggregateDataPtr(data), arena, num_rows); |
190 | 1 | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Line | Count | Source | 186 | 1 | Arena& arena, const size_t num_rows) const override { | 187 | 1 | const auto& col = assert_cast<const ColumnFixedLengthObject&>(*column); | 188 | 1 | const auto* data = col.get_data().data(); | 189 | 1 | this->merge_vec_selected(places, offset, AggregateDataPtr(data), arena, num_rows); | 190 | 1 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE34deserialize_and_merge_vec_selectedEPKPcmS5_PKNS_7IColumnERNS_5ArenaEm |
191 | | |
192 | | void serialize_without_key_to_column(ConstAggregateDataPtr __restrict place, |
193 | 3.70k | IColumn& to) const override { |
194 | 3.70k | auto& col = assert_cast<ColumnFixedLengthObject&>(to); |
195 | 3.70k | DCHECK(col.item_size() == sizeof(Data)) |
196 | 1 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); |
197 | 3.70k | size_t old_size = col.size(); |
198 | 3.70k | col.resize(old_size + 1); |
199 | 3.70k | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; |
200 | 3.70k | } 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 | 44 | IColumn& to) const override { | 194 | 44 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 195 | 44 | DCHECK(col.item_size() == sizeof(Data)) | 196 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 197 | 44 | size_t old_size = col.size(); | 198 | 44 | col.resize(old_size + 1); | 199 | 44 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 200 | 44 | } |
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 | 76 | IColumn& to) const override { | 194 | 76 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 195 | 76 | DCHECK(col.item_size() == sizeof(Data)) | 196 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 197 | 76 | size_t old_size = col.size(); | 198 | 76 | col.resize(old_size + 1); | 199 | 76 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 200 | 76 | } |
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 | 105 | IColumn& to) const override { | 194 | 105 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 195 | 105 | DCHECK(col.item_size() == sizeof(Data)) | 196 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 197 | 105 | size_t old_size = col.size(); | 198 | 105 | col.resize(old_size + 1); | 199 | 105 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 200 | 105 | } |
_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 | 5 | IColumn& to) const override { | 194 | 5 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 195 | 5 | DCHECK(col.item_size() == sizeof(Data)) | 196 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 197 | 5 | size_t old_size = col.size(); | 198 | 5 | col.resize(old_size + 1); | 199 | 5 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 200 | 5 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 193 | 446 | IColumn& to) const override { | 194 | 446 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 195 | 446 | DCHECK(col.item_size() == sizeof(Data)) | 196 | 2 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 197 | 446 | size_t old_size = col.size(); | 198 | 446 | col.resize(old_size + 1); | 199 | 446 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 200 | 446 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 193 | 24 | IColumn& to) const override { | 194 | 24 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 195 | 24 | DCHECK(col.item_size() == sizeof(Data)) | 196 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 197 | 24 | size_t old_size = col.size(); | 198 | 24 | col.resize(old_size + 1); | 199 | 24 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 200 | 24 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 193 | 2.50k | IColumn& to) const override { | 194 | 2.50k | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 195 | 2.50k | DCHECK(col.item_size() == sizeof(Data)) | 196 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 197 | 2.50k | size_t old_size = col.size(); | 198 | 2.50k | col.resize(old_size + 1); | 199 | 2.50k | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 200 | 2.50k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 193 | 312 | IColumn& to) const override { | 194 | 312 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 195 | 18.4E | DCHECK(col.item_size() == sizeof(Data)) | 196 | 18.4E | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 197 | 312 | size_t old_size = col.size(); | 198 | 312 | col.resize(old_size + 1); | 199 | 312 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 200 | 312 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 193 | 20 | IColumn& to) const override { | 194 | 20 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 195 | 20 | DCHECK(col.item_size() == sizeof(Data)) | 196 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 197 | 20 | size_t old_size = col.size(); | 198 | 20 | col.resize(old_size + 1); | 199 | 20 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 200 | 20 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 193 | 28 | IColumn& to) const override { | 194 | 28 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 195 | 28 | DCHECK(col.item_size() == sizeof(Data)) | 196 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 197 | 28 | size_t old_size = col.size(); | 198 | 28 | col.resize(old_size + 1); | 199 | 28 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 200 | 28 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE Line | Count | Source | 193 | 141 | IColumn& to) const override { | 194 | 141 | auto& col = assert_cast<ColumnFixedLengthObject&>(to); | 195 | 141 | DCHECK(col.item_size() == sizeof(Data)) | 196 | 0 | << "size is not equal: " << col.item_size() << " " << sizeof(Data); | 197 | 141 | size_t old_size = col.size(); | 198 | 141 | col.resize(old_size + 1); | 199 | 141 | (reinterpret_cast<Data*>(col.get_data().data()) + old_size)->sum = this->data(place).sum; | 200 | 141 | } |
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 | 11.8k | MutableColumnPtr create_serialize_column() const override { |
203 | 11.8k | return ColumnFixedLengthObject::create(sizeof(Data)); |
204 | 11.8k | } 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 | 100 | MutableColumnPtr create_serialize_column() const override { | 203 | 100 | return ColumnFixedLengthObject::create(sizeof(Data)); | 204 | 100 | } |
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.34k | MutableColumnPtr create_serialize_column() const override { | 203 | 3.34k | return ColumnFixedLengthObject::create(sizeof(Data)); | 204 | 3.34k | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE23create_serialize_columnEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE23create_serialize_columnEv Line | Count | Source | 202 | 1.04k | MutableColumnPtr create_serialize_column() const override { | 203 | 1.04k | return ColumnFixedLengthObject::create(sizeof(Data)); | 204 | 1.04k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE23create_serialize_columnEv Line | Count | Source | 202 | 3 | MutableColumnPtr create_serialize_column() const override { | 203 | 3 | return ColumnFixedLengthObject::create(sizeof(Data)); | 204 | 3 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE23create_serialize_columnEv Line | Count | Source | 202 | 29 | MutableColumnPtr create_serialize_column() const override { | 203 | 29 | return ColumnFixedLengthObject::create(sizeof(Data)); | 204 | 29 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE23create_serialize_columnEv Line | Count | Source | 202 | 711 | MutableColumnPtr create_serialize_column() const override { | 203 | 711 | return ColumnFixedLengthObject::create(sizeof(Data)); | 204 | 711 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE23create_serialize_columnEv Line | Count | Source | 202 | 75 | MutableColumnPtr create_serialize_column() const override { | 203 | 75 | return ColumnFixedLengthObject::create(sizeof(Data)); | 204 | 75 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE23create_serialize_columnEv Line | Count | Source | 202 | 3.67k | MutableColumnPtr create_serialize_column() const override { | 203 | 3.67k | return ColumnFixedLengthObject::create(sizeof(Data)); | 204 | 3.67k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE23create_serialize_columnEv Line | Count | Source | 202 | 2.13k | MutableColumnPtr create_serialize_column() const override { | 203 | 2.13k | return ColumnFixedLengthObject::create(sizeof(Data)); | 204 | 2.13k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE23create_serialize_columnEv Line | Count | Source | 202 | 147 | MutableColumnPtr create_serialize_column() const override { | 203 | 147 | return ColumnFixedLengthObject::create(sizeof(Data)); | 204 | 147 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE23create_serialize_columnEv Line | Count | Source | 202 | 36 | MutableColumnPtr create_serialize_column() const override { | 203 | 36 | return ColumnFixedLengthObject::create(sizeof(Data)); | 204 | 36 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE23create_serialize_columnEv Line | Count | Source | 202 | 533 | MutableColumnPtr create_serialize_column() const override { | 203 | 533 | return ColumnFixedLengthObject::create(sizeof(Data)); | 204 | 533 | } |
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 | 11.8k | DataTypePtr get_serialized_type() const override { |
207 | 11.8k | return std::make_shared<DataTypeFixedLengthObject>(); |
208 | 11.8k | } 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 | 101 | DataTypePtr get_serialized_type() const override { | 207 | 101 | return std::make_shared<DataTypeFixedLengthObject>(); | 208 | 101 | } |
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.33k | DataTypePtr get_serialized_type() const override { | 207 | 3.33k | return std::make_shared<DataTypeFixedLengthObject>(); | 208 | 3.33k | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19get_serialized_typeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE19get_serialized_typeEv Line | Count | Source | 206 | 1.05k | DataTypePtr get_serialized_type() const override { | 207 | 1.05k | return std::make_shared<DataTypeFixedLengthObject>(); | 208 | 1.05k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19get_serialized_typeEv Line | Count | Source | 206 | 3 | DataTypePtr get_serialized_type() const override { | 207 | 3 | return std::make_shared<DataTypeFixedLengthObject>(); | 208 | 3 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE19get_serialized_typeEv Line | Count | Source | 206 | 29 | DataTypePtr get_serialized_type() const override { | 207 | 29 | return std::make_shared<DataTypeFixedLengthObject>(); | 208 | 29 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19get_serialized_typeEv Line | Count | Source | 206 | 715 | DataTypePtr get_serialized_type() const override { | 207 | 715 | return std::make_shared<DataTypeFixedLengthObject>(); | 208 | 715 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19get_serialized_typeEv Line | Count | Source | 206 | 76 | DataTypePtr get_serialized_type() const override { | 207 | 76 | return std::make_shared<DataTypeFixedLengthObject>(); | 208 | 76 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19get_serialized_typeEv Line | Count | Source | 206 | 3.68k | DataTypePtr get_serialized_type() const override { | 207 | 3.68k | return std::make_shared<DataTypeFixedLengthObject>(); | 208 | 3.68k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE19get_serialized_typeEv Line | Count | Source | 206 | 2.13k | DataTypePtr get_serialized_type() const override { | 207 | 2.13k | return std::make_shared<DataTypeFixedLengthObject>(); | 208 | 2.13k | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE19get_serialized_typeEv Line | Count | Source | 206 | 148 | DataTypePtr get_serialized_type() const override { | 207 | 148 | return std::make_shared<DataTypeFixedLengthObject>(); | 208 | 148 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE19get_serialized_typeEv Line | Count | Source | 206 | 36 | DataTypePtr get_serialized_type() const override { | 207 | 36 | return std::make_shared<DataTypeFixedLengthObject>(); | 208 | 36 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE19get_serialized_typeEv Line | Count | Source | 206 | 536 | DataTypePtr get_serialized_type() const override { | 207 | 536 | return std::make_shared<DataTypeFixedLengthObject>(); | 208 | 536 | } |
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 | 2.24k | bool supported_incremental_mode() const override { return true; }Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE26supported_incremental_modeEv Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE26supported_incremental_modeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE26supported_incremental_modeEv Line | Count | Source | 210 | 18 | 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 | 20 | 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 | 22 | 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 | 710 | bool supported_incremental_mode() const override { return true; } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE26supported_incremental_modeEv _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE26supported_incremental_modeEv Line | Count | Source | 210 | 768 | bool supported_incremental_mode() const override { return true; } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE26supported_incremental_modeEv Line | Count | Source | 210 | 471 | 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 | 232 | 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 | 729 | UInt8* could_use_previous_result) const override { |
217 | 729 | int64_t current_frame_start = std::max<int64_t>(frame_start, partition_start); |
218 | 729 | int64_t current_frame_end = std::min<int64_t>(frame_end, partition_end); |
219 | | |
220 | 729 | if (current_frame_start >= current_frame_end) { |
221 | 16 | *use_null_result = true; |
222 | 16 | return; |
223 | 16 | } |
224 | 713 | if (*could_use_previous_result) { |
225 | 656 | const auto& column = |
226 | 656 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); |
227 | 656 | const auto* data = column.get_data().data(); |
228 | 656 | auto outcoming_pos = frame_start - 1; |
229 | 656 | auto incoming_pos = frame_end - 1; |
230 | 656 | if (!previous_is_nul && outcoming_pos >= partition_start && |
231 | 656 | outcoming_pos < partition_end) { |
232 | 490 | this->data(place).add( |
233 | 490 | typename PrimitiveTypeTraits<TResult>::CppType(-data[outcoming_pos])); |
234 | 490 | } |
235 | 656 | if (!end_is_nul && incoming_pos >= partition_start && incoming_pos < partition_end) { |
236 | 513 | this->data(place).add( |
237 | 513 | typename PrimitiveTypeTraits<TResult>::CppType(data[incoming_pos])); |
238 | 513 | } |
239 | 656 | } else { |
240 | 57 | this->add_range_single_place(partition_start, partition_end, frame_start, frame_end, |
241 | 57 | place, columns, arena, use_null_result, |
242 | 57 | could_use_previous_result); |
243 | 57 | } |
244 | 713 | } 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 | 169 | UInt8* could_use_previous_result) const override { | 217 | 169 | int64_t current_frame_start = std::max<int64_t>(frame_start, partition_start); | 218 | 169 | int64_t current_frame_end = std::min<int64_t>(frame_end, partition_end); | 219 | | | 220 | 169 | if (current_frame_start >= current_frame_end) { | 221 | 0 | *use_null_result = true; | 222 | 0 | return; | 223 | 0 | } | 224 | 169 | if (*could_use_previous_result) { | 225 | 150 | const auto& column = | 226 | 150 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 227 | 150 | const auto* data = column.get_data().data(); | 228 | 150 | auto outcoming_pos = frame_start - 1; | 229 | 150 | auto incoming_pos = frame_end - 1; | 230 | 150 | if (!previous_is_nul && outcoming_pos >= partition_start && | 231 | 150 | outcoming_pos < partition_end) { | 232 | 110 | this->data(place).add( | 233 | 110 | typename PrimitiveTypeTraits<TResult>::CppType(-data[outcoming_pos])); | 234 | 110 | } | 235 | 150 | if (!end_is_nul && incoming_pos >= partition_start && incoming_pos < partition_end) { | 236 | 124 | this->data(place).add( | 237 | 124 | typename PrimitiveTypeTraits<TResult>::CppType(data[incoming_pos])); | 238 | 124 | } | 239 | 150 | } else { | 240 | 19 | this->add_range_single_place(partition_start, partition_end, frame_start, frame_end, | 241 | 19 | place, columns, arena, use_null_result, | 242 | 19 | could_use_previous_result); | 243 | 19 | } | 244 | 169 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE7ELS1_7ENS_24AggregateFunctionSumDataILS1_7EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE9ELS1_9ENS_24AggregateFunctionSumDataILS1_9EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Line | Count | Source | 216 | 124 | UInt8* could_use_previous_result) const override { | 217 | 124 | int64_t current_frame_start = std::max<int64_t>(frame_start, partition_start); | 218 | 124 | int64_t current_frame_end = std::min<int64_t>(frame_end, partition_end); | 219 | | | 220 | 124 | if (current_frame_start >= current_frame_end) { | 221 | 0 | *use_null_result = true; | 222 | 0 | return; | 223 | 0 | } | 224 | 124 | if (*could_use_previous_result) { | 225 | 124 | const auto& column = | 226 | 124 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 227 | 124 | const auto* data = column.get_data().data(); | 228 | 124 | auto outcoming_pos = frame_start - 1; | 229 | 124 | auto incoming_pos = frame_end - 1; | 230 | 124 | if (!previous_is_nul && outcoming_pos >= partition_start && | 231 | 124 | outcoming_pos < partition_end) { | 232 | 104 | this->data(place).add( | 233 | 104 | typename PrimitiveTypeTraits<TResult>::CppType(-data[outcoming_pos])); | 234 | 104 | } | 235 | 124 | if (!end_is_nul && incoming_pos >= partition_start && incoming_pos < partition_end) { | 236 | 104 | this->data(place).add( | 237 | 104 | typename PrimitiveTypeTraits<TResult>::CppType(data[incoming_pos])); | 238 | 104 | } | 239 | 124 | } else { | 240 | 0 | this->add_range_single_place(partition_start, partition_end, frame_start, frame_end, | 241 | 0 | place, columns, arena, use_null_result, | 242 | 0 | could_use_previous_result); | 243 | 0 | } | 244 | 124 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE20ELS1_20ENS_24AggregateFunctionSumDataILS1_20EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_3ENS_24AggregateFunctionSumDataILS1_3EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_4ENS_24AggregateFunctionSumDataILS1_4EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_5ENS_24AggregateFunctionSumDataILS1_5EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE8ELS1_8ENS_24AggregateFunctionSumDataILS1_8EEEE33execute_function_with_incrementalEllllPcPPKNS_7IColumnERNS_5ArenaEbbbPhSC_ |
245 | | |
246 | | void add_range_single_place(int64_t partition_start, int64_t partition_end, int64_t frame_start, |
247 | | int64_t frame_end, AggregateDataPtr place, const IColumn** columns, |
248 | | Arena& arena, UInt8* use_null_result, |
249 | 2.35k | UInt8* could_use_previous_result) const override { |
250 | 2.35k | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); |
251 | 2.35k | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); |
252 | | |
253 | 2.35k | if (current_frame_start >= current_frame_end) { |
254 | 151 | if (!*could_use_previous_result) { |
255 | 9 | *use_null_result = true; |
256 | 9 | } |
257 | 2.20k | } else { |
258 | 2.20k | const auto& column = |
259 | 2.20k | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); |
260 | 5.18k | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { |
261 | 2.98k | this->data(place).add( |
262 | 2.98k | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); |
263 | 2.98k | } |
264 | 2.20k | *use_null_result = false; |
265 | 2.20k | *could_use_previous_result = true; |
266 | 2.20k | } |
267 | 2.35k | } Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_28ENS_24AggregateFunctionSumDataILS1_28EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 249 | 6 | UInt8* could_use_previous_result) const override { | 250 | 6 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 251 | 6 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 252 | | | 253 | 6 | if (current_frame_start >= current_frame_end) { | 254 | 0 | if (!*could_use_previous_result) { | 255 | 0 | *use_null_result = true; | 256 | 0 | } | 257 | 6 | } else { | 258 | 6 | const auto& column = | 259 | 6 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 260 | 12 | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 261 | 6 | this->data(place).add( | 262 | 6 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 263 | 6 | } | 264 | 6 | *use_null_result = false; | 265 | 6 | *could_use_previous_result = true; | 266 | 6 | } | 267 | 6 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE28ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_29ENS_24AggregateFunctionSumDataILS1_29EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 249 | 23 | UInt8* could_use_previous_result) const override { | 250 | 23 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 251 | 23 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 252 | | | 253 | 23 | if (current_frame_start >= current_frame_end) { | 254 | 0 | if (!*could_use_previous_result) { | 255 | 0 | *use_null_result = true; | 256 | 0 | } | 257 | 23 | } else { | 258 | 23 | const auto& column = | 259 | 23 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 260 | 53 | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 261 | 30 | this->data(place).add( | 262 | 30 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 263 | 30 | } | 264 | 23 | *use_null_result = false; | 265 | 23 | *could_use_previous_result = true; | 266 | 23 | } | 267 | 23 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE29ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_30ENS_24AggregateFunctionSumDataILS1_30EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 249 | 9 | UInt8* could_use_previous_result) const override { | 250 | 9 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 251 | 9 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 252 | | | 253 | 9 | if (current_frame_start >= current_frame_end) { | 254 | 0 | if (!*could_use_previous_result) { | 255 | 0 | *use_null_result = true; | 256 | 0 | } | 257 | 9 | } else { | 258 | 9 | const auto& column = | 259 | 9 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 260 | 18 | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 261 | 9 | this->data(place).add( | 262 | 9 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 263 | 9 | } | 264 | 9 | *use_null_result = false; | 265 | 9 | *could_use_previous_result = true; | 266 | 9 | } | 267 | 9 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE30ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 249 | 1 | UInt8* could_use_previous_result) const override { | 250 | 1 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 251 | 1 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 252 | | | 253 | 1 | if (current_frame_start >= current_frame_end) { | 254 | 0 | if (!*could_use_previous_result) { | 255 | 0 | *use_null_result = true; | 256 | 0 | } | 257 | 1 | } else { | 258 | 1 | const auto& column = | 259 | 1 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 260 | 2 | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 261 | 1 | this->data(place).add( | 262 | 1 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 263 | 1 | } | 264 | 1 | *use_null_result = false; | 265 | 1 | *could_use_previous_result = true; | 266 | 1 | } | 267 | 1 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE35ELS1_35ENS_24AggregateFunctionSumDataILS1_35EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 249 | 1 | UInt8* could_use_previous_result) const override { | 250 | 1 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 251 | 1 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 252 | | | 253 | 1 | if (current_frame_start >= current_frame_end) { | 254 | 0 | if (!*could_use_previous_result) { | 255 | 0 | *use_null_result = true; | 256 | 0 | } | 257 | 1 | } else { | 258 | 1 | const auto& column = | 259 | 1 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 260 | 2 | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 261 | 1 | this->data(place).add( | 262 | 1 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 263 | 1 | } | 264 | 1 | *use_null_result = false; | 265 | 1 | *could_use_previous_result = true; | 266 | 1 | } | 267 | 1 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE3ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 249 | 362 | UInt8* could_use_previous_result) const override { | 250 | 362 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 251 | 362 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 252 | | | 253 | 362 | if (current_frame_start >= current_frame_end) { | 254 | 36 | if (!*could_use_previous_result) { | 255 | 8 | *use_null_result = true; | 256 | 8 | } | 257 | 326 | } else { | 258 | 326 | const auto& column = | 259 | 326 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 260 | 774 | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 261 | 448 | this->data(place).add( | 262 | 448 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 263 | 448 | } | 264 | 326 | *use_null_result = false; | 265 | 326 | *could_use_previous_result = true; | 266 | 326 | } | 267 | 362 | } |
Unexecuted instantiation: _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE4ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ _ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE5ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 249 | 820 | UInt8* could_use_previous_result) const override { | 250 | 820 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 251 | 820 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 252 | | | 253 | 820 | if (current_frame_start >= current_frame_end) { | 254 | 90 | if (!*could_use_previous_result) { | 255 | 0 | *use_null_result = true; | 256 | 0 | } | 257 | 730 | } else { | 258 | 730 | const auto& column = | 259 | 730 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 260 | 1.85k | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 261 | 1.12k | this->data(place).add( | 262 | 1.12k | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 263 | 1.12k | } | 264 | 730 | *use_null_result = false; | 265 | 730 | *could_use_previous_result = true; | 266 | 730 | } | 267 | 820 | } |
_ZNK5doris20AggregateFunctionSumILNS_13PrimitiveTypeE6ELS1_6ENS_24AggregateFunctionSumDataILS1_6EEEE22add_range_single_placeEllllPcPPKNS_7IColumnERNS_5ArenaEPhSC_ Line | Count | Source | 249 | 564 | UInt8* could_use_previous_result) const override { | 250 | 564 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 251 | 564 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 252 | | | 253 | 564 | if (current_frame_start >= current_frame_end) { | 254 | 25 | if (!*could_use_previous_result) { | 255 | 1 | *use_null_result = true; | 256 | 1 | } | 257 | 539 | } else { | 258 | 539 | const auto& column = | 259 | 539 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 260 | 1.31k | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 261 | 774 | this->data(place).add( | 262 | 774 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 263 | 774 | } | 264 | 539 | *use_null_result = false; | 265 | 539 | *could_use_previous_result = true; | 266 | 539 | } | 267 | 564 | } |
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 | 570 | UInt8* could_use_previous_result) const override { | 250 | 570 | auto current_frame_start = std::max<int64_t>(frame_start, partition_start); | 251 | 570 | auto current_frame_end = std::min<int64_t>(frame_end, partition_end); | 252 | | | 253 | 570 | if (current_frame_start >= current_frame_end) { | 254 | 0 | if (!*could_use_previous_result) { | 255 | 0 | *use_null_result = true; | 256 | 0 | } | 257 | 570 | } else { | 258 | 570 | const auto& column = | 259 | 570 | assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]); | 260 | 1.16k | for (size_t row_num = current_frame_start; row_num < current_frame_end; ++row_num) { | 261 | 590 | this->data(place).add( | 262 | 590 | typename PrimitiveTypeTraits<TResult>::CppType(column.get_data()[row_num])); | 263 | 590 | } | 264 | 570 | *use_null_result = false; | 265 | 570 | *could_use_previous_result = true; | 266 | 570 | } | 267 | 570 | } |
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" |