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