be/src/exprs/aggregate/aggregate_function_histogram.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 | | |
18 | | #pragma once |
19 | | |
20 | | #include <map> |
21 | | #include <memory> |
22 | | #include <string> |
23 | | #include <utility> |
24 | | #include <vector> |
25 | | |
26 | | #include "common/exception.h" |
27 | | #include "common/status.h" |
28 | | #include "core/assert_cast.h" |
29 | | #include "core/column/column.h" |
30 | | #include "core/column/column_decimal.h" |
31 | | #include "core/column/column_string.h" |
32 | | #include "core/data_type/data_type_string.h" |
33 | | #include "core/string_ref.h" |
34 | | #include "core/types.h" |
35 | | #include "exec/common/histogram_helpers.hpp" |
36 | | #include "exprs/aggregate/aggregate_function.h" |
37 | | #include "exprs/aggregate/aggregate_function_simple_factory.h" |
38 | | #include "util/io_helper.h" |
39 | | |
40 | | namespace doris {} // namespace doris |
41 | | |
42 | | namespace doris { |
43 | | |
44 | | template <PrimitiveType T> |
45 | | struct AggregateFunctionHistogramData { |
46 | | static constexpr auto Ptype = T; |
47 | | using ColVecType = typename PrimitiveTypeTraits<T>::ColumnType; |
48 | | const static size_t DEFAULT_BUCKET_NUM = 128; |
49 | | const static size_t BUCKET_NUM_INIT_VALUE = 0; |
50 | | |
51 | 6.09k | void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; }_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EE14set_parametersEm Line | Count | Source | 51 | 15 | void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EE14set_parametersEm Line | Count | Source | 51 | 347 | void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EE14set_parametersEm Line | Count | Source | 51 | 358 | void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EE14set_parametersEm Line | Count | Source | 51 | 463 | void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EE14set_parametersEm Line | Count | Source | 51 | 361 | void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EE14set_parametersEm Line | Count | Source | 51 | 347 | void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EE14set_parametersEm Line | Count | Source | 51 | 332 | void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EE14set_parametersEm Line | Count | Source | 51 | 332 | void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EE14set_parametersEm Line | Count | Source | 51 | 171 | void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; } |
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EE14set_parametersEm Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EE14set_parametersEm Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EE14set_parametersEm _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EE14set_parametersEm Line | Count | Source | 51 | 2.40k | void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EE14set_parametersEm Line | Count | Source | 51 | 479 | void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EE14set_parametersEm Line | Count | Source | 51 | 479 | void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; } |
|
52 | | |
53 | 29 | void reset() { ordered_map.clear(); }Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EE5resetEv Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EE5resetEv Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EE5resetEv _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EE5resetEv Line | Count | Source | 53 | 26 | void reset() { ordered_map.clear(); } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EE5resetEv Line | Count | Source | 53 | 3 | void reset() { ordered_map.clear(); } |
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EE5resetEv Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EE5resetEv Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EE5resetEv Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EE5resetEv Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EE5resetEv Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EE5resetEv Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EE5resetEv Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EE5resetEv Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EE5resetEv Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EE5resetEv |
54 | | |
55 | 2.40k | void add(const StringRef& value, const UInt64& number = 1) { |
56 | 2.40k | std::string data = value.to_string(); |
57 | 2.40k | auto it = ordered_map.find(data); |
58 | 2.40k | if (it != ordered_map.end()) { |
59 | 125 | it->second = it->second + number; |
60 | 2.28k | } else { |
61 | 2.28k | ordered_map.insert({data, number}); |
62 | 2.28k | } |
63 | 2.40k | } |
64 | | |
65 | 3.68k | void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) { |
66 | 3.68k | auto it = ordered_map.find(value); |
67 | 3.68k | if (it != ordered_map.end()) { |
68 | 106 | it->second = it->second + number; |
69 | 3.58k | } else { |
70 | 3.58k | ordered_map.insert({value, number}); |
71 | 3.58k | } |
72 | 3.68k | } _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EE3addERKhRKm Line | Count | Source | 65 | 15 | void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) { | 66 | 15 | auto it = ordered_map.find(value); | 67 | 15 | if (it != ordered_map.end()) { | 68 | 9 | it->second = it->second + number; | 69 | 9 | } else { | 70 | 6 | ordered_map.insert({value, number}); | 71 | 6 | } | 72 | 15 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EE3addERKaRKm Line | Count | Source | 65 | 347 | void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) { | 66 | 347 | auto it = ordered_map.find(value); | 67 | 347 | if (it != ordered_map.end()) { | 68 | 7 | it->second = it->second + number; | 69 | 340 | } else { | 70 | 340 | ordered_map.insert({value, number}); | 71 | 340 | } | 72 | 347 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EE3addERKsRKm Line | Count | Source | 65 | 359 | void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) { | 66 | 359 | auto it = ordered_map.find(value); | 67 | 359 | if (it != ordered_map.end()) { | 68 | 6 | it->second = it->second + number; | 69 | 353 | } else { | 70 | 353 | ordered_map.insert({value, number}); | 71 | 353 | } | 72 | 359 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EE3addERKiRKm Line | Count | Source | 65 | 463 | void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) { | 66 | 463 | auto it = ordered_map.find(value); | 67 | 463 | if (it != ordered_map.end()) { | 68 | 18 | it->second = it->second + number; | 69 | 445 | } else { | 70 | 445 | ordered_map.insert({value, number}); | 71 | 445 | } | 72 | 463 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EE3addERKlRKm Line | Count | Source | 65 | 362 | void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) { | 66 | 362 | auto it = ordered_map.find(value); | 67 | 362 | if (it != ordered_map.end()) { | 68 | 8 | it->second = it->second + number; | 69 | 354 | } else { | 70 | 354 | ordered_map.insert({value, number}); | 71 | 354 | } | 72 | 362 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EE3addERKnRKm Line | Count | Source | 65 | 347 | void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) { | 66 | 347 | auto it = ordered_map.find(value); | 67 | 347 | if (it != ordered_map.end()) { | 68 | 4 | it->second = it->second + number; | 69 | 343 | } else { | 70 | 343 | ordered_map.insert({value, number}); | 71 | 343 | } | 72 | 347 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EE3addERKfRKm Line | Count | Source | 65 | 332 | void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) { | 66 | 332 | auto it = ordered_map.find(value); | 67 | 332 | if (it != ordered_map.end()) { | 68 | 4 | it->second = it->second + number; | 69 | 328 | } else { | 70 | 328 | ordered_map.insert({value, number}); | 71 | 328 | } | 72 | 332 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EE3addERKdRKm Line | Count | Source | 65 | 332 | void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) { | 66 | 332 | auto it = ordered_map.find(value); | 67 | 332 | if (it != ordered_map.end()) { | 68 | 4 | it->second = it->second + number; | 69 | 328 | } else { | 70 | 328 | ordered_map.insert({value, number}); | 71 | 328 | } | 72 | 332 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EE3addERKNS_7DecimalIiEERKm Line | Count | Source | 65 | 171 | void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) { | 66 | 171 | auto it = ordered_map.find(value); | 67 | 171 | if (it != ordered_map.end()) { | 68 | 8 | it->second = it->second + number; | 69 | 163 | } else { | 70 | 163 | ordered_map.insert({value, number}); | 71 | 163 | } | 72 | 171 | } |
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EE3addERKNS_7DecimalIlEERKm Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EE3addERKNS_12Decimal128V3ERKm Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EE3addERKNS_7DecimalIN4wide7integerILm256EiEEEERKm _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EE3addERKNS_11DateV2ValueINS_15DateV2ValueTypeEEERKm Line | Count | Source | 65 | 479 | void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) { | 66 | 479 | auto it = ordered_map.find(value); | 67 | 479 | if (it != ordered_map.end()) { | 68 | 18 | it->second = it->second + number; | 69 | 461 | } else { | 70 | 461 | ordered_map.insert({value, number}); | 71 | 461 | } | 72 | 479 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EE3addERKNS_11DateV2ValueINS_19DateTimeV2ValueTypeEEERKm Line | Count | Source | 65 | 479 | void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) { | 66 | 479 | auto it = ordered_map.find(value); | 67 | 479 | if (it != ordered_map.end()) { | 68 | 20 | it->second = it->second + number; | 69 | 459 | } else { | 70 | 459 | ordered_map.insert({value, number}); | 71 | 459 | } | 72 | 479 | } |
|
73 | | |
74 | 1.26k | void merge(const AggregateFunctionHistogramData& rhs) { |
75 | | // if rhs.max_num_buckets == 0, it means the input block for serialization is all null |
76 | | // we should discard this data, because histogram only fouce on the not-null data |
77 | 1.26k | if (!rhs.max_num_buckets) { |
78 | 87 | return; |
79 | 87 | } |
80 | | |
81 | 1.17k | max_num_buckets = rhs.max_num_buckets; |
82 | | |
83 | 4.02k | for (auto rhs_it : rhs.ordered_map) { |
84 | 4.02k | auto lhs_it = ordered_map.find(rhs_it.first); |
85 | 4.02k | if (lhs_it != ordered_map.end()) { |
86 | 2.06k | lhs_it->second += rhs_it.second; |
87 | 2.06k | } else { |
88 | 1.96k | ordered_map.insert({rhs_it.first, rhs_it.second}); |
89 | 1.96k | } |
90 | 4.02k | } |
91 | 1.17k | } _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EE5mergeERKS2_ Line | Count | Source | 74 | 6 | void merge(const AggregateFunctionHistogramData& rhs) { | 75 | | // if rhs.max_num_buckets == 0, it means the input block for serialization is all null | 76 | | // we should discard this data, because histogram only fouce on the not-null data | 77 | 6 | if (!rhs.max_num_buckets) { | 78 | 2 | return; | 79 | 2 | } | 80 | | | 81 | 4 | max_num_buckets = rhs.max_num_buckets; | 82 | | | 83 | 6 | for (auto rhs_it : rhs.ordered_map) { | 84 | 6 | auto lhs_it = ordered_map.find(rhs_it.first); | 85 | 6 | if (lhs_it != ordered_map.end()) { | 86 | 4 | lhs_it->second += rhs_it.second; | 87 | 4 | } else { | 88 | 2 | ordered_map.insert({rhs_it.first, rhs_it.second}); | 89 | 2 | } | 90 | 6 | } | 91 | 4 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EE5mergeERKS2_ Line | Count | Source | 74 | 82 | void merge(const AggregateFunctionHistogramData& rhs) { | 75 | | // if rhs.max_num_buckets == 0, it means the input block for serialization is all null | 76 | | // we should discard this data, because histogram only fouce on the not-null data | 77 | 82 | if (!rhs.max_num_buckets) { | 78 | 7 | return; | 79 | 7 | } | 80 | | | 81 | 75 | max_num_buckets = rhs.max_num_buckets; | 82 | | | 83 | 247 | for (auto rhs_it : rhs.ordered_map) { | 84 | 247 | auto lhs_it = ordered_map.find(rhs_it.first); | 85 | 247 | if (lhs_it != ordered_map.end()) { | 86 | 100 | lhs_it->second += rhs_it.second; | 87 | 147 | } else { | 88 | 147 | ordered_map.insert({rhs_it.first, rhs_it.second}); | 89 | 147 | } | 90 | 247 | } | 91 | 75 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EE5mergeERKS2_ Line | Count | Source | 74 | 82 | void merge(const AggregateFunctionHistogramData& rhs) { | 75 | | // if rhs.max_num_buckets == 0, it means the input block for serialization is all null | 76 | | // we should discard this data, because histogram only fouce on the not-null data | 77 | 82 | if (!rhs.max_num_buckets) { | 78 | 5 | return; | 79 | 5 | } | 80 | | | 81 | 77 | max_num_buckets = rhs.max_num_buckets; | 82 | | | 83 | 259 | for (auto rhs_it : rhs.ordered_map) { | 84 | 259 | auto lhs_it = ordered_map.find(rhs_it.first); | 85 | 259 | if (lhs_it != ordered_map.end()) { | 86 | 104 | lhs_it->second += rhs_it.second; | 87 | 155 | } else { | 88 | 155 | ordered_map.insert({rhs_it.first, rhs_it.second}); | 89 | 155 | } | 90 | 259 | } | 91 | 77 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EE5mergeERKS2_ Line | Count | Source | 74 | 208 | void merge(const AggregateFunctionHistogramData& rhs) { | 75 | | // if rhs.max_num_buckets == 0, it means the input block for serialization is all null | 76 | | // we should discard this data, because histogram only fouce on the not-null data | 77 | 208 | if (!rhs.max_num_buckets) { | 78 | 15 | return; | 79 | 15 | } | 80 | | | 81 | 193 | max_num_buckets = rhs.max_num_buckets; | 82 | | | 83 | 356 | for (auto rhs_it : rhs.ordered_map) { | 84 | 356 | auto lhs_it = ordered_map.find(rhs_it.first); | 85 | 356 | if (lhs_it != ordered_map.end()) { | 86 | 164 | lhs_it->second += rhs_it.second; | 87 | 192 | } else { | 88 | 192 | ordered_map.insert({rhs_it.first, rhs_it.second}); | 89 | 192 | } | 90 | 356 | } | 91 | 193 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EE5mergeERKS2_ Line | Count | Source | 74 | 82 | void merge(const AggregateFunctionHistogramData& rhs) { | 75 | | // if rhs.max_num_buckets == 0, it means the input block for serialization is all null | 76 | | // we should discard this data, because histogram only fouce on the not-null data | 77 | 82 | if (!rhs.max_num_buckets) { | 78 | 7 | return; | 79 | 7 | } | 80 | | | 81 | 75 | max_num_buckets = rhs.max_num_buckets; | 82 | | | 83 | 247 | for (auto rhs_it : rhs.ordered_map) { | 84 | 247 | auto lhs_it = ordered_map.find(rhs_it.first); | 85 | 247 | if (lhs_it != ordered_map.end()) { | 86 | 102 | lhs_it->second += rhs_it.second; | 87 | 145 | } else { | 88 | 145 | ordered_map.insert({rhs_it.first, rhs_it.second}); | 89 | 145 | } | 90 | 247 | } | 91 | 75 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EE5mergeERKS2_ Line | Count | Source | 74 | 82 | void merge(const AggregateFunctionHistogramData& rhs) { | 75 | | // if rhs.max_num_buckets == 0, it means the input block for serialization is all null | 76 | | // we should discard this data, because histogram only fouce on the not-null data | 77 | 82 | if (!rhs.max_num_buckets) { | 78 | 7 | return; | 79 | 7 | } | 80 | | | 81 | 75 | max_num_buckets = rhs.max_num_buckets; | 82 | | | 83 | 250 | for (auto rhs_it : rhs.ordered_map) { | 84 | 250 | auto lhs_it = ordered_map.find(rhs_it.first); | 85 | 250 | if (lhs_it != ordered_map.end()) { | 86 | 100 | lhs_it->second += rhs_it.second; | 87 | 150 | } else { | 88 | 150 | ordered_map.insert({rhs_it.first, rhs_it.second}); | 89 | 150 | } | 90 | 250 | } | 91 | 75 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EE5mergeERKS2_ Line | Count | Source | 74 | 76 | void merge(const AggregateFunctionHistogramData& rhs) { | 75 | | // if rhs.max_num_buckets == 0, it means the input block for serialization is all null | 76 | | // we should discard this data, because histogram only fouce on the not-null data | 77 | 76 | if (!rhs.max_num_buckets) { | 78 | 5 | return; | 79 | 5 | } | 80 | | | 81 | 71 | max_num_buckets = rhs.max_num_buckets; | 82 | | | 83 | 235 | for (auto rhs_it : rhs.ordered_map) { | 84 | 235 | auto lhs_it = ordered_map.find(rhs_it.first); | 85 | 235 | if (lhs_it != ordered_map.end()) { | 86 | 100 | lhs_it->second += rhs_it.second; | 87 | 135 | } else { | 88 | 135 | ordered_map.insert({rhs_it.first, rhs_it.second}); | 89 | 135 | } | 90 | 235 | } | 91 | 71 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EE5mergeERKS2_ Line | Count | Source | 74 | 76 | void merge(const AggregateFunctionHistogramData& rhs) { | 75 | | // if rhs.max_num_buckets == 0, it means the input block for serialization is all null | 76 | | // we should discard this data, because histogram only fouce on the not-null data | 77 | 76 | if (!rhs.max_num_buckets) { | 78 | 5 | return; | 79 | 5 | } | 80 | | | 81 | 71 | max_num_buckets = rhs.max_num_buckets; | 82 | | | 83 | 235 | for (auto rhs_it : rhs.ordered_map) { | 84 | 235 | auto lhs_it = ordered_map.find(rhs_it.first); | 85 | 235 | if (lhs_it != ordered_map.end()) { | 86 | 100 | lhs_it->second += rhs_it.second; | 87 | 135 | } else { | 88 | 135 | ordered_map.insert({rhs_it.first, rhs_it.second}); | 89 | 135 | } | 90 | 235 | } | 91 | 71 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EE5mergeERKS2_ Line | Count | Source | 74 | 83 | void merge(const AggregateFunctionHistogramData& rhs) { | 75 | | // if rhs.max_num_buckets == 0, it means the input block for serialization is all null | 76 | | // we should discard this data, because histogram only fouce on the not-null data | 77 | 83 | if (!rhs.max_num_buckets) { | 78 | 6 | return; | 79 | 6 | } | 80 | | | 81 | 77 | max_num_buckets = rhs.max_num_buckets; | 82 | | | 83 | 165 | for (auto rhs_it : rhs.ordered_map) { | 84 | 165 | auto lhs_it = ordered_map.find(rhs_it.first); | 85 | 165 | if (lhs_it != ordered_map.end()) { | 86 | 2 | lhs_it->second += rhs_it.second; | 87 | 163 | } else { | 88 | 163 | ordered_map.insert({rhs_it.first, rhs_it.second}); | 89 | 163 | } | 90 | 165 | } | 91 | 77 | } |
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EE5mergeERKS2_ Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EE5mergeERKS2_ Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EE5mergeERKS2_ _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EE5mergeERKS2_ Line | Count | Source | 74 | 179 | void merge(const AggregateFunctionHistogramData& rhs) { | 75 | | // if rhs.max_num_buckets == 0, it means the input block for serialization is all null | 76 | | // we should discard this data, because histogram only fouce on the not-null data | 77 | 179 | if (!rhs.max_num_buckets) { | 78 | 8 | return; | 79 | 8 | } | 80 | | | 81 | 171 | max_num_buckets = rhs.max_num_buckets; | 82 | | | 83 | 1.27k | for (auto rhs_it : rhs.ordered_map) { | 84 | 1.27k | auto lhs_it = ordered_map.find(rhs_it.first); | 85 | 1.27k | if (lhs_it != ordered_map.end()) { | 86 | 1.07k | lhs_it->second += rhs_it.second; | 87 | 1.07k | } else { | 88 | 195 | ordered_map.insert({rhs_it.first, rhs_it.second}); | 89 | 195 | } | 90 | 1.27k | } | 91 | 171 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EE5mergeERKS2_ Line | Count | Source | 74 | 155 | void merge(const AggregateFunctionHistogramData& rhs) { | 75 | | // if rhs.max_num_buckets == 0, it means the input block for serialization is all null | 76 | | // we should discard this data, because histogram only fouce on the not-null data | 77 | 155 | if (!rhs.max_num_buckets) { | 78 | 10 | return; | 79 | 10 | } | 80 | | | 81 | 145 | max_num_buckets = rhs.max_num_buckets; | 82 | | | 83 | 377 | for (auto rhs_it : rhs.ordered_map) { | 84 | 377 | auto lhs_it = ordered_map.find(rhs_it.first); | 85 | 377 | if (lhs_it != ordered_map.end()) { | 86 | 103 | lhs_it->second += rhs_it.second; | 87 | 274 | } else { | 88 | 274 | ordered_map.insert({rhs_it.first, rhs_it.second}); | 89 | 274 | } | 90 | 377 | } | 91 | 145 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EE5mergeERKS2_ Line | Count | Source | 74 | 155 | void merge(const AggregateFunctionHistogramData& rhs) { | 75 | | // if rhs.max_num_buckets == 0, it means the input block for serialization is all null | 76 | | // we should discard this data, because histogram only fouce on the not-null data | 77 | 155 | if (!rhs.max_num_buckets) { | 78 | 10 | return; | 79 | 10 | } | 80 | | | 81 | 145 | max_num_buckets = rhs.max_num_buckets; | 82 | | | 83 | 375 | for (auto rhs_it : rhs.ordered_map) { | 84 | 375 | auto lhs_it = ordered_map.find(rhs_it.first); | 85 | 375 | if (lhs_it != ordered_map.end()) { | 86 | 102 | lhs_it->second += rhs_it.second; | 87 | 273 | } else { | 88 | 273 | ordered_map.insert({rhs_it.first, rhs_it.second}); | 89 | 273 | } | 90 | 375 | } | 91 | 145 | } |
|
92 | | |
93 | 1.30k | void write(BufferWritable& buf) const { |
94 | 1.30k | buf.write_binary(max_num_buckets); |
95 | 1.30k | auto element_number = (size_t)ordered_map.size(); |
96 | 1.30k | buf.write_binary(element_number); |
97 | | |
98 | 1.30k | auto pair_vector = map_to_vector(); |
99 | | |
100 | 5.36k | for (auto i = 0; i < element_number; i++) { |
101 | 4.06k | auto element = pair_vector[i]; |
102 | 4.06k | buf.write_binary(element.second); |
103 | 4.06k | buf.write_binary(element.first); |
104 | 4.06k | } |
105 | 1.30k | } _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EE5writeERNS_14BufferWritableE Line | Count | Source | 93 | 6 | void write(BufferWritable& buf) const { | 94 | 6 | buf.write_binary(max_num_buckets); | 95 | 6 | auto element_number = (size_t)ordered_map.size(); | 96 | 6 | buf.write_binary(element_number); | 97 | | | 98 | 6 | auto pair_vector = map_to_vector(); | 99 | | | 100 | 12 | for (auto i = 0; i < element_number; i++) { | 101 | 6 | auto element = pair_vector[i]; | 102 | 6 | buf.write_binary(element.second); | 103 | 6 | buf.write_binary(element.first); | 104 | 6 | } | 105 | 6 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EE5writeERNS_14BufferWritableE Line | Count | Source | 93 | 82 | void write(BufferWritable& buf) const { | 94 | 82 | buf.write_binary(max_num_buckets); | 95 | 82 | auto element_number = (size_t)ordered_map.size(); | 96 | 82 | buf.write_binary(element_number); | 97 | | | 98 | 82 | auto pair_vector = map_to_vector(); | 99 | | | 100 | 329 | for (auto i = 0; i < element_number; i++) { | 101 | 247 | auto element = pair_vector[i]; | 102 | 247 | buf.write_binary(element.second); | 103 | 247 | buf.write_binary(element.first); | 104 | 247 | } | 105 | 82 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EE5writeERNS_14BufferWritableE Line | Count | Source | 93 | 82 | void write(BufferWritable& buf) const { | 94 | 82 | buf.write_binary(max_num_buckets); | 95 | 82 | auto element_number = (size_t)ordered_map.size(); | 96 | 82 | buf.write_binary(element_number); | 97 | | | 98 | 82 | auto pair_vector = map_to_vector(); | 99 | | | 100 | 341 | for (auto i = 0; i < element_number; i++) { | 101 | 259 | auto element = pair_vector[i]; | 102 | 259 | buf.write_binary(element.second); | 103 | 259 | buf.write_binary(element.first); | 104 | 259 | } | 105 | 82 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EE5writeERNS_14BufferWritableE Line | Count | Source | 93 | 247 | void write(BufferWritable& buf) const { | 94 | 247 | buf.write_binary(max_num_buckets); | 95 | 247 | auto element_number = (size_t)ordered_map.size(); | 96 | 247 | buf.write_binary(element_number); | 97 | | | 98 | 247 | auto pair_vector = map_to_vector(); | 99 | | | 100 | 642 | for (auto i = 0; i < element_number; i++) { | 101 | 395 | auto element = pair_vector[i]; | 102 | 395 | buf.write_binary(element.second); | 103 | 395 | buf.write_binary(element.first); | 104 | 395 | } | 105 | 247 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EE5writeERNS_14BufferWritableE Line | Count | Source | 93 | 82 | void write(BufferWritable& buf) const { | 94 | 82 | buf.write_binary(max_num_buckets); | 95 | 82 | auto element_number = (size_t)ordered_map.size(); | 96 | 82 | buf.write_binary(element_number); | 97 | | | 98 | 82 | auto pair_vector = map_to_vector(); | 99 | | | 100 | 329 | for (auto i = 0; i < element_number; i++) { | 101 | 247 | auto element = pair_vector[i]; | 102 | 247 | buf.write_binary(element.second); | 103 | 247 | buf.write_binary(element.first); | 104 | 247 | } | 105 | 82 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EE5writeERNS_14BufferWritableE Line | Count | Source | 93 | 82 | void write(BufferWritable& buf) const { | 94 | 82 | buf.write_binary(max_num_buckets); | 95 | 82 | auto element_number = (size_t)ordered_map.size(); | 96 | 82 | buf.write_binary(element_number); | 97 | | | 98 | 82 | auto pair_vector = map_to_vector(); | 99 | | | 100 | 332 | for (auto i = 0; i < element_number; i++) { | 101 | 250 | auto element = pair_vector[i]; | 102 | 250 | buf.write_binary(element.second); | 103 | 250 | buf.write_binary(element.first); | 104 | 250 | } | 105 | 82 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EE5writeERNS_14BufferWritableE Line | Count | Source | 93 | 76 | void write(BufferWritable& buf) const { | 94 | 76 | buf.write_binary(max_num_buckets); | 95 | 76 | auto element_number = (size_t)ordered_map.size(); | 96 | 76 | buf.write_binary(element_number); | 97 | | | 98 | 76 | auto pair_vector = map_to_vector(); | 99 | | | 100 | 311 | for (auto i = 0; i < element_number; i++) { | 101 | 235 | auto element = pair_vector[i]; | 102 | 235 | buf.write_binary(element.second); | 103 | 235 | buf.write_binary(element.first); | 104 | 235 | } | 105 | 76 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EE5writeERNS_14BufferWritableE Line | Count | Source | 93 | 76 | void write(BufferWritable& buf) const { | 94 | 76 | buf.write_binary(max_num_buckets); | 95 | 76 | auto element_number = (size_t)ordered_map.size(); | 96 | 76 | buf.write_binary(element_number); | 97 | | | 98 | 76 | auto pair_vector = map_to_vector(); | 99 | | | 100 | 311 | for (auto i = 0; i < element_number; i++) { | 101 | 235 | auto element = pair_vector[i]; | 102 | 235 | buf.write_binary(element.second); | 103 | 235 | buf.write_binary(element.first); | 104 | 235 | } | 105 | 76 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EE5writeERNS_14BufferWritableE Line | Count | Source | 93 | 83 | void write(BufferWritable& buf) const { | 94 | 83 | buf.write_binary(max_num_buckets); | 95 | 83 | auto element_number = (size_t)ordered_map.size(); | 96 | 83 | buf.write_binary(element_number); | 97 | | | 98 | 83 | auto pair_vector = map_to_vector(); | 99 | | | 100 | 248 | for (auto i = 0; i < element_number; i++) { | 101 | 165 | auto element = pair_vector[i]; | 102 | 165 | buf.write_binary(element.second); | 103 | 165 | buf.write_binary(element.first); | 104 | 165 | } | 105 | 83 | } |
Unexecuted instantiation: _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EE5writeERNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EE5writeERNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EE5writeERNS_14BufferWritableE _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EE5writeERNS_14BufferWritableE Line | Count | Source | 93 | 179 | void write(BufferWritable& buf) const { | 94 | 179 | buf.write_binary(max_num_buckets); | 95 | 179 | auto element_number = (size_t)ordered_map.size(); | 96 | 179 | buf.write_binary(element_number); | 97 | | | 98 | 179 | auto pair_vector = map_to_vector(); | 99 | | | 100 | 1.45k | for (auto i = 0; i < element_number; i++) { | 101 | 1.27k | auto element = pair_vector[i]; | 102 | 1.27k | buf.write_binary(element.second); | 103 | 1.27k | buf.write_binary(element.first); | 104 | 1.27k | } | 105 | 179 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EE5writeERNS_14BufferWritableE Line | Count | Source | 93 | 154 | void write(BufferWritable& buf) const { | 94 | 154 | buf.write_binary(max_num_buckets); | 95 | 154 | auto element_number = (size_t)ordered_map.size(); | 96 | 154 | buf.write_binary(element_number); | 97 | | | 98 | 154 | auto pair_vector = map_to_vector(); | 99 | | | 100 | 531 | for (auto i = 0; i < element_number; i++) { | 101 | 377 | auto element = pair_vector[i]; | 102 | 377 | buf.write_binary(element.second); | 103 | 377 | buf.write_binary(element.first); | 104 | 377 | } | 105 | 154 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EE5writeERNS_14BufferWritableE Line | Count | Source | 93 | 154 | void write(BufferWritable& buf) const { | 94 | 154 | buf.write_binary(max_num_buckets); | 95 | 154 | auto element_number = (size_t)ordered_map.size(); | 96 | 154 | buf.write_binary(element_number); | 97 | | | 98 | 154 | auto pair_vector = map_to_vector(); | 99 | | | 100 | 529 | for (auto i = 0; i < element_number; i++) { | 101 | 375 | auto element = pair_vector[i]; | 102 | 375 | buf.write_binary(element.second); | 103 | 375 | buf.write_binary(element.first); | 104 | 375 | } | 105 | 154 | } |
|
106 | | |
107 | 1.26k | void read(BufferReadable& buf) { |
108 | 1.26k | buf.read_binary(max_num_buckets); |
109 | | |
110 | 1.26k | size_t element_number = 0; |
111 | 1.26k | buf.read_binary(element_number); |
112 | | |
113 | 1.26k | ordered_map.clear(); |
114 | 1.26k | std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element; |
115 | 5.29k | for (auto i = 0; i < element_number; i++) { |
116 | 4.02k | buf.read_binary(element.first); |
117 | 4.02k | buf.read_binary(element.second); |
118 | 4.02k | ordered_map.insert(element); |
119 | 4.02k | } |
120 | 1.26k | } _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EE4readERNS_14BufferReadableE Line | Count | Source | 107 | 6 | void read(BufferReadable& buf) { | 108 | 6 | buf.read_binary(max_num_buckets); | 109 | | | 110 | 6 | size_t element_number = 0; | 111 | 6 | buf.read_binary(element_number); | 112 | | | 113 | 6 | ordered_map.clear(); | 114 | 6 | std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element; | 115 | 12 | for (auto i = 0; i < element_number; i++) { | 116 | 6 | buf.read_binary(element.first); | 117 | 6 | buf.read_binary(element.second); | 118 | 6 | ordered_map.insert(element); | 119 | 6 | } | 120 | 6 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EE4readERNS_14BufferReadableE Line | Count | Source | 107 | 82 | void read(BufferReadable& buf) { | 108 | 82 | buf.read_binary(max_num_buckets); | 109 | | | 110 | 82 | size_t element_number = 0; | 111 | 82 | buf.read_binary(element_number); | 112 | | | 113 | 82 | ordered_map.clear(); | 114 | 82 | std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element; | 115 | 329 | for (auto i = 0; i < element_number; i++) { | 116 | 247 | buf.read_binary(element.first); | 117 | 247 | buf.read_binary(element.second); | 118 | 247 | ordered_map.insert(element); | 119 | 247 | } | 120 | 82 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EE4readERNS_14BufferReadableE Line | Count | Source | 107 | 82 | void read(BufferReadable& buf) { | 108 | 82 | buf.read_binary(max_num_buckets); | 109 | | | 110 | 82 | size_t element_number = 0; | 111 | 82 | buf.read_binary(element_number); | 112 | | | 113 | 82 | ordered_map.clear(); | 114 | 82 | std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element; | 115 | 341 | for (auto i = 0; i < element_number; i++) { | 116 | 259 | buf.read_binary(element.first); | 117 | 259 | buf.read_binary(element.second); | 118 | 259 | ordered_map.insert(element); | 119 | 259 | } | 120 | 82 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EE4readERNS_14BufferReadableE Line | Count | Source | 107 | 208 | void read(BufferReadable& buf) { | 108 | 208 | buf.read_binary(max_num_buckets); | 109 | | | 110 | 208 | size_t element_number = 0; | 111 | 208 | buf.read_binary(element_number); | 112 | | | 113 | 208 | ordered_map.clear(); | 114 | 208 | std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element; | 115 | 564 | for (auto i = 0; i < element_number; i++) { | 116 | 356 | buf.read_binary(element.first); | 117 | 356 | buf.read_binary(element.second); | 118 | 356 | ordered_map.insert(element); | 119 | 356 | } | 120 | 208 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EE4readERNS_14BufferReadableE Line | Count | Source | 107 | 82 | void read(BufferReadable& buf) { | 108 | 82 | buf.read_binary(max_num_buckets); | 109 | | | 110 | 82 | size_t element_number = 0; | 111 | 82 | buf.read_binary(element_number); | 112 | | | 113 | 82 | ordered_map.clear(); | 114 | 82 | std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element; | 115 | 329 | for (auto i = 0; i < element_number; i++) { | 116 | 247 | buf.read_binary(element.first); | 117 | 247 | buf.read_binary(element.second); | 118 | 247 | ordered_map.insert(element); | 119 | 247 | } | 120 | 82 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EE4readERNS_14BufferReadableE Line | Count | Source | 107 | 82 | void read(BufferReadable& buf) { | 108 | 82 | buf.read_binary(max_num_buckets); | 109 | | | 110 | 82 | size_t element_number = 0; | 111 | 82 | buf.read_binary(element_number); | 112 | | | 113 | 82 | ordered_map.clear(); | 114 | 82 | std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element; | 115 | 332 | for (auto i = 0; i < element_number; i++) { | 116 | 250 | buf.read_binary(element.first); | 117 | 250 | buf.read_binary(element.second); | 118 | 250 | ordered_map.insert(element); | 119 | 250 | } | 120 | 82 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EE4readERNS_14BufferReadableE Line | Count | Source | 107 | 76 | void read(BufferReadable& buf) { | 108 | 76 | buf.read_binary(max_num_buckets); | 109 | | | 110 | 76 | size_t element_number = 0; | 111 | 76 | buf.read_binary(element_number); | 112 | | | 113 | 76 | ordered_map.clear(); | 114 | 76 | std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element; | 115 | 311 | for (auto i = 0; i < element_number; i++) { | 116 | 235 | buf.read_binary(element.first); | 117 | 235 | buf.read_binary(element.second); | 118 | 235 | ordered_map.insert(element); | 119 | 235 | } | 120 | 76 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EE4readERNS_14BufferReadableE Line | Count | Source | 107 | 76 | void read(BufferReadable& buf) { | 108 | 76 | buf.read_binary(max_num_buckets); | 109 | | | 110 | 76 | size_t element_number = 0; | 111 | 76 | buf.read_binary(element_number); | 112 | | | 113 | 76 | ordered_map.clear(); | 114 | 76 | std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element; | 115 | 311 | for (auto i = 0; i < element_number; i++) { | 116 | 235 | buf.read_binary(element.first); | 117 | 235 | buf.read_binary(element.second); | 118 | 235 | ordered_map.insert(element); | 119 | 235 | } | 120 | 76 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EE4readERNS_14BufferReadableE Line | Count | Source | 107 | 83 | void read(BufferReadable& buf) { | 108 | 83 | buf.read_binary(max_num_buckets); | 109 | | | 110 | 83 | size_t element_number = 0; | 111 | 83 | buf.read_binary(element_number); | 112 | | | 113 | 83 | ordered_map.clear(); | 114 | 83 | std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element; | 115 | 248 | for (auto i = 0; i < element_number; i++) { | 116 | 165 | buf.read_binary(element.first); | 117 | 165 | buf.read_binary(element.second); | 118 | 165 | ordered_map.insert(element); | 119 | 165 | } | 120 | 83 | } |
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EE4readERNS_14BufferReadableE Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EE4readERNS_14BufferReadableE Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EE4readERNS_14BufferReadableE _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EE4readERNS_14BufferReadableE Line | Count | Source | 107 | 179 | void read(BufferReadable& buf) { | 108 | 179 | buf.read_binary(max_num_buckets); | 109 | | | 110 | 179 | size_t element_number = 0; | 111 | 179 | buf.read_binary(element_number); | 112 | | | 113 | 179 | ordered_map.clear(); | 114 | 179 | std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element; | 115 | 1.45k | for (auto i = 0; i < element_number; i++) { | 116 | 1.27k | buf.read_binary(element.first); | 117 | 1.27k | buf.read_binary(element.second); | 118 | 1.27k | ordered_map.insert(element); | 119 | 1.27k | } | 120 | 179 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EE4readERNS_14BufferReadableE Line | Count | Source | 107 | 155 | void read(BufferReadable& buf) { | 108 | 155 | buf.read_binary(max_num_buckets); | 109 | | | 110 | 155 | size_t element_number = 0; | 111 | 155 | buf.read_binary(element_number); | 112 | | | 113 | 155 | ordered_map.clear(); | 114 | 155 | std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element; | 115 | 532 | for (auto i = 0; i < element_number; i++) { | 116 | 377 | buf.read_binary(element.first); | 117 | 377 | buf.read_binary(element.second); | 118 | 377 | ordered_map.insert(element); | 119 | 377 | } | 120 | 155 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EE4readERNS_14BufferReadableE Line | Count | Source | 107 | 155 | void read(BufferReadable& buf) { | 108 | 155 | buf.read_binary(max_num_buckets); | 109 | | | 110 | 155 | size_t element_number = 0; | 111 | 155 | buf.read_binary(element_number); | 112 | | | 113 | 155 | ordered_map.clear(); | 114 | 155 | std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element; | 115 | 530 | for (auto i = 0; i < element_number; i++) { | 116 | 375 | buf.read_binary(element.first); | 117 | 375 | buf.read_binary(element.second); | 118 | 375 | ordered_map.insert(element); | 119 | 375 | } | 120 | 155 | } |
|
121 | | |
122 | | void insert_result_into(IColumn& to) const { |
123 | | auto pair_vector = map_to_vector(); |
124 | | for (auto i = 0; i < pair_vector.size(); i++) { |
125 | | const auto& element = pair_vector[i]; |
126 | | if constexpr (is_string_type(T)) { |
127 | | assert_cast<ColumnString&>(to).insert_data(element.second.c_str(), |
128 | | element.second.length()); |
129 | | } else { |
130 | | assert_cast<ColVecType&>(to).get_data().push_back(element.second); |
131 | | } |
132 | | } |
133 | | } |
134 | | |
135 | 700 | std::string get(const DataTypePtr& data_type) const { |
136 | 700 | std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets; |
137 | 700 | rapidjson::StringBuffer buffer; |
138 | | // NOTE: We need an extral branch for to handle max_num_buckets == 0, |
139 | | // when target column is nullable, and input block is all null, |
140 | | // set_parameters will not be called because of the short-circuit in |
141 | | // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation. |
142 | 700 | build_histogram( |
143 | 700 | buckets, ordered_map, |
144 | 700 | max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets); |
145 | 700 | histogram_to_json(buffer, buckets, data_type); |
146 | 700 | return {buffer.GetString()}; |
147 | 700 | } _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE Line | Count | Source | 135 | 2 | std::string get(const DataTypePtr& data_type) const { | 136 | 2 | std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets; | 137 | 2 | rapidjson::StringBuffer buffer; | 138 | | // NOTE: We need an extral branch for to handle max_num_buckets == 0, | 139 | | // when target column is nullable, and input block is all null, | 140 | | // set_parameters will not be called because of the short-circuit in | 141 | | // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation. | 142 | 2 | build_histogram( | 143 | 2 | buckets, ordered_map, | 144 | 2 | max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets); | 145 | 2 | histogram_to_json(buffer, buckets, data_type); | 146 | 2 | return {buffer.GetString()}; | 147 | 2 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE Line | Count | Source | 135 | 48 | std::string get(const DataTypePtr& data_type) const { | 136 | 48 | std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets; | 137 | 48 | rapidjson::StringBuffer buffer; | 138 | | // NOTE: We need an extral branch for to handle max_num_buckets == 0, | 139 | | // when target column is nullable, and input block is all null, | 140 | | // set_parameters will not be called because of the short-circuit in | 141 | | // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation. | 142 | 48 | build_histogram( | 143 | 48 | buckets, ordered_map, | 144 | 48 | max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets); | 145 | 48 | histogram_to_json(buffer, buckets, data_type); | 146 | 48 | return {buffer.GetString()}; | 147 | 48 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE Line | Count | Source | 135 | 48 | std::string get(const DataTypePtr& data_type) const { | 136 | 48 | std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets; | 137 | 48 | rapidjson::StringBuffer buffer; | 138 | | // NOTE: We need an extral branch for to handle max_num_buckets == 0, | 139 | | // when target column is nullable, and input block is all null, | 140 | | // set_parameters will not be called because of the short-circuit in | 141 | | // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation. | 142 | 48 | build_histogram( | 143 | 48 | buckets, ordered_map, | 144 | 48 | max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets); | 145 | 48 | histogram_to_json(buffer, buckets, data_type); | 146 | 48 | return {buffer.GetString()}; | 147 | 48 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE Line | Count | Source | 135 | 67 | std::string get(const DataTypePtr& data_type) const { | 136 | 67 | std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets; | 137 | 67 | rapidjson::StringBuffer buffer; | 138 | | // NOTE: We need an extral branch for to handle max_num_buckets == 0, | 139 | | // when target column is nullable, and input block is all null, | 140 | | // set_parameters will not be called because of the short-circuit in | 141 | | // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation. | 142 | 67 | build_histogram( | 143 | 67 | buckets, ordered_map, | 144 | 67 | max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets); | 145 | 67 | histogram_to_json(buffer, buckets, data_type); | 146 | 67 | return {buffer.GetString()}; | 147 | 67 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE Line | Count | Source | 135 | 65 | std::string get(const DataTypePtr& data_type) const { | 136 | 65 | std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets; | 137 | 65 | rapidjson::StringBuffer buffer; | 138 | | // NOTE: We need an extral branch for to handle max_num_buckets == 0, | 139 | | // when target column is nullable, and input block is all null, | 140 | | // set_parameters will not be called because of the short-circuit in | 141 | | // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation. | 142 | 65 | build_histogram( | 143 | 65 | buckets, ordered_map, | 144 | 65 | max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets); | 145 | 65 | histogram_to_json(buffer, buckets, data_type); | 146 | 65 | return {buffer.GetString()}; | 147 | 65 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE Line | Count | Source | 135 | 48 | std::string get(const DataTypePtr& data_type) const { | 136 | 48 | std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets; | 137 | 48 | rapidjson::StringBuffer buffer; | 138 | | // NOTE: We need an extral branch for to handle max_num_buckets == 0, | 139 | | // when target column is nullable, and input block is all null, | 140 | | // set_parameters will not be called because of the short-circuit in | 141 | | // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation. | 142 | 48 | build_histogram( | 143 | 48 | buckets, ordered_map, | 144 | 48 | max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets); | 145 | 48 | histogram_to_json(buffer, buckets, data_type); | 146 | 48 | return {buffer.GetString()}; | 147 | 48 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE Line | Count | Source | 135 | 46 | std::string get(const DataTypePtr& data_type) const { | 136 | 46 | std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets; | 137 | 46 | rapidjson::StringBuffer buffer; | 138 | | // NOTE: We need an extral branch for to handle max_num_buckets == 0, | 139 | | // when target column is nullable, and input block is all null, | 140 | | // set_parameters will not be called because of the short-circuit in | 141 | | // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation. | 142 | 46 | build_histogram( | 143 | 46 | buckets, ordered_map, | 144 | 46 | max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets); | 145 | 46 | histogram_to_json(buffer, buckets, data_type); | 146 | 46 | return {buffer.GetString()}; | 147 | 46 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE Line | Count | Source | 135 | 46 | std::string get(const DataTypePtr& data_type) const { | 136 | 46 | std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets; | 137 | 46 | rapidjson::StringBuffer buffer; | 138 | | // NOTE: We need an extral branch for to handle max_num_buckets == 0, | 139 | | // when target column is nullable, and input block is all null, | 140 | | // set_parameters will not be called because of the short-circuit in | 141 | | // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation. | 142 | 46 | build_histogram( | 143 | 46 | buckets, ordered_map, | 144 | 46 | max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets); | 145 | 46 | histogram_to_json(buffer, buckets, data_type); | 146 | 46 | return {buffer.GetString()}; | 147 | 46 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE Line | Count | Source | 135 | 49 | std::string get(const DataTypePtr& data_type) const { | 136 | 49 | std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets; | 137 | 49 | rapidjson::StringBuffer buffer; | 138 | | // NOTE: We need an extral branch for to handle max_num_buckets == 0, | 139 | | // when target column is nullable, and input block is all null, | 140 | | // set_parameters will not be called because of the short-circuit in | 141 | | // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation. | 142 | 49 | build_histogram( | 143 | 49 | buckets, ordered_map, | 144 | 49 | max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets); | 145 | 49 | histogram_to_json(buffer, buckets, data_type); | 146 | 49 | return {buffer.GetString()}; | 147 | 49 | } |
Unexecuted instantiation: _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE Unexecuted instantiation: _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE Unexecuted instantiation: _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE Line | Count | Source | 135 | 105 | std::string get(const DataTypePtr& data_type) const { | 136 | 105 | std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets; | 137 | 105 | rapidjson::StringBuffer buffer; | 138 | | // NOTE: We need an extral branch for to handle max_num_buckets == 0, | 139 | | // when target column is nullable, and input block is all null, | 140 | | // set_parameters will not be called because of the short-circuit in | 141 | | // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation. | 142 | 105 | build_histogram( | 143 | 105 | buckets, ordered_map, | 144 | 105 | max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets); | 145 | 105 | histogram_to_json(buffer, buckets, data_type); | 146 | 105 | return {buffer.GetString()}; | 147 | 105 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE Line | Count | Source | 135 | 88 | std::string get(const DataTypePtr& data_type) const { | 136 | 88 | std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets; | 137 | 88 | rapidjson::StringBuffer buffer; | 138 | | // NOTE: We need an extral branch for to handle max_num_buckets == 0, | 139 | | // when target column is nullable, and input block is all null, | 140 | | // set_parameters will not be called because of the short-circuit in | 141 | | // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation. | 142 | 88 | build_histogram( | 143 | 88 | buckets, ordered_map, | 144 | 88 | max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets); | 145 | 88 | histogram_to_json(buffer, buckets, data_type); | 146 | 88 | return {buffer.GetString()}; | 147 | 88 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE Line | Count | Source | 135 | 88 | std::string get(const DataTypePtr& data_type) const { | 136 | 88 | std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets; | 137 | 88 | rapidjson::StringBuffer buffer; | 138 | | // NOTE: We need an extral branch for to handle max_num_buckets == 0, | 139 | | // when target column is nullable, and input block is all null, | 140 | | // set_parameters will not be called because of the short-circuit in | 141 | | // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation. | 142 | 88 | build_histogram( | 143 | 88 | buckets, ordered_map, | 144 | 88 | max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets); | 145 | 88 | histogram_to_json(buffer, buckets, data_type); | 146 | 88 | return {buffer.GetString()}; | 147 | 88 | } |
|
148 | | |
149 | 1.30k | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const { |
150 | 1.30k | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector; |
151 | 4.06k | for (auto it : ordered_map) { |
152 | 4.06k | pair_vector.emplace_back(it.second, it.first); |
153 | 4.06k | } |
154 | 1.30k | return pair_vector; |
155 | 1.30k | } _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EE13map_to_vectorEv Line | Count | Source | 149 | 6 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const { | 150 | 6 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector; | 151 | 6 | for (auto it : ordered_map) { | 152 | 6 | pair_vector.emplace_back(it.second, it.first); | 153 | 6 | } | 154 | 6 | return pair_vector; | 155 | 6 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EE13map_to_vectorEv Line | Count | Source | 149 | 82 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const { | 150 | 82 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector; | 151 | 247 | for (auto it : ordered_map) { | 152 | 247 | pair_vector.emplace_back(it.second, it.first); | 153 | 247 | } | 154 | 82 | return pair_vector; | 155 | 82 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EE13map_to_vectorEv Line | Count | Source | 149 | 82 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const { | 150 | 82 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector; | 151 | 259 | for (auto it : ordered_map) { | 152 | 259 | pair_vector.emplace_back(it.second, it.first); | 153 | 259 | } | 154 | 82 | return pair_vector; | 155 | 82 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EE13map_to_vectorEv Line | Count | Source | 149 | 247 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const { | 150 | 247 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector; | 151 | 395 | for (auto it : ordered_map) { | 152 | 395 | pair_vector.emplace_back(it.second, it.first); | 153 | 395 | } | 154 | 247 | return pair_vector; | 155 | 247 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EE13map_to_vectorEv Line | Count | Source | 149 | 82 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const { | 150 | 82 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector; | 151 | 247 | for (auto it : ordered_map) { | 152 | 247 | pair_vector.emplace_back(it.second, it.first); | 153 | 247 | } | 154 | 82 | return pair_vector; | 155 | 82 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EE13map_to_vectorEv Line | Count | Source | 149 | 82 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const { | 150 | 82 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector; | 151 | 250 | for (auto it : ordered_map) { | 152 | 250 | pair_vector.emplace_back(it.second, it.first); | 153 | 250 | } | 154 | 82 | return pair_vector; | 155 | 82 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EE13map_to_vectorEv Line | Count | Source | 149 | 76 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const { | 150 | 76 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector; | 151 | 235 | for (auto it : ordered_map) { | 152 | 235 | pair_vector.emplace_back(it.second, it.first); | 153 | 235 | } | 154 | 76 | return pair_vector; | 155 | 76 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EE13map_to_vectorEv Line | Count | Source | 149 | 76 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const { | 150 | 76 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector; | 151 | 235 | for (auto it : ordered_map) { | 152 | 235 | pair_vector.emplace_back(it.second, it.first); | 153 | 235 | } | 154 | 76 | return pair_vector; | 155 | 76 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EE13map_to_vectorEv Line | Count | Source | 149 | 83 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const { | 150 | 83 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector; | 151 | 165 | for (auto it : ordered_map) { | 152 | 165 | pair_vector.emplace_back(it.second, it.first); | 153 | 165 | } | 154 | 83 | return pair_vector; | 155 | 83 | } |
Unexecuted instantiation: _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EE13map_to_vectorEv Unexecuted instantiation: _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EE13map_to_vectorEv Unexecuted instantiation: _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EE13map_to_vectorEv _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EE13map_to_vectorB5cxx11Ev Line | Count | Source | 149 | 179 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const { | 150 | 179 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector; | 151 | 1.27k | for (auto it : ordered_map) { | 152 | 1.27k | pair_vector.emplace_back(it.second, it.first); | 153 | 1.27k | } | 154 | 179 | return pair_vector; | 155 | 179 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EE13map_to_vectorEv Line | Count | Source | 149 | 155 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const { | 150 | 155 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector; | 151 | 377 | for (auto it : ordered_map) { | 152 | 377 | pair_vector.emplace_back(it.second, it.first); | 153 | 377 | } | 154 | 155 | return pair_vector; | 155 | 155 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EE13map_to_vectorEv Line | Count | Source | 149 | 155 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const { | 150 | 155 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector; | 151 | 375 | for (auto it : ordered_map) { | 152 | 375 | pair_vector.emplace_back(it.second, it.first); | 153 | 375 | } | 154 | 155 | return pair_vector; | 155 | 155 | } |
|
156 | | |
157 | | private: |
158 | | size_t max_num_buckets = BUCKET_NUM_INIT_VALUE; |
159 | | std::map<typename PrimitiveTypeTraits<T>::CppType, size_t> ordered_map; |
160 | | }; |
161 | | |
162 | | template <typename Data, bool has_input_param> |
163 | | class AggregateFunctionHistogram final |
164 | | : public IAggregateFunctionDataHelper<Data, |
165 | | AggregateFunctionHistogram<Data, has_input_param>>, |
166 | | VarargsExpression, |
167 | | NotNullableAggregateFunction { |
168 | | public: |
169 | | AggregateFunctionHistogram() = default; |
170 | | AggregateFunctionHistogram(const DataTypes& argument_types_) |
171 | 818 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( |
172 | 818 | argument_types_), |
173 | 818 | _argument_type(argument_types_[0]) {}Unexecuted instantiation: _ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE _ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 171 | 12 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( | 172 | 12 | argument_types_), | 173 | 12 | _argument_type(argument_types_[0]) {} |
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 171 | 12 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( | 172 | 12 | argument_types_), | 173 | 12 | _argument_type(argument_types_[0]) {} |
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 171 | 5 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( | 172 | 5 | argument_types_), | 173 | 5 | _argument_type(argument_types_[0]) {} |
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 171 | 12 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( | 172 | 12 | argument_types_), | 173 | 12 | _argument_type(argument_types_[0]) {} |
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 171 | 12 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( | 172 | 12 | argument_types_), | 173 | 12 | _argument_type(argument_types_[0]) {} |
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 171 | 8 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( | 172 | 8 | argument_types_), | 173 | 8 | _argument_type(argument_types_[0]) {} |
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 171 | 8 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( | 172 | 8 | argument_types_), | 173 | 8 | _argument_type(argument_types_[0]) {} |
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 171 | 18 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( | 172 | 18 | argument_types_), | 173 | 18 | _argument_type(argument_types_[0]) {} |
Unexecuted instantiation: _ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Unexecuted instantiation: _ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Unexecuted instantiation: _ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE _ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 171 | 43 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( | 172 | 43 | argument_types_), | 173 | 43 | _argument_type(argument_types_[0]) {} |
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 171 | 19 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( | 172 | 19 | argument_types_), | 173 | 19 | _argument_type(argument_types_[0]) {} |
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 171 | 19 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( | 172 | 19 | argument_types_), | 173 | 19 | _argument_type(argument_types_[0]) {} |
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 171 | 4 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( | 172 | 4 | argument_types_), | 173 | 4 | _argument_type(argument_types_[0]) {} |
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 171 | 20 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( | 172 | 20 | argument_types_), | 173 | 20 | _argument_type(argument_types_[0]) {} |
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 171 | 20 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( | 172 | 20 | argument_types_), | 173 | 20 | _argument_type(argument_types_[0]) {} |
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 171 | 391 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( | 172 | 391 | argument_types_), | 173 | 391 | _argument_type(argument_types_[0]) {} |
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 171 | 21 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( | 172 | 21 | argument_types_), | 173 | 21 | _argument_type(argument_types_[0]) {} |
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 171 | 20 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( | 172 | 20 | argument_types_), | 173 | 20 | _argument_type(argument_types_[0]) {} |
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 171 | 20 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( | 172 | 20 | argument_types_), | 173 | 20 | _argument_type(argument_types_[0]) {} |
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 171 | 20 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( | 172 | 20 | argument_types_), | 173 | 20 | _argument_type(argument_types_[0]) {} |
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 171 | 19 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( | 172 | 19 | argument_types_), | 173 | 19 | _argument_type(argument_types_[0]) {} |
Unexecuted instantiation: _ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Unexecuted instantiation: _ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Unexecuted instantiation: _ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE _ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 171 | 39 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( | 172 | 39 | argument_types_), | 173 | 39 | _argument_type(argument_types_[0]) {} |
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 171 | 38 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( | 172 | 38 | argument_types_), | 173 | 38 | _argument_type(argument_types_[0]) {} |
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 171 | 38 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( | 172 | 38 | argument_types_), | 173 | 38 | _argument_type(argument_types_[0]) {} |
|
174 | | |
175 | 30 | std::string get_name() const override { return "histogram"; }Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb1EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb1EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb1EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb1EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb1EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb1EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb1EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EE8get_nameB5cxx11Ev _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EE8get_nameB5cxx11Ev Line | Count | Source | 175 | 20 | std::string get_name() const override { return "histogram"; } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EE8get_nameB5cxx11Ev Line | Count | Source | 175 | 10 | std::string get_name() const override { return "histogram"; } |
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb0EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb0EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb0EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb0EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb0EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb0EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb0EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb0EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb0EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb0EE8get_nameB5cxx11Ev |
176 | | |
177 | 811 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EE15get_return_typeEv _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EE15get_return_typeEv Line | Count | Source | 177 | 22 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EE15get_return_typeEv Line | Count | Source | 177 | 22 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EE15get_return_typeEv Line | Count | Source | 177 | 8 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EE15get_return_typeEv Line | Count | Source | 177 | 22 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EE15get_return_typeEv Line | Count | Source | 177 | 22 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb1EE15get_return_typeEv Line | Count | Source | 177 | 14 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb1EE15get_return_typeEv Line | Count | Source | 177 | 14 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb1EE15get_return_typeEv Line | Count | Source | 177 | 36 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); } |
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb1EE15get_return_typeEv Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb1EE15get_return_typeEv Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb1EE15get_return_typeEv _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb1EE15get_return_typeEv Line | Count | Source | 177 | 84 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EE15get_return_typeEv Line | Count | Source | 177 | 36 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EE15get_return_typeEv Line | Count | Source | 177 | 36 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EE15get_return_typeEv Line | Count | Source | 177 | 8 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EE15get_return_typeEv Line | Count | Source | 177 | 32 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EE15get_return_typeEv Line | Count | Source | 177 | 32 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EE15get_return_typeEv Line | Count | Source | 177 | 60 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EE15get_return_typeEv Line | Count | Source | 177 | 43 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb0EE15get_return_typeEv Line | Count | Source | 177 | 32 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb0EE15get_return_typeEv Line | Count | Source | 177 | 32 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb0EE15get_return_typeEv Line | Count | Source | 177 | 32 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb0EE15get_return_typeEv Line | Count | Source | 177 | 32 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); } |
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb0EE15get_return_typeEv Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb0EE15get_return_typeEv Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb0EE15get_return_typeEv _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb0EE15get_return_typeEv Line | Count | Source | 177 | 64 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb0EE15get_return_typeEv Line | Count | Source | 177 | 64 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb0EE15get_return_typeEv Line | Count | Source | 177 | 64 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); } |
|
178 | | |
179 | | void add(AggregateDataPtr __restrict place, const IColumn** columns, ssize_t row_num, |
180 | 6.09k | Arena&) const override { |
181 | 6.09k | if constexpr (has_input_param) { |
182 | 4.40k | Int32 input_max_num_buckets = |
183 | 4.40k | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); |
184 | 4.40k | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { |
185 | 0 | throw doris::Exception( |
186 | 0 | ErrorCode::INVALID_ARGUMENT, |
187 | 0 | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", |
188 | 0 | input_max_num_buckets, row_num); |
189 | 0 | } |
190 | 4.40k | this->data(place).set_parameters(input_max_num_buckets); |
191 | 4.40k | } else { |
192 | 1.69k | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); |
193 | 1.69k | } |
194 | | |
195 | 2.40k | if constexpr (is_string_type(Data::Ptype)) { |
196 | 2.40k | this->data(place).add( |
197 | 2.40k | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) |
198 | 2.40k | .get_data_at(row_num)); |
199 | 3.68k | } else { |
200 | 3.68k | this->data(place).add( |
201 | 3.68k | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( |
202 | 3.68k | *columns[0]) |
203 | 3.68k | .get_data()[row_num]); |
204 | 3.68k | } |
205 | 6.09k | } Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 180 | 239 | Arena&) const override { | 181 | 239 | if constexpr (has_input_param) { | 182 | 239 | Int32 input_max_num_buckets = | 183 | 239 | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); | 184 | 239 | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { | 185 | 0 | throw doris::Exception( | 186 | 0 | ErrorCode::INVALID_ARGUMENT, | 187 | 0 | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", | 188 | 0 | input_max_num_buckets, row_num); | 189 | 0 | } | 190 | 239 | this->data(place).set_parameters(input_max_num_buckets); | 191 | | } else { | 192 | | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); | 193 | | } | 194 | | | 195 | | if constexpr (is_string_type(Data::Ptype)) { | 196 | | this->data(place).add( | 197 | | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) | 198 | | .get_data_at(row_num)); | 199 | 239 | } else { | 200 | 239 | this->data(place).add( | 201 | 239 | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( | 202 | 239 | *columns[0]) | 203 | 239 | .get_data()[row_num]); | 204 | 239 | } | 205 | 239 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 180 | 251 | Arena&) const override { | 181 | 251 | if constexpr (has_input_param) { | 182 | 251 | Int32 input_max_num_buckets = | 183 | 251 | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); | 184 | 251 | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { | 185 | 0 | throw doris::Exception( | 186 | 0 | ErrorCode::INVALID_ARGUMENT, | 187 | 0 | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", | 188 | 0 | input_max_num_buckets, row_num); | 189 | 0 | } | 190 | 251 | this->data(place).set_parameters(input_max_num_buckets); | 191 | | } else { | 192 | | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); | 193 | | } | 194 | | | 195 | | if constexpr (is_string_type(Data::Ptype)) { | 196 | | this->data(place).add( | 197 | | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) | 198 | | .get_data_at(row_num)); | 199 | 251 | } else { | 200 | 251 | this->data(place).add( | 201 | 251 | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( | 202 | 251 | *columns[0]) | 203 | 251 | .get_data()[row_num]); | 204 | 251 | } | 205 | 251 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 180 | 215 | Arena&) const override { | 181 | 215 | if constexpr (has_input_param) { | 182 | 215 | Int32 input_max_num_buckets = | 183 | 215 | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); | 184 | 215 | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { | 185 | 0 | throw doris::Exception( | 186 | 0 | ErrorCode::INVALID_ARGUMENT, | 187 | 0 | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", | 188 | 0 | input_max_num_buckets, row_num); | 189 | 0 | } | 190 | 215 | this->data(place).set_parameters(input_max_num_buckets); | 191 | | } else { | 192 | | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); | 193 | | } | 194 | | | 195 | | if constexpr (is_string_type(Data::Ptype)) { | 196 | | this->data(place).add( | 197 | | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) | 198 | | .get_data_at(row_num)); | 199 | 215 | } else { | 200 | 215 | this->data(place).add( | 201 | 215 | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( | 202 | 215 | *columns[0]) | 203 | 215 | .get_data()[row_num]); | 204 | 215 | } | 205 | 215 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 180 | 239 | Arena&) const override { | 181 | 239 | if constexpr (has_input_param) { | 182 | 239 | Int32 input_max_num_buckets = | 183 | 239 | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); | 184 | 239 | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { | 185 | 0 | throw doris::Exception( | 186 | 0 | ErrorCode::INVALID_ARGUMENT, | 187 | 0 | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", | 188 | 0 | input_max_num_buckets, row_num); | 189 | 0 | } | 190 | 239 | this->data(place).set_parameters(input_max_num_buckets); | 191 | | } else { | 192 | | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); | 193 | | } | 194 | | | 195 | | if constexpr (is_string_type(Data::Ptype)) { | 196 | | this->data(place).add( | 197 | | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) | 198 | | .get_data_at(row_num)); | 199 | 239 | } else { | 200 | 239 | this->data(place).add( | 201 | 239 | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( | 202 | 239 | *columns[0]) | 203 | 239 | .get_data()[row_num]); | 204 | 239 | } | 205 | 239 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 180 | 239 | Arena&) const override { | 181 | 239 | if constexpr (has_input_param) { | 182 | 239 | Int32 input_max_num_buckets = | 183 | 239 | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); | 184 | 239 | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { | 185 | 0 | throw doris::Exception( | 186 | 0 | ErrorCode::INVALID_ARGUMENT, | 187 | 0 | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", | 188 | 0 | input_max_num_buckets, row_num); | 189 | 0 | } | 190 | 239 | this->data(place).set_parameters(input_max_num_buckets); | 191 | | } else { | 192 | | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); | 193 | | } | 194 | | | 195 | | if constexpr (is_string_type(Data::Ptype)) { | 196 | | this->data(place).add( | 197 | | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) | 198 | | .get_data_at(row_num)); | 199 | 239 | } else { | 200 | 239 | this->data(place).add( | 201 | 239 | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( | 202 | 239 | *columns[0]) | 203 | 239 | .get_data()[row_num]); | 204 | 239 | } | 205 | 239 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 180 | 224 | Arena&) const override { | 181 | 224 | if constexpr (has_input_param) { | 182 | 224 | Int32 input_max_num_buckets = | 183 | 224 | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); | 184 | 224 | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { | 185 | 0 | throw doris::Exception( | 186 | 0 | ErrorCode::INVALID_ARGUMENT, | 187 | 0 | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", | 188 | 0 | input_max_num_buckets, row_num); | 189 | 0 | } | 190 | 224 | this->data(place).set_parameters(input_max_num_buckets); | 191 | | } else { | 192 | | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); | 193 | | } | 194 | | | 195 | | if constexpr (is_string_type(Data::Ptype)) { | 196 | | this->data(place).add( | 197 | | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) | 198 | | .get_data_at(row_num)); | 199 | 224 | } else { | 200 | 224 | this->data(place).add( | 201 | 224 | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( | 202 | 224 | *columns[0]) | 203 | 224 | .get_data()[row_num]); | 204 | 224 | } | 205 | 224 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 180 | 224 | Arena&) const override { | 181 | 224 | if constexpr (has_input_param) { | 182 | 224 | Int32 input_max_num_buckets = | 183 | 224 | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); | 184 | 224 | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { | 185 | 0 | throw doris::Exception( | 186 | 0 | ErrorCode::INVALID_ARGUMENT, | 187 | 0 | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", | 188 | 0 | input_max_num_buckets, row_num); | 189 | 0 | } | 190 | 224 | this->data(place).set_parameters(input_max_num_buckets); | 191 | | } else { | 192 | | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); | 193 | | } | 194 | | | 195 | | if constexpr (is_string_type(Data::Ptype)) { | 196 | | this->data(place).add( | 197 | | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) | 198 | | .get_data_at(row_num)); | 199 | 224 | } else { | 200 | 224 | this->data(place).add( | 201 | 224 | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( | 202 | 224 | *columns[0]) | 203 | 224 | .get_data()[row_num]); | 204 | 224 | } | 205 | 224 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 180 | 63 | Arena&) const override { | 181 | 63 | if constexpr (has_input_param) { | 182 | 63 | Int32 input_max_num_buckets = | 183 | 63 | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); | 184 | 63 | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { | 185 | 0 | throw doris::Exception( | 186 | 0 | ErrorCode::INVALID_ARGUMENT, | 187 | 0 | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", | 188 | 0 | input_max_num_buckets, row_num); | 189 | 0 | } | 190 | 63 | this->data(place).set_parameters(input_max_num_buckets); | 191 | | } else { | 192 | | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); | 193 | | } | 194 | | | 195 | | if constexpr (is_string_type(Data::Ptype)) { | 196 | | this->data(place).add( | 197 | | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) | 198 | | .get_data_at(row_num)); | 199 | 63 | } else { | 200 | 63 | this->data(place).add( | 201 | 63 | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( | 202 | 63 | *columns[0]) | 203 | 63 | .get_data()[row_num]); | 204 | 63 | } | 205 | 63 | } |
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 180 | 2.18k | Arena&) const override { | 181 | 2.18k | if constexpr (has_input_param) { | 182 | 2.18k | Int32 input_max_num_buckets = | 183 | 2.18k | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); | 184 | 2.18k | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { | 185 | 0 | throw doris::Exception( | 186 | 0 | ErrorCode::INVALID_ARGUMENT, | 187 | 0 | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", | 188 | 0 | input_max_num_buckets, row_num); | 189 | 0 | } | 190 | 2.18k | this->data(place).set_parameters(input_max_num_buckets); | 191 | | } else { | 192 | | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); | 193 | | } | 194 | | | 195 | 2.18k | if constexpr (is_string_type(Data::Ptype)) { | 196 | 2.18k | this->data(place).add( | 197 | 2.18k | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) | 198 | 2.18k | .get_data_at(row_num)); | 199 | | } else { | 200 | | this->data(place).add( | 201 | | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( | 202 | | *columns[0]) | 203 | | .get_data()[row_num]); | 204 | | } | 205 | 2.18k | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 180 | 263 | Arena&) const override { | 181 | 263 | if constexpr (has_input_param) { | 182 | 263 | Int32 input_max_num_buckets = | 183 | 263 | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); | 184 | 263 | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { | 185 | 0 | throw doris::Exception( | 186 | 0 | ErrorCode::INVALID_ARGUMENT, | 187 | 0 | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", | 188 | 0 | input_max_num_buckets, row_num); | 189 | 0 | } | 190 | 263 | this->data(place).set_parameters(input_max_num_buckets); | 191 | | } else { | 192 | | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); | 193 | | } | 194 | | | 195 | | if constexpr (is_string_type(Data::Ptype)) { | 196 | | this->data(place).add( | 197 | | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) | 198 | | .get_data_at(row_num)); | 199 | 263 | } else { | 200 | 263 | this->data(place).add( | 201 | 263 | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( | 202 | 263 | *columns[0]) | 203 | 263 | .get_data()[row_num]); | 204 | 263 | } | 205 | 263 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 180 | 263 | Arena&) const override { | 181 | 263 | if constexpr (has_input_param) { | 182 | 263 | Int32 input_max_num_buckets = | 183 | 263 | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); | 184 | 263 | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { | 185 | 0 | throw doris::Exception( | 186 | 0 | ErrorCode::INVALID_ARGUMENT, | 187 | 0 | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", | 188 | 0 | input_max_num_buckets, row_num); | 189 | 0 | } | 190 | 263 | this->data(place).set_parameters(input_max_num_buckets); | 191 | | } else { | 192 | | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); | 193 | | } | 194 | | | 195 | | if constexpr (is_string_type(Data::Ptype)) { | 196 | | this->data(place).add( | 197 | | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) | 198 | | .get_data_at(row_num)); | 199 | 263 | } else { | 200 | 263 | this->data(place).add( | 201 | 263 | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( | 202 | 263 | *columns[0]) | 203 | 263 | .get_data()[row_num]); | 204 | 263 | } | 205 | 263 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 180 | 15 | Arena&) const override { | 181 | | if constexpr (has_input_param) { | 182 | | Int32 input_max_num_buckets = | 183 | | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); | 184 | | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { | 185 | | throw doris::Exception( | 186 | | ErrorCode::INVALID_ARGUMENT, | 187 | | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", | 188 | | input_max_num_buckets, row_num); | 189 | | } | 190 | | this->data(place).set_parameters(input_max_num_buckets); | 191 | 15 | } else { | 192 | 15 | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); | 193 | 15 | } | 194 | | | 195 | | if constexpr (is_string_type(Data::Ptype)) { | 196 | | this->data(place).add( | 197 | | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) | 198 | | .get_data_at(row_num)); | 199 | 15 | } else { | 200 | 15 | this->data(place).add( | 201 | 15 | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( | 202 | 15 | *columns[0]) | 203 | 15 | .get_data()[row_num]); | 204 | 15 | } | 205 | 15 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 180 | 108 | Arena&) const override { | 181 | | if constexpr (has_input_param) { | 182 | | Int32 input_max_num_buckets = | 183 | | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); | 184 | | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { | 185 | | throw doris::Exception( | 186 | | ErrorCode::INVALID_ARGUMENT, | 187 | | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", | 188 | | input_max_num_buckets, row_num); | 189 | | } | 190 | | this->data(place).set_parameters(input_max_num_buckets); | 191 | 108 | } else { | 192 | 108 | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); | 193 | 108 | } | 194 | | | 195 | | if constexpr (is_string_type(Data::Ptype)) { | 196 | | this->data(place).add( | 197 | | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) | 198 | | .get_data_at(row_num)); | 199 | 108 | } else { | 200 | 108 | this->data(place).add( | 201 | 108 | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( | 202 | 108 | *columns[0]) | 203 | 108 | .get_data()[row_num]); | 204 | 108 | } | 205 | 108 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 180 | 108 | Arena&) const override { | 181 | | if constexpr (has_input_param) { | 182 | | Int32 input_max_num_buckets = | 183 | | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); | 184 | | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { | 185 | | throw doris::Exception( | 186 | | ErrorCode::INVALID_ARGUMENT, | 187 | | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", | 188 | | input_max_num_buckets, row_num); | 189 | | } | 190 | | this->data(place).set_parameters(input_max_num_buckets); | 191 | 108 | } else { | 192 | 108 | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); | 193 | 108 | } | 194 | | | 195 | | if constexpr (is_string_type(Data::Ptype)) { | 196 | | this->data(place).add( | 197 | | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) | 198 | | .get_data_at(row_num)); | 199 | 108 | } else { | 200 | 108 | this->data(place).add( | 201 | 108 | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( | 202 | 108 | *columns[0]) | 203 | 108 | .get_data()[row_num]); | 204 | 108 | } | 205 | 108 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 180 | 248 | Arena&) const override { | 181 | | if constexpr (has_input_param) { | 182 | | Int32 input_max_num_buckets = | 183 | | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); | 184 | | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { | 185 | | throw doris::Exception( | 186 | | ErrorCode::INVALID_ARGUMENT, | 187 | | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", | 188 | | input_max_num_buckets, row_num); | 189 | | } | 190 | | this->data(place).set_parameters(input_max_num_buckets); | 191 | 248 | } else { | 192 | 248 | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); | 193 | 248 | } | 194 | | | 195 | | if constexpr (is_string_type(Data::Ptype)) { | 196 | | this->data(place).add( | 197 | | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) | 198 | | .get_data_at(row_num)); | 199 | 248 | } else { | 200 | 248 | this->data(place).add( | 201 | 248 | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( | 202 | 248 | *columns[0]) | 203 | 248 | .get_data()[row_num]); | 204 | 248 | } | 205 | 248 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 180 | 122 | Arena&) const override { | 181 | | if constexpr (has_input_param) { | 182 | | Int32 input_max_num_buckets = | 183 | | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); | 184 | | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { | 185 | | throw doris::Exception( | 186 | | ErrorCode::INVALID_ARGUMENT, | 187 | | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", | 188 | | input_max_num_buckets, row_num); | 189 | | } | 190 | | this->data(place).set_parameters(input_max_num_buckets); | 191 | 122 | } else { | 192 | 122 | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); | 193 | 122 | } | 194 | | | 195 | | if constexpr (is_string_type(Data::Ptype)) { | 196 | | this->data(place).add( | 197 | | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) | 198 | | .get_data_at(row_num)); | 199 | 122 | } else { | 200 | 122 | this->data(place).add( | 201 | 122 | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( | 202 | 122 | *columns[0]) | 203 | 122 | .get_data()[row_num]); | 204 | 122 | } | 205 | 122 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 180 | 108 | Arena&) const override { | 181 | | if constexpr (has_input_param) { | 182 | | Int32 input_max_num_buckets = | 183 | | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); | 184 | | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { | 185 | | throw doris::Exception( | 186 | | ErrorCode::INVALID_ARGUMENT, | 187 | | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", | 188 | | input_max_num_buckets, row_num); | 189 | | } | 190 | | this->data(place).set_parameters(input_max_num_buckets); | 191 | 108 | } else { | 192 | 108 | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); | 193 | 108 | } | 194 | | | 195 | | if constexpr (is_string_type(Data::Ptype)) { | 196 | | this->data(place).add( | 197 | | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) | 198 | | .get_data_at(row_num)); | 199 | 108 | } else { | 200 | 108 | this->data(place).add( | 201 | 108 | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( | 202 | 108 | *columns[0]) | 203 | 108 | .get_data()[row_num]); | 204 | 108 | } | 205 | 108 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 180 | 108 | Arena&) const override { | 181 | | if constexpr (has_input_param) { | 182 | | Int32 input_max_num_buckets = | 183 | | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); | 184 | | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { | 185 | | throw doris::Exception( | 186 | | ErrorCode::INVALID_ARGUMENT, | 187 | | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", | 188 | | input_max_num_buckets, row_num); | 189 | | } | 190 | | this->data(place).set_parameters(input_max_num_buckets); | 191 | 108 | } else { | 192 | 108 | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); | 193 | 108 | } | 194 | | | 195 | | if constexpr (is_string_type(Data::Ptype)) { | 196 | | this->data(place).add( | 197 | | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) | 198 | | .get_data_at(row_num)); | 199 | 108 | } else { | 200 | 108 | this->data(place).add( | 201 | 108 | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( | 202 | 108 | *columns[0]) | 203 | 108 | .get_data()[row_num]); | 204 | 108 | } | 205 | 108 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 180 | 108 | Arena&) const override { | 181 | | if constexpr (has_input_param) { | 182 | | Int32 input_max_num_buckets = | 183 | | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); | 184 | | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { | 185 | | throw doris::Exception( | 186 | | ErrorCode::INVALID_ARGUMENT, | 187 | | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", | 188 | | input_max_num_buckets, row_num); | 189 | | } | 190 | | this->data(place).set_parameters(input_max_num_buckets); | 191 | 108 | } else { | 192 | 108 | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); | 193 | 108 | } | 194 | | | 195 | | if constexpr (is_string_type(Data::Ptype)) { | 196 | | this->data(place).add( | 197 | | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) | 198 | | .get_data_at(row_num)); | 199 | 108 | } else { | 200 | 108 | this->data(place).add( | 201 | 108 | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( | 202 | 108 | *columns[0]) | 203 | 108 | .get_data()[row_num]); | 204 | 108 | } | 205 | 108 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 180 | 108 | Arena&) const override { | 181 | | if constexpr (has_input_param) { | 182 | | Int32 input_max_num_buckets = | 183 | | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); | 184 | | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { | 185 | | throw doris::Exception( | 186 | | ErrorCode::INVALID_ARGUMENT, | 187 | | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", | 188 | | input_max_num_buckets, row_num); | 189 | | } | 190 | | this->data(place).set_parameters(input_max_num_buckets); | 191 | 108 | } else { | 192 | 108 | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); | 193 | 108 | } | 194 | | | 195 | | if constexpr (is_string_type(Data::Ptype)) { | 196 | | this->data(place).add( | 197 | | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) | 198 | | .get_data_at(row_num)); | 199 | 108 | } else { | 200 | 108 | this->data(place).add( | 201 | 108 | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( | 202 | 108 | *columns[0]) | 203 | 108 | .get_data()[row_num]); | 204 | 108 | } | 205 | 108 | } |
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 180 | 226 | Arena&) const override { | 181 | | if constexpr (has_input_param) { | 182 | | Int32 input_max_num_buckets = | 183 | | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); | 184 | | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { | 185 | | throw doris::Exception( | 186 | | ErrorCode::INVALID_ARGUMENT, | 187 | | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", | 188 | | input_max_num_buckets, row_num); | 189 | | } | 190 | | this->data(place).set_parameters(input_max_num_buckets); | 191 | 226 | } else { | 192 | 226 | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); | 193 | 226 | } | 194 | | | 195 | 226 | if constexpr (is_string_type(Data::Ptype)) { | 196 | 226 | this->data(place).add( | 197 | 226 | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) | 198 | 226 | .get_data_at(row_num)); | 199 | | } else { | 200 | | this->data(place).add( | 201 | | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( | 202 | | *columns[0]) | 203 | | .get_data()[row_num]); | 204 | | } | 205 | 226 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 180 | 216 | Arena&) const override { | 181 | | if constexpr (has_input_param) { | 182 | | Int32 input_max_num_buckets = | 183 | | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); | 184 | | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { | 185 | | throw doris::Exception( | 186 | | ErrorCode::INVALID_ARGUMENT, | 187 | | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", | 188 | | input_max_num_buckets, row_num); | 189 | | } | 190 | | this->data(place).set_parameters(input_max_num_buckets); | 191 | 216 | } else { | 192 | 216 | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); | 193 | 216 | } | 194 | | | 195 | | if constexpr (is_string_type(Data::Ptype)) { | 196 | | this->data(place).add( | 197 | | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) | 198 | | .get_data_at(row_num)); | 199 | 216 | } else { | 200 | 216 | this->data(place).add( | 201 | 216 | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( | 202 | 216 | *columns[0]) | 203 | 216 | .get_data()[row_num]); | 204 | 216 | } | 205 | 216 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 180 | 216 | Arena&) const override { | 181 | | if constexpr (has_input_param) { | 182 | | Int32 input_max_num_buckets = | 183 | | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); | 184 | | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { | 185 | | throw doris::Exception( | 186 | | ErrorCode::INVALID_ARGUMENT, | 187 | | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", | 188 | | input_max_num_buckets, row_num); | 189 | | } | 190 | | this->data(place).set_parameters(input_max_num_buckets); | 191 | 216 | } else { | 192 | 216 | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); | 193 | 216 | } | 194 | | | 195 | | if constexpr (is_string_type(Data::Ptype)) { | 196 | | this->data(place).add( | 197 | | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) | 198 | | .get_data_at(row_num)); | 199 | 216 | } else { | 200 | 216 | this->data(place).add( | 201 | 216 | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( | 202 | 216 | *columns[0]) | 203 | 216 | .get_data()[row_num]); | 204 | 216 | } | 205 | 216 | } |
|
206 | | |
207 | 29 | void reset(AggregateDataPtr place) const override { this->data(place).reset(); }Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb1EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb1EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb1EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb1EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb1EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb1EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb1EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EE5resetEPc _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EE5resetEPc Line | Count | Source | 207 | 26 | void reset(AggregateDataPtr place) const override { this->data(place).reset(); } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EE5resetEPc Line | Count | Source | 207 | 3 | void reset(AggregateDataPtr place) const override { this->data(place).reset(); } |
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb0EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb0EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb0EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb0EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb0EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb0EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb0EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb0EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb0EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb0EE5resetEPc |
208 | | |
209 | | void merge(AggregateDataPtr __restrict place, ConstAggregateDataPtr rhs, |
210 | 1.26k | Arena&) const override { |
211 | 1.26k | this->data(place).merge(this->data(rhs)); |
212 | 1.26k | } Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EE5mergeEPcPKcRNS_5ArenaE _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 210 | 10 | Arena&) const override { | 211 | 10 | this->data(place).merge(this->data(rhs)); | 212 | 10 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 210 | 10 | Arena&) const override { | 211 | 10 | this->data(place).merge(this->data(rhs)); | 212 | 10 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 210 | 7 | Arena&) const override { | 211 | 7 | this->data(place).merge(this->data(rhs)); | 212 | 7 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 210 | 10 | Arena&) const override { | 211 | 10 | this->data(place).merge(this->data(rhs)); | 212 | 10 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 210 | 10 | Arena&) const override { | 211 | 10 | this->data(place).merge(this->data(rhs)); | 212 | 10 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb1EE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 210 | 4 | Arena&) const override { | 211 | 4 | this->data(place).merge(this->data(rhs)); | 212 | 4 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb1EE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 210 | 4 | Arena&) const override { | 211 | 4 | this->data(place).merge(this->data(rhs)); | 212 | 4 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb1EE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 210 | 12 | Arena&) const override { | 211 | 12 | this->data(place).merge(this->data(rhs)); | 212 | 12 | } |
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb1EE5mergeEPcPKcRNS_5ArenaE Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb1EE5mergeEPcPKcRNS_5ArenaE Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb1EE5mergeEPcPKcRNS_5ArenaE _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb1EE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 210 | 36 | Arena&) const override { | 211 | 36 | this->data(place).merge(this->data(rhs)); | 212 | 36 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 210 | 13 | Arena&) const override { | 211 | 13 | this->data(place).merge(this->data(rhs)); | 212 | 13 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 210 | 13 | Arena&) const override { | 211 | 13 | this->data(place).merge(this->data(rhs)); | 212 | 13 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 210 | 6 | Arena&) const override { | 211 | 6 | this->data(place).merge(this->data(rhs)); | 212 | 6 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 210 | 72 | Arena&) const override { | 211 | 72 | this->data(place).merge(this->data(rhs)); | 212 | 72 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 210 | 72 | Arena&) const override { | 211 | 72 | this->data(place).merge(this->data(rhs)); | 212 | 72 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 210 | 201 | Arena&) const override { | 211 | 201 | this->data(place).merge(this->data(rhs)); | 212 | 201 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 210 | 72 | Arena&) const override { | 211 | 72 | this->data(place).merge(this->data(rhs)); | 212 | 72 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb0EE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 210 | 72 | Arena&) const override { | 211 | 72 | this->data(place).merge(this->data(rhs)); | 212 | 72 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb0EE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 210 | 72 | Arena&) const override { | 211 | 72 | this->data(place).merge(this->data(rhs)); | 212 | 72 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb0EE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 210 | 72 | Arena&) const override { | 211 | 72 | this->data(place).merge(this->data(rhs)); | 212 | 72 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb0EE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 210 | 71 | Arena&) const override { | 211 | 71 | this->data(place).merge(this->data(rhs)); | 212 | 71 | } |
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb0EE5mergeEPcPKcRNS_5ArenaE Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb0EE5mergeEPcPKcRNS_5ArenaE Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb0EE5mergeEPcPKcRNS_5ArenaE _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb0EE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 210 | 143 | Arena&) const override { | 211 | 143 | this->data(place).merge(this->data(rhs)); | 212 | 143 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb0EE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 210 | 142 | Arena&) const override { | 211 | 142 | this->data(place).merge(this->data(rhs)); | 212 | 142 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb0EE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 210 | 142 | Arena&) const override { | 211 | 142 | this->data(place).merge(this->data(rhs)); | 212 | 142 | } |
|
213 | | |
214 | 1.29k | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { |
215 | 1.29k | this->data(place).write(buf); |
216 | 1.29k | } Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EE9serializeEPKcRNS_14BufferWritableE _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 214 | 10 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 215 | 10 | this->data(place).write(buf); | 216 | 10 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 214 | 10 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 215 | 10 | this->data(place).write(buf); | 216 | 10 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 214 | 7 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 215 | 7 | this->data(place).write(buf); | 216 | 7 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 214 | 10 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 215 | 10 | this->data(place).write(buf); | 216 | 10 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 214 | 10 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 215 | 10 | this->data(place).write(buf); | 216 | 10 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb1EE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 214 | 4 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 215 | 4 | this->data(place).write(buf); | 216 | 4 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb1EE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 214 | 4 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 215 | 4 | this->data(place).write(buf); | 216 | 4 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb1EE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 214 | 12 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 215 | 12 | this->data(place).write(buf); | 216 | 12 | } |
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb1EE9serializeEPKcRNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb1EE9serializeEPKcRNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb1EE9serializeEPKcRNS_14BufferWritableE _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb1EE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 214 | 36 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 215 | 36 | this->data(place).write(buf); | 216 | 36 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 214 | 13 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 215 | 13 | this->data(place).write(buf); | 216 | 13 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 214 | 13 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 215 | 13 | this->data(place).write(buf); | 216 | 13 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 214 | 6 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 215 | 6 | this->data(place).write(buf); | 216 | 6 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 214 | 72 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 215 | 72 | this->data(place).write(buf); | 216 | 72 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 214 | 71 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 215 | 71 | this->data(place).write(buf); | 216 | 71 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 214 | 240 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 215 | 240 | this->data(place).write(buf); | 216 | 240 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 214 | 72 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 215 | 72 | this->data(place).write(buf); | 216 | 72 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb0EE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 214 | 72 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 215 | 72 | this->data(place).write(buf); | 216 | 72 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb0EE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 214 | 72 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 215 | 72 | this->data(place).write(buf); | 216 | 72 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb0EE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 214 | 72 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 215 | 72 | this->data(place).write(buf); | 216 | 72 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb0EE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 214 | 71 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 215 | 71 | this->data(place).write(buf); | 216 | 71 | } |
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb0EE9serializeEPKcRNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb0EE9serializeEPKcRNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb0EE9serializeEPKcRNS_14BufferWritableE _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb0EE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 214 | 142 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 215 | 142 | this->data(place).write(buf); | 216 | 142 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb0EE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 214 | 139 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 215 | 139 | this->data(place).write(buf); | 216 | 139 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb0EE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 214 | 141 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 215 | 141 | this->data(place).write(buf); | 216 | 141 | } |
|
217 | | |
218 | | void deserialize(AggregateDataPtr __restrict place, BufferReadable& buf, |
219 | 1.26k | Arena&) const override { |
220 | 1.26k | this->data(place).read(buf); |
221 | 1.26k | } Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 219 | 10 | Arena&) const override { | 220 | 10 | this->data(place).read(buf); | 221 | 10 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 219 | 10 | Arena&) const override { | 220 | 10 | this->data(place).read(buf); | 221 | 10 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 219 | 7 | Arena&) const override { | 220 | 7 | this->data(place).read(buf); | 221 | 7 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 219 | 10 | Arena&) const override { | 220 | 10 | this->data(place).read(buf); | 221 | 10 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 219 | 10 | Arena&) const override { | 220 | 10 | this->data(place).read(buf); | 221 | 10 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 219 | 4 | Arena&) const override { | 220 | 4 | this->data(place).read(buf); | 221 | 4 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 219 | 4 | Arena&) const override { | 220 | 4 | this->data(place).read(buf); | 221 | 4 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 219 | 12 | Arena&) const override { | 220 | 12 | this->data(place).read(buf); | 221 | 12 | } |
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 219 | 36 | Arena&) const override { | 220 | 36 | this->data(place).read(buf); | 221 | 36 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 219 | 13 | Arena&) const override { | 220 | 13 | this->data(place).read(buf); | 221 | 13 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 219 | 13 | Arena&) const override { | 220 | 13 | this->data(place).read(buf); | 221 | 13 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 219 | 6 | Arena&) const override { | 220 | 6 | this->data(place).read(buf); | 221 | 6 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 219 | 72 | Arena&) const override { | 220 | 72 | this->data(place).read(buf); | 221 | 72 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 219 | 72 | Arena&) const override { | 220 | 72 | this->data(place).read(buf); | 221 | 72 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 219 | 201 | Arena&) const override { | 220 | 201 | this->data(place).read(buf); | 221 | 201 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 219 | 72 | Arena&) const override { | 220 | 72 | this->data(place).read(buf); | 221 | 72 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 219 | 72 | Arena&) const override { | 220 | 72 | this->data(place).read(buf); | 221 | 72 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 219 | 72 | Arena&) const override { | 220 | 72 | this->data(place).read(buf); | 221 | 72 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 219 | 72 | Arena&) const override { | 220 | 72 | this->data(place).read(buf); | 221 | 72 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 219 | 71 | Arena&) const override { | 220 | 71 | this->data(place).read(buf); | 221 | 71 | } |
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 219 | 143 | Arena&) const override { | 220 | 143 | this->data(place).read(buf); | 221 | 143 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 219 | 142 | Arena&) const override { | 220 | 142 | this->data(place).read(buf); | 221 | 142 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 219 | 142 | Arena&) const override { | 220 | 142 | this->data(place).read(buf); | 221 | 142 | } |
|
222 | | |
223 | 700 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { |
224 | 700 | const std::string bucket_json = this->data(place).get(_argument_type); |
225 | 700 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); |
226 | 700 | } Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EE18insert_result_intoEPKcRNS_7IColumnE _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 223 | 9 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 224 | 9 | const std::string bucket_json = this->data(place).get(_argument_type); | 225 | 9 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); | 226 | 9 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 223 | 9 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 224 | 9 | const std::string bucket_json = this->data(place).get(_argument_type); | 225 | 9 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); | 226 | 9 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 223 | 4 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 224 | 4 | const std::string bucket_json = this->data(place).get(_argument_type); | 225 | 4 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); | 226 | 4 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 223 | 9 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 224 | 9 | const std::string bucket_json = this->data(place).get(_argument_type); | 225 | 9 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); | 226 | 9 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 223 | 9 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 224 | 9 | const std::string bucket_json = this->data(place).get(_argument_type); | 225 | 9 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); | 226 | 9 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb1EE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 223 | 7 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 224 | 7 | const std::string bucket_json = this->data(place).get(_argument_type); | 225 | 7 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); | 226 | 7 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb1EE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 223 | 7 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 224 | 7 | const std::string bucket_json = this->data(place).get(_argument_type); | 225 | 7 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); | 226 | 7 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb1EE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 223 | 12 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 224 | 12 | const std::string bucket_json = this->data(place).get(_argument_type); | 225 | 12 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); | 226 | 12 | } |
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb1EE18insert_result_intoEPKcRNS_7IColumnE Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb1EE18insert_result_intoEPKcRNS_7IColumnE Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb1EE18insert_result_intoEPKcRNS_7IColumnE _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb1EE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 223 | 29 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 224 | 29 | const std::string bucket_json = this->data(place).get(_argument_type); | 225 | 29 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); | 226 | 29 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 223 | 14 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 224 | 14 | const std::string bucket_json = this->data(place).get(_argument_type); | 225 | 14 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); | 226 | 14 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 223 | 14 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 224 | 14 | const std::string bucket_json = this->data(place).get(_argument_type); | 225 | 14 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); | 226 | 14 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 223 | 2 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 224 | 2 | const std::string bucket_json = this->data(place).get(_argument_type); | 225 | 2 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); | 226 | 2 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 223 | 39 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 224 | 39 | const std::string bucket_json = this->data(place).get(_argument_type); | 225 | 39 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); | 226 | 39 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 223 | 39 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 224 | 39 | const std::string bucket_json = this->data(place).get(_argument_type); | 225 | 39 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); | 226 | 39 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 223 | 63 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 224 | 63 | const std::string bucket_json = this->data(place).get(_argument_type); | 225 | 63 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); | 226 | 63 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 223 | 56 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 224 | 56 | const std::string bucket_json = this->data(place).get(_argument_type); | 225 | 56 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); | 226 | 56 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb0EE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 223 | 39 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 224 | 39 | const std::string bucket_json = this->data(place).get(_argument_type); | 225 | 39 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); | 226 | 39 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb0EE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 223 | 39 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 224 | 39 | const std::string bucket_json = this->data(place).get(_argument_type); | 225 | 39 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); | 226 | 39 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb0EE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 223 | 39 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 224 | 39 | const std::string bucket_json = this->data(place).get(_argument_type); | 225 | 39 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); | 226 | 39 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb0EE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 223 | 37 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 224 | 37 | const std::string bucket_json = this->data(place).get(_argument_type); | 225 | 37 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); | 226 | 37 | } |
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb0EE18insert_result_intoEPKcRNS_7IColumnE Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb0EE18insert_result_intoEPKcRNS_7IColumnE Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb0EE18insert_result_intoEPKcRNS_7IColumnE _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb0EE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 223 | 76 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 224 | 76 | const std::string bucket_json = this->data(place).get(_argument_type); | 225 | 76 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); | 226 | 76 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb0EE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 223 | 74 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 224 | 74 | const std::string bucket_json = this->data(place).get(_argument_type); | 225 | 74 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); | 226 | 74 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb0EE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 223 | 74 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 224 | 74 | const std::string bucket_json = this->data(place).get(_argument_type); | 225 | 74 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); | 226 | 74 | } |
|
227 | | |
228 | | private: |
229 | | DataTypePtr _argument_type; |
230 | | }; |
231 | | |
232 | | } // namespace doris |