Coverage Report

Created: 2026-09-17 12:07

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
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/column/column_vector.h"
33
#include "core/data_type/data_type_string.h"
34
#include "core/string_ref.h"
35
#include "core/types.h"
36
#include "exec/common/histogram_helpers.hpp"
37
#include "exprs/aggregate/aggregate_function.h"
38
#include "exprs/aggregate/aggregate_function_simple_factory.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.31k
    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
358
    void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EE14set_parametersEm
Line
Count
Source
51
359
    void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EE14set_parametersEm
Line
Count
Source
51
536
    void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EE14set_parametersEm
Line
Count
Source
51
362
    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; }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE43EE14set_parametersEm
Line
Count
Source
51
142
    void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EE14set_parametersEm
Line
Count
Source
51
3
    void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; }
52
53
34
    void reset() {
54
34
        ordered_map.clear();
55
34
        max_num_buckets = BUCKET_NUM_INIT_VALUE;
56
34
    }
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EE5resetEv
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EE5resetEv
Line
Count
Source
53
3
    void reset() {
54
3
        ordered_map.clear();
55
3
        max_num_buckets = BUCKET_NUM_INIT_VALUE;
56
3
    }
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EE5resetEv
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EE5resetEv
Line
Count
Source
53
28
    void reset() {
54
28
        ordered_map.clear();
55
28
        max_num_buckets = BUCKET_NUM_INIT_VALUE;
56
28
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EE5resetEv
Line
Count
Source
53
3
    void reset() {
54
3
        ordered_map.clear();
55
3
        max_num_buckets = BUCKET_NUM_INIT_VALUE;
56
3
    }
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
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE43EE5resetEv
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EE5resetEv
57
58
2.40k
    void add(const StringRef& value, const UInt64& number = 1) {
59
2.40k
        std::string data = value.to_string();
60
2.40k
        auto it = ordered_map.find(data);
61
2.40k
        if (it != ordered_map.end()) {
62
131
            it->second = it->second + number;
63
2.27k
        } else {
64
2.27k
            ordered_map.insert({data, number});
65
2.27k
        }
66
2.40k
    }
67
68
3.91k
    void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) {
69
3.91k
        auto it = ordered_map.find(value);
70
3.91k
        if (it != ordered_map.end()) {
71
111
            it->second = it->second + number;
72
3.79k
        } else {
73
3.79k
            ordered_map.insert({value, number});
74
3.79k
        }
75
3.91k
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EE3addERKhRKm
Line
Count
Source
68
14
    void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) {
69
14
        auto it = ordered_map.find(value);
70
14
        if (it != ordered_map.end()) {
71
10
            it->second = it->second + number;
72
10
        } else {
73
4
            ordered_map.insert({value, number});
74
4
        }
75
14
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EE3addERKaRKm
Line
Count
Source
68
358
    void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) {
69
358
        auto it = ordered_map.find(value);
70
358
        if (it != ordered_map.end()) {
71
7
            it->second = it->second + number;
72
351
        } else {
73
351
            ordered_map.insert({value, number});
74
351
        }
75
358
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EE3addERKsRKm
Line
Count
Source
68
358
    void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) {
69
358
        auto it = ordered_map.find(value);
70
358
        if (it != ordered_map.end()) {
71
6
            it->second = it->second + number;
72
352
        } else {
73
352
            ordered_map.insert({value, number});
74
352
        }
75
358
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EE3addERKiRKm
Line
Count
Source
68
536
    void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) {
69
536
        auto it = ordered_map.find(value);
70
536
        if (it != ordered_map.end()) {
71
21
            it->second = it->second + number;
72
515
        } else {
73
515
            ordered_map.insert({value, number});
74
515
        }
75
536
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EE3addERKlRKm
Line
Count
Source
68
362
    void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) {
69
362
        auto it = ordered_map.find(value);
70
362
        if (it != ordered_map.end()) {
71
8
            it->second = it->second + number;
72
354
        } else {
73
354
            ordered_map.insert({value, number});
74
354
        }
75
362
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EE3addERKnRKm
Line
Count
Source
68
347
    void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) {
69
347
        auto it = ordered_map.find(value);
70
347
        if (it != ordered_map.end()) {
71
4
            it->second = it->second + number;
72
343
        } else {
73
343
            ordered_map.insert({value, number});
74
343
        }
75
347
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EE3addERKfRKm
Line
Count
Source
68
331
    void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) {
69
331
        auto it = ordered_map.find(value);
70
331
        if (it != ordered_map.end()) {
71
4
            it->second = it->second + number;
72
327
        } else {
73
327
            ordered_map.insert({value, number});
74
327
        }
75
331
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EE3addERKdRKm
Line
Count
Source
68
332
    void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) {
69
332
        auto it = ordered_map.find(value);
70
332
        if (it != ordered_map.end()) {
71
4
            it->second = it->second + number;
72
328
        } else {
73
328
            ordered_map.insert({value, number});
74
328
        }
75
332
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EE3addERKNS_7DecimalIiEERKm
Line
Count
Source
68
169
    void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) {
69
169
        auto it = ordered_map.find(value);
70
169
        if (it != ordered_map.end()) {
71
8
            it->second = it->second + number;
72
161
        } else {
73
161
            ordered_map.insert({value, number});
74
161
        }
75
169
    }
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EE3addERKNS_7DecimalIlEERKm
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EE3addERKNS_12Decimal128V3ERKm
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EE3addERKNS_7DecimalIN4wide7integerILm256EiEEEERKm
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EE3addERKNS_11DateV2ValueINS_15DateV2ValueTypeEEERKm
Line
Count
Source
68
479
    void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) {
69
479
        auto it = ordered_map.find(value);
70
479
        if (it != ordered_map.end()) {
71
18
            it->second = it->second + number;
72
461
        } else {
73
461
            ordered_map.insert({value, number});
74
461
        }
75
479
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EE3addERKNS_11DateV2ValueINS_19DateTimeV2ValueTypeEEERKm
Line
Count
Source
68
479
    void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) {
69
479
        auto it = ordered_map.find(value);
70
479
        if (it != ordered_map.end()) {
71
21
            it->second = it->second + number;
72
458
        } else {
73
458
            ordered_map.insert({value, number});
74
458
        }
75
479
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE43EE3addERKNS_16TimeStampNsValueERKm
Line
Count
Source
68
142
    void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) {
69
142
        auto it = ordered_map.find(value);
70
142
        if (it != ordered_map.end()) {
71
0
            it->second = it->second + number;
72
142
        } else {
73
142
            ordered_map.insert({value, number});
74
142
        }
75
142
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EE3addERKNS_16TimestampTzValueERKm
Line
Count
Source
68
3
    void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) {
69
3
        auto it = ordered_map.find(value);
70
3
        if (it != ordered_map.end()) {
71
0
            it->second = it->second + number;
72
3
        } else {
73
3
            ordered_map.insert({value, number});
74
3
        }
75
3
    }
76
77
1.34k
    void merge(const AggregateFunctionHistogramData& rhs) {
78
        // if rhs.max_num_buckets == 0, it means the input block for serialization is all null
79
        // we should discard this data, because histogram only fouce on the not-null data
80
1.34k
        if (!rhs.max_num_buckets) {
81
100
            return;
82
100
        }
83
84
1.24k
        if (!max_num_buckets) {
85
566
            max_num_buckets = rhs.max_num_buckets;
86
680
        } else if (UNLIKELY(max_num_buckets != rhs.max_num_buckets)) {
87
12
            throw Exception(ErrorCode::INVALID_ARGUMENT,
88
12
                            "histogram aggregate states have incompatible bucket counts: {} vs {}",
89
12
                            max_num_buckets, rhs.max_num_buckets);
90
12
        }
91
92
4.20k
        for (auto rhs_it : rhs.ordered_map) {
93
4.20k
            auto lhs_it = ordered_map.find(rhs_it.first);
94
4.20k
            if (lhs_it != ordered_map.end()) {
95
2.05k
                lhs_it->second += rhs_it.second;
96
2.15k
            } else {
97
2.15k
                ordered_map.insert({rhs_it.first, rhs_it.second});
98
2.15k
            }
99
4.20k
        }
100
1.23k
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EE5mergeERKS2_
Line
Count
Source
77
5
    void merge(const AggregateFunctionHistogramData& rhs) {
78
        // if rhs.max_num_buckets == 0, it means the input block for serialization is all null
79
        // we should discard this data, because histogram only fouce on the not-null data
80
5
        if (!rhs.max_num_buckets) {
81
2
            return;
82
2
        }
83
84
3
        if (!max_num_buckets) {
85
1
            max_num_buckets = rhs.max_num_buckets;
86
2
        } else if (UNLIKELY(max_num_buckets != rhs.max_num_buckets)) {
87
0
            throw Exception(ErrorCode::INVALID_ARGUMENT,
88
0
                            "histogram aggregate states have incompatible bucket counts: {} vs {}",
89
0
                            max_num_buckets, rhs.max_num_buckets);
90
0
        }
91
92
5
        for (auto rhs_it : rhs.ordered_map) {
93
5
            auto lhs_it = ordered_map.find(rhs_it.first);
94
5
            if (lhs_it != ordered_map.end()) {
95
3
                lhs_it->second += rhs_it.second;
96
3
            } else {
97
2
                ordered_map.insert({rhs_it.first, rhs_it.second});
98
2
            }
99
5
        }
100
3
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EE5mergeERKS2_
Line
Count
Source
77
89
    void merge(const AggregateFunctionHistogramData& rhs) {
78
        // if rhs.max_num_buckets == 0, it means the input block for serialization is all null
79
        // we should discard this data, because histogram only fouce on the not-null data
80
89
        if (!rhs.max_num_buckets) {
81
8
            return;
82
8
        }
83
84
81
        if (!max_num_buckets) {
85
36
            max_num_buckets = rhs.max_num_buckets;
86
45
        } else if (UNLIKELY(max_num_buckets != rhs.max_num_buckets)) {
87
4
            throw Exception(ErrorCode::INVALID_ARGUMENT,
88
4
                            "histogram aggregate states have incompatible bucket counts: {} vs {}",
89
4
                            max_num_buckets, rhs.max_num_buckets);
90
4
        }
91
92
253
        for (auto rhs_it : rhs.ordered_map) {
93
253
            auto lhs_it = ordered_map.find(rhs_it.first);
94
253
            if (lhs_it != ordered_map.end()) {
95
100
                lhs_it->second += rhs_it.second;
96
153
            } else {
97
153
                ordered_map.insert({rhs_it.first, rhs_it.second});
98
153
            }
99
253
        }
100
77
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EE5mergeERKS2_
Line
Count
Source
77
78
    void merge(const AggregateFunctionHistogramData& rhs) {
78
        // if rhs.max_num_buckets == 0, it means the input block for serialization is all null
79
        // we should discard this data, because histogram only fouce on the not-null data
80
78
        if (!rhs.max_num_buckets) {
81
5
            return;
82
5
        }
83
84
73
        if (!max_num_buckets) {
85
31
            max_num_buckets = rhs.max_num_buckets;
86
42
        } else if (UNLIKELY(max_num_buckets != rhs.max_num_buckets)) {
87
0
            throw Exception(ErrorCode::INVALID_ARGUMENT,
88
0
                            "histogram aggregate states have incompatible bucket counts: {} vs {}",
89
0
                            max_num_buckets, rhs.max_num_buckets);
90
0
        }
91
92
259
        for (auto rhs_it : rhs.ordered_map) {
93
259
            auto lhs_it = ordered_map.find(rhs_it.first);
94
259
            if (lhs_it != ordered_map.end()) {
95
104
                lhs_it->second += rhs_it.second;
96
155
            } else {
97
155
                ordered_map.insert({rhs_it.first, rhs_it.second});
98
155
            }
99
259
        }
100
73
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EE5mergeERKS2_
Line
Count
Source
77
237
    void merge(const AggregateFunctionHistogramData& rhs) {
78
        // if rhs.max_num_buckets == 0, it means the input block for serialization is all null
79
        // we should discard this data, because histogram only fouce on the not-null data
80
237
        if (!rhs.max_num_buckets) {
81
23
            return;
82
23
        }
83
84
214
        if (!max_num_buckets) {
85
102
            max_num_buckets = rhs.max_num_buckets;
86
112
        } else if (UNLIKELY(max_num_buckets != rhs.max_num_buckets)) {
87
8
            throw Exception(ErrorCode::INVALID_ARGUMENT,
88
8
                            "histogram aggregate states have incompatible bucket counts: {} vs {}",
89
8
                            max_num_buckets, rhs.max_num_buckets);
90
8
        }
91
92
384
        for (auto rhs_it : rhs.ordered_map) {
93
384
            auto lhs_it = ordered_map.find(rhs_it.first);
94
384
            if (lhs_it != ordered_map.end()) {
95
165
                lhs_it->second += rhs_it.second;
96
219
            } else {
97
219
                ordered_map.insert({rhs_it.first, rhs_it.second});
98
219
            }
99
384
        }
100
206
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EE5mergeERKS2_
Line
Count
Source
77
78
    void merge(const AggregateFunctionHistogramData& rhs) {
78
        // if rhs.max_num_buckets == 0, it means the input block for serialization is all null
79
        // we should discard this data, because histogram only fouce on the not-null data
80
78
        if (!rhs.max_num_buckets) {
81
7
            return;
82
7
        }
83
84
71
        if (!max_num_buckets) {
85
30
            max_num_buckets = rhs.max_num_buckets;
86
41
        } else if (UNLIKELY(max_num_buckets != rhs.max_num_buckets)) {
87
0
            throw Exception(ErrorCode::INVALID_ARGUMENT,
88
0
                            "histogram aggregate states have incompatible bucket counts: {} vs {}",
89
0
                            max_num_buckets, rhs.max_num_buckets);
90
0
        }
91
92
247
        for (auto rhs_it : rhs.ordered_map) {
93
247
            auto lhs_it = ordered_map.find(rhs_it.first);
94
247
            if (lhs_it != ordered_map.end()) {
95
102
                lhs_it->second += rhs_it.second;
96
145
            } else {
97
145
                ordered_map.insert({rhs_it.first, rhs_it.second});
98
145
            }
99
247
        }
100
71
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EE5mergeERKS2_
Line
Count
Source
77
78
    void merge(const AggregateFunctionHistogramData& rhs) {
78
        // if rhs.max_num_buckets == 0, it means the input block for serialization is all null
79
        // we should discard this data, because histogram only fouce on the not-null data
80
78
        if (!rhs.max_num_buckets) {
81
7
            return;
82
7
        }
83
84
71
        if (!max_num_buckets) {
85
30
            max_num_buckets = rhs.max_num_buckets;
86
41
        } else if (UNLIKELY(max_num_buckets != rhs.max_num_buckets)) {
87
0
            throw Exception(ErrorCode::INVALID_ARGUMENT,
88
0
                            "histogram aggregate states have incompatible bucket counts: {} vs {}",
89
0
                            max_num_buckets, rhs.max_num_buckets);
90
0
        }
91
92
250
        for (auto rhs_it : rhs.ordered_map) {
93
250
            auto lhs_it = ordered_map.find(rhs_it.first);
94
250
            if (lhs_it != ordered_map.end()) {
95
100
                lhs_it->second += rhs_it.second;
96
150
            } else {
97
150
                ordered_map.insert({rhs_it.first, rhs_it.second});
98
150
            }
99
250
        }
100
71
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EE5mergeERKS2_
Line
Count
Source
77
73
    void merge(const AggregateFunctionHistogramData& rhs) {
78
        // if rhs.max_num_buckets == 0, it means the input block for serialization is all null
79
        // we should discard this data, because histogram only fouce on the not-null data
80
73
        if (!rhs.max_num_buckets) {
81
5
            return;
82
5
        }
83
84
68
        if (!max_num_buckets) {
85
29
            max_num_buckets = rhs.max_num_buckets;
86
39
        } else if (UNLIKELY(max_num_buckets != rhs.max_num_buckets)) {
87
0
            throw Exception(ErrorCode::INVALID_ARGUMENT,
88
0
                            "histogram aggregate states have incompatible bucket counts: {} vs {}",
89
0
                            max_num_buckets, rhs.max_num_buckets);
90
0
        }
91
92
235
        for (auto rhs_it : rhs.ordered_map) {
93
235
            auto lhs_it = ordered_map.find(rhs_it.first);
94
235
            if (lhs_it != ordered_map.end()) {
95
100
                lhs_it->second += rhs_it.second;
96
135
            } else {
97
135
                ordered_map.insert({rhs_it.first, rhs_it.second});
98
135
            }
99
235
        }
100
68
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EE5mergeERKS2_
Line
Count
Source
77
73
    void merge(const AggregateFunctionHistogramData& rhs) {
78
        // if rhs.max_num_buckets == 0, it means the input block for serialization is all null
79
        // we should discard this data, because histogram only fouce on the not-null data
80
73
        if (!rhs.max_num_buckets) {
81
5
            return;
82
5
        }
83
84
68
        if (!max_num_buckets) {
85
29
            max_num_buckets = rhs.max_num_buckets;
86
39
        } else if (UNLIKELY(max_num_buckets != rhs.max_num_buckets)) {
87
0
            throw Exception(ErrorCode::INVALID_ARGUMENT,
88
0
                            "histogram aggregate states have incompatible bucket counts: {} vs {}",
89
0
                            max_num_buckets, rhs.max_num_buckets);
90
0
        }
91
92
235
        for (auto rhs_it : rhs.ordered_map) {
93
235
            auto lhs_it = ordered_map.find(rhs_it.first);
94
235
            if (lhs_it != ordered_map.end()) {
95
100
                lhs_it->second += rhs_it.second;
96
135
            } else {
97
135
                ordered_map.insert({rhs_it.first, rhs_it.second});
98
135
            }
99
235
        }
100
68
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EE5mergeERKS2_
Line
Count
Source
77
77
    void merge(const AggregateFunctionHistogramData& rhs) {
78
        // if rhs.max_num_buckets == 0, it means the input block for serialization is all null
79
        // we should discard this data, because histogram only fouce on the not-null data
80
77
        if (!rhs.max_num_buckets) {
81
6
            return;
82
6
        }
83
84
71
        if (!max_num_buckets) {
85
33
            max_num_buckets = rhs.max_num_buckets;
86
38
        } else if (UNLIKELY(max_num_buckets != rhs.max_num_buckets)) {
87
0
            throw Exception(ErrorCode::INVALID_ARGUMENT,
88
0
                            "histogram aggregate states have incompatible bucket counts: {} vs {}",
89
0
                            max_num_buckets, rhs.max_num_buckets);
90
0
        }
91
92
165
        for (auto rhs_it : rhs.ordered_map) {
93
165
            auto lhs_it = ordered_map.find(rhs_it.first);
94
165
            if (lhs_it != ordered_map.end()) {
95
2
                lhs_it->second += rhs_it.second;
96
163
            } else {
97
163
                ordered_map.insert({rhs_it.first, rhs_it.second});
98
163
            }
99
165
        }
100
71
    }
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EE5mergeERKS2_
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EE5mergeERKS2_
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EE5mergeERKS2_
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EE5mergeERKS2_
Line
Count
Source
77
168
    void merge(const AggregateFunctionHistogramData& rhs) {
78
        // if rhs.max_num_buckets == 0, it means the input block for serialization is all null
79
        // we should discard this data, because histogram only fouce on the not-null data
80
168
        if (!rhs.max_num_buckets) {
81
8
            return;
82
8
        }
83
84
160
        if (!max_num_buckets) {
85
74
            max_num_buckets = rhs.max_num_buckets;
86
86
        } else if (UNLIKELY(max_num_buckets != rhs.max_num_buckets)) {
87
0
            throw Exception(ErrorCode::INVALID_ARGUMENT,
88
0
                            "histogram aggregate states have incompatible bucket counts: {} vs {}",
89
0
                            max_num_buckets, rhs.max_num_buckets);
90
0
        }
91
92
1.26k
        for (auto rhs_it : rhs.ordered_map) {
93
1.26k
            auto lhs_it = ordered_map.find(rhs_it.first);
94
1.26k
            if (lhs_it != ordered_map.end()) {
95
1.07k
                lhs_it->second += rhs_it.second;
96
1.07k
            } else {
97
195
                ordered_map.insert({rhs_it.first, rhs_it.second});
98
195
            }
99
1.26k
        }
100
160
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EE5mergeERKS2_
Line
Count
Source
77
148
    void merge(const AggregateFunctionHistogramData& rhs) {
78
        // if rhs.max_num_buckets == 0, it means the input block for serialization is all null
79
        // we should discard this data, because histogram only fouce on the not-null data
80
148
        if (!rhs.max_num_buckets) {
81
10
            return;
82
10
        }
83
84
138
        if (!max_num_buckets) {
85
59
            max_num_buckets = rhs.max_num_buckets;
86
79
        } else if (UNLIKELY(max_num_buckets != rhs.max_num_buckets)) {
87
0
            throw Exception(ErrorCode::INVALID_ARGUMENT,
88
0
                            "histogram aggregate states have incompatible bucket counts: {} vs {}",
89
0
                            max_num_buckets, rhs.max_num_buckets);
90
0
        }
91
92
377
        for (auto rhs_it : rhs.ordered_map) {
93
377
            auto lhs_it = ordered_map.find(rhs_it.first);
94
377
            if (lhs_it != ordered_map.end()) {
95
103
                lhs_it->second += rhs_it.second;
96
274
            } else {
97
274
                ordered_map.insert({rhs_it.first, rhs_it.second});
98
274
            }
99
377
        }
100
138
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EE5mergeERKS2_
Line
Count
Source
77
148
    void merge(const AggregateFunctionHistogramData& rhs) {
78
        // if rhs.max_num_buckets == 0, it means the input block for serialization is all null
79
        // we should discard this data, because histogram only fouce on the not-null data
80
148
        if (!rhs.max_num_buckets) {
81
10
            return;
82
10
        }
83
84
138
        if (!max_num_buckets) {
85
59
            max_num_buckets = rhs.max_num_buckets;
86
79
        } else if (UNLIKELY(max_num_buckets != rhs.max_num_buckets)) {
87
0
            throw Exception(ErrorCode::INVALID_ARGUMENT,
88
0
                            "histogram aggregate states have incompatible bucket counts: {} vs {}",
89
0
                            max_num_buckets, rhs.max_num_buckets);
90
0
        }
91
92
374
        for (auto rhs_it : rhs.ordered_map) {
93
374
            auto lhs_it = ordered_map.find(rhs_it.first);
94
374
            if (lhs_it != ordered_map.end()) {
95
101
                lhs_it->second += rhs_it.second;
96
273
            } else {
97
273
                ordered_map.insert({rhs_it.first, rhs_it.second});
98
273
            }
99
374
        }
100
138
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE43EE5mergeERKS2_
Line
Count
Source
77
93
    void merge(const AggregateFunctionHistogramData& rhs) {
78
        // if rhs.max_num_buckets == 0, it means the input block for serialization is all null
79
        // we should discard this data, because histogram only fouce on the not-null data
80
93
        if (!rhs.max_num_buckets) {
81
4
            return;
82
4
        }
83
84
89
        if (!max_num_buckets) {
85
52
            max_num_buckets = rhs.max_num_buckets;
86
52
        } else if (UNLIKELY(max_num_buckets != rhs.max_num_buckets)) {
87
0
            throw Exception(ErrorCode::INVALID_ARGUMENT,
88
0
                            "histogram aggregate states have incompatible bucket counts: {} vs {}",
89
0
                            max_num_buckets, rhs.max_num_buckets);
90
0
        }
91
92
154
        for (auto rhs_it : rhs.ordered_map) {
93
154
            auto lhs_it = ordered_map.find(rhs_it.first);
94
154
            if (lhs_it != ordered_map.end()) {
95
0
                lhs_it->second += rhs_it.second;
96
154
            } else {
97
154
                ordered_map.insert({rhs_it.first, rhs_it.second});
98
154
            }
99
154
        }
100
89
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EE5mergeERKS2_
Line
Count
Source
77
1
    void merge(const AggregateFunctionHistogramData& rhs) {
78
        // if rhs.max_num_buckets == 0, it means the input block for serialization is all null
79
        // we should discard this data, because histogram only fouce on the not-null data
80
1
        if (!rhs.max_num_buckets) {
81
0
            return;
82
0
        }
83
84
1
        if (!max_num_buckets) {
85
1
            max_num_buckets = rhs.max_num_buckets;
86
1
        } else if (UNLIKELY(max_num_buckets != rhs.max_num_buckets)) {
87
0
            throw Exception(ErrorCode::INVALID_ARGUMENT,
88
0
                            "histogram aggregate states have incompatible bucket counts: {} vs {}",
89
0
                            max_num_buckets, rhs.max_num_buckets);
90
0
        }
91
92
3
        for (auto rhs_it : rhs.ordered_map) {
93
3
            auto lhs_it = ordered_map.find(rhs_it.first);
94
3
            if (lhs_it != ordered_map.end()) {
95
0
                lhs_it->second += rhs_it.second;
96
3
            } else {
97
3
                ordered_map.insert({rhs_it.first, rhs_it.second});
98
3
            }
99
3
        }
100
1
    }
101
102
1.37k
    void write(BufferWritable& buf) const {
103
1.37k
        buf.write_binary(max_num_buckets);
104
1.37k
        auto element_number = (size_t)ordered_map.size();
105
1.37k
        buf.write_binary(element_number);
106
107
1.37k
        auto pair_vector = map_to_vector();
108
109
5.62k
        for (auto i = 0; i < element_number; i++) {
110
4.25k
            auto element = pair_vector[i];
111
4.25k
            buf.write_binary(element.second);
112
4.25k
            buf.write_binary(element.first);
113
4.25k
        }
114
1.37k
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EE5writeERNS_14BufferWritableE
Line
Count
Source
102
5
    void write(BufferWritable& buf) const {
103
5
        buf.write_binary(max_num_buckets);
104
5
        auto element_number = (size_t)ordered_map.size();
105
5
        buf.write_binary(element_number);
106
107
5
        auto pair_vector = map_to_vector();
108
109
10
        for (auto i = 0; i < element_number; i++) {
110
5
            auto element = pair_vector[i];
111
5
            buf.write_binary(element.second);
112
5
            buf.write_binary(element.first);
113
5
        }
114
5
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EE5writeERNS_14BufferWritableE
Line
Count
Source
102
91
    void write(BufferWritable& buf) const {
103
91
        buf.write_binary(max_num_buckets);
104
91
        auto element_number = (size_t)ordered_map.size();
105
91
        buf.write_binary(element_number);
106
107
91
        auto pair_vector = map_to_vector();
108
109
350
        for (auto i = 0; i < element_number; i++) {
110
259
            auto element = pair_vector[i];
111
259
            buf.write_binary(element.second);
112
259
            buf.write_binary(element.first);
113
259
        }
114
91
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EE5writeERNS_14BufferWritableE
Line
Count
Source
102
78
    void write(BufferWritable& buf) const {
103
78
        buf.write_binary(max_num_buckets);
104
78
        auto element_number = (size_t)ordered_map.size();
105
78
        buf.write_binary(element_number);
106
107
78
        auto pair_vector = map_to_vector();
108
109
337
        for (auto i = 0; i < element_number; i++) {
110
259
            auto element = pair_vector[i];
111
259
            buf.write_binary(element.second);
112
259
            buf.write_binary(element.first);
113
259
        }
114
78
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EE5writeERNS_14BufferWritableE
Line
Count
Source
102
260
    void write(BufferWritable& buf) const {
103
260
        buf.write_binary(max_num_buckets);
104
260
        auto element_number = (size_t)ordered_map.size();
105
260
        buf.write_binary(element_number);
106
107
260
        auto pair_vector = map_to_vector();
108
109
679
        for (auto i = 0; i < element_number; i++) {
110
419
            auto element = pair_vector[i];
111
419
            buf.write_binary(element.second);
112
419
            buf.write_binary(element.first);
113
419
        }
114
260
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EE5writeERNS_14BufferWritableE
Line
Count
Source
102
78
    void write(BufferWritable& buf) const {
103
78
        buf.write_binary(max_num_buckets);
104
78
        auto element_number = (size_t)ordered_map.size();
105
78
        buf.write_binary(element_number);
106
107
78
        auto pair_vector = map_to_vector();
108
109
325
        for (auto i = 0; i < element_number; i++) {
110
247
            auto element = pair_vector[i];
111
247
            buf.write_binary(element.second);
112
247
            buf.write_binary(element.first);
113
247
        }
114
78
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EE5writeERNS_14BufferWritableE
Line
Count
Source
102
78
    void write(BufferWritable& buf) const {
103
78
        buf.write_binary(max_num_buckets);
104
78
        auto element_number = (size_t)ordered_map.size();
105
78
        buf.write_binary(element_number);
106
107
78
        auto pair_vector = map_to_vector();
108
109
328
        for (auto i = 0; i < element_number; i++) {
110
250
            auto element = pair_vector[i];
111
250
            buf.write_binary(element.second);
112
250
            buf.write_binary(element.first);
113
250
        }
114
78
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EE5writeERNS_14BufferWritableE
Line
Count
Source
102
73
    void write(BufferWritable& buf) const {
103
73
        buf.write_binary(max_num_buckets);
104
73
        auto element_number = (size_t)ordered_map.size();
105
73
        buf.write_binary(element_number);
106
107
73
        auto pair_vector = map_to_vector();
108
109
308
        for (auto i = 0; i < element_number; i++) {
110
235
            auto element = pair_vector[i];
111
235
            buf.write_binary(element.second);
112
235
            buf.write_binary(element.first);
113
235
        }
114
73
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EE5writeERNS_14BufferWritableE
Line
Count
Source
102
73
    void write(BufferWritable& buf) const {
103
73
        buf.write_binary(max_num_buckets);
104
73
        auto element_number = (size_t)ordered_map.size();
105
73
        buf.write_binary(element_number);
106
107
73
        auto pair_vector = map_to_vector();
108
109
308
        for (auto i = 0; i < element_number; i++) {
110
235
            auto element = pair_vector[i];
111
235
            buf.write_binary(element.second);
112
235
            buf.write_binary(element.first);
113
235
        }
114
73
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EE5writeERNS_14BufferWritableE
Line
Count
Source
102
79
    void write(BufferWritable& buf) const {
103
79
        buf.write_binary(max_num_buckets);
104
79
        auto element_number = (size_t)ordered_map.size();
105
79
        buf.write_binary(element_number);
106
107
79
        auto pair_vector = map_to_vector();
108
109
244
        for (auto i = 0; i < element_number; i++) {
110
165
            auto element = pair_vector[i];
111
165
            buf.write_binary(element.second);
112
165
            buf.write_binary(element.first);
113
165
        }
114
79
    }
Unexecuted instantiation: _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EE5writeERNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EE5writeERNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EE5writeERNS_14BufferWritableE
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EE5writeERNS_14BufferWritableE
Line
Count
Source
102
169
    void write(BufferWritable& buf) const {
103
169
        buf.write_binary(max_num_buckets);
104
169
        auto element_number = (size_t)ordered_map.size();
105
169
        buf.write_binary(element_number);
106
107
169
        auto pair_vector = map_to_vector();
108
109
1.43k
        for (auto i = 0; i < element_number; i++) {
110
1.26k
            auto element = pair_vector[i];
111
1.26k
            buf.write_binary(element.second);
112
1.26k
            buf.write_binary(element.first);
113
1.26k
        }
114
169
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EE5writeERNS_14BufferWritableE
Line
Count
Source
102
148
    void write(BufferWritable& buf) const {
103
148
        buf.write_binary(max_num_buckets);
104
148
        auto element_number = (size_t)ordered_map.size();
105
148
        buf.write_binary(element_number);
106
107
148
        auto pair_vector = map_to_vector();
108
109
525
        for (auto i = 0; i < element_number; i++) {
110
377
            auto element = pair_vector[i];
111
377
            buf.write_binary(element.second);
112
377
            buf.write_binary(element.first);
113
377
        }
114
148
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EE5writeERNS_14BufferWritableE
Line
Count
Source
102
148
    void write(BufferWritable& buf) const {
103
148
        buf.write_binary(max_num_buckets);
104
148
        auto element_number = (size_t)ordered_map.size();
105
148
        buf.write_binary(element_number);
106
107
148
        auto pair_vector = map_to_vector();
108
109
522
        for (auto i = 0; i < element_number; i++) {
110
374
            auto element = pair_vector[i];
111
374
            buf.write_binary(element.second);
112
374
            buf.write_binary(element.first);
113
374
        }
114
148
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE43EE5writeERNS_14BufferWritableE
Line
Count
Source
102
94
    void write(BufferWritable& buf) const {
103
94
        buf.write_binary(max_num_buckets);
104
94
        auto element_number = (size_t)ordered_map.size();
105
94
        buf.write_binary(element_number);
106
107
94
        auto pair_vector = map_to_vector();
108
109
248
        for (auto i = 0; i < element_number; i++) {
110
154
            auto element = pair_vector[i];
111
154
            buf.write_binary(element.second);
112
154
            buf.write_binary(element.first);
113
154
        }
114
94
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EE5writeERNS_14BufferWritableE
Line
Count
Source
102
1
    void write(BufferWritable& buf) const {
103
1
        buf.write_binary(max_num_buckets);
104
1
        auto element_number = (size_t)ordered_map.size();
105
1
        buf.write_binary(element_number);
106
107
1
        auto pair_vector = map_to_vector();
108
109
4
        for (auto i = 0; i < element_number; i++) {
110
3
            auto element = pair_vector[i];
111
3
            buf.write_binary(element.second);
112
3
            buf.write_binary(element.first);
113
3
        }
114
1
    }
115
116
1.33k
    void read(BufferReadable& buf) {
117
1.33k
        buf.read_binary(max_num_buckets);
118
119
1.33k
        size_t element_number = 0;
120
1.33k
        buf.read_binary(element_number);
121
122
1.33k
        ordered_map.clear();
123
1.33k
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
124
5.55k
        for (auto i = 0; i < element_number; i++) {
125
4.21k
            buf.read_binary(element.first);
126
4.21k
            buf.read_binary(element.second);
127
4.21k
            ordered_map.insert(element);
128
4.21k
        }
129
1.33k
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EE4readERNS_14BufferReadableE
Line
Count
Source
116
5
    void read(BufferReadable& buf) {
117
5
        buf.read_binary(max_num_buckets);
118
119
5
        size_t element_number = 0;
120
5
        buf.read_binary(element_number);
121
122
5
        ordered_map.clear();
123
5
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
124
10
        for (auto i = 0; i < element_number; i++) {
125
5
            buf.read_binary(element.first);
126
5
            buf.read_binary(element.second);
127
5
            ordered_map.insert(element);
128
5
        }
129
5
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EE4readERNS_14BufferReadableE
Line
Count
Source
116
89
    void read(BufferReadable& buf) {
117
89
        buf.read_binary(max_num_buckets);
118
119
89
        size_t element_number = 0;
120
89
        buf.read_binary(element_number);
121
122
89
        ordered_map.clear();
123
89
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
124
346
        for (auto i = 0; i < element_number; i++) {
125
257
            buf.read_binary(element.first);
126
257
            buf.read_binary(element.second);
127
257
            ordered_map.insert(element);
128
257
        }
129
89
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EE4readERNS_14BufferReadableE
Line
Count
Source
116
78
    void read(BufferReadable& buf) {
117
78
        buf.read_binary(max_num_buckets);
118
119
78
        size_t element_number = 0;
120
78
        buf.read_binary(element_number);
121
122
78
        ordered_map.clear();
123
78
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
124
337
        for (auto i = 0; i < element_number; i++) {
125
259
            buf.read_binary(element.first);
126
259
            buf.read_binary(element.second);
127
259
            ordered_map.insert(element);
128
259
        }
129
78
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EE4readERNS_14BufferReadableE
Line
Count
Source
116
225
    void read(BufferReadable& buf) {
117
225
        buf.read_binary(max_num_buckets);
118
119
225
        size_t element_number = 0;
120
225
        buf.read_binary(element_number);
121
122
225
        ordered_map.clear();
123
225
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
124
609
        for (auto i = 0; i < element_number; i++) {
125
384
            buf.read_binary(element.first);
126
384
            buf.read_binary(element.second);
127
384
            ordered_map.insert(element);
128
384
        }
129
225
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EE4readERNS_14BufferReadableE
Line
Count
Source
116
78
    void read(BufferReadable& buf) {
117
78
        buf.read_binary(max_num_buckets);
118
119
78
        size_t element_number = 0;
120
78
        buf.read_binary(element_number);
121
122
78
        ordered_map.clear();
123
78
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
124
325
        for (auto i = 0; i < element_number; i++) {
125
247
            buf.read_binary(element.first);
126
247
            buf.read_binary(element.second);
127
247
            ordered_map.insert(element);
128
247
        }
129
78
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EE4readERNS_14BufferReadableE
Line
Count
Source
116
78
    void read(BufferReadable& buf) {
117
78
        buf.read_binary(max_num_buckets);
118
119
78
        size_t element_number = 0;
120
78
        buf.read_binary(element_number);
121
122
78
        ordered_map.clear();
123
78
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
124
328
        for (auto i = 0; i < element_number; i++) {
125
250
            buf.read_binary(element.first);
126
250
            buf.read_binary(element.second);
127
250
            ordered_map.insert(element);
128
250
        }
129
78
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EE4readERNS_14BufferReadableE
Line
Count
Source
116
73
    void read(BufferReadable& buf) {
117
73
        buf.read_binary(max_num_buckets);
118
119
73
        size_t element_number = 0;
120
73
        buf.read_binary(element_number);
121
122
73
        ordered_map.clear();
123
73
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
124
308
        for (auto i = 0; i < element_number; i++) {
125
235
            buf.read_binary(element.first);
126
235
            buf.read_binary(element.second);
127
235
            ordered_map.insert(element);
128
235
        }
129
73
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EE4readERNS_14BufferReadableE
Line
Count
Source
116
73
    void read(BufferReadable& buf) {
117
73
        buf.read_binary(max_num_buckets);
118
119
73
        size_t element_number = 0;
120
73
        buf.read_binary(element_number);
121
122
73
        ordered_map.clear();
123
73
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
124
308
        for (auto i = 0; i < element_number; i++) {
125
235
            buf.read_binary(element.first);
126
235
            buf.read_binary(element.second);
127
235
            ordered_map.insert(element);
128
235
        }
129
73
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EE4readERNS_14BufferReadableE
Line
Count
Source
116
78
    void read(BufferReadable& buf) {
117
78
        buf.read_binary(max_num_buckets);
118
119
78
        size_t element_number = 0;
120
78
        buf.read_binary(element_number);
121
122
78
        ordered_map.clear();
123
78
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
124
243
        for (auto i = 0; i < element_number; i++) {
125
165
            buf.read_binary(element.first);
126
165
            buf.read_binary(element.second);
127
165
            ordered_map.insert(element);
128
165
        }
129
78
    }
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EE4readERNS_14BufferReadableE
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EE4readERNS_14BufferReadableE
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EE4readERNS_14BufferReadableE
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EE4readERNS_14BufferReadableE
Line
Count
Source
116
169
    void read(BufferReadable& buf) {
117
169
        buf.read_binary(max_num_buckets);
118
119
169
        size_t element_number = 0;
120
169
        buf.read_binary(element_number);
121
122
169
        ordered_map.clear();
123
169
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
124
1.43k
        for (auto i = 0; i < element_number; i++) {
125
1.26k
            buf.read_binary(element.first);
126
1.26k
            buf.read_binary(element.second);
127
1.26k
            ordered_map.insert(element);
128
1.26k
        }
129
169
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EE4readERNS_14BufferReadableE
Line
Count
Source
116
148
    void read(BufferReadable& buf) {
117
148
        buf.read_binary(max_num_buckets);
118
119
148
        size_t element_number = 0;
120
148
        buf.read_binary(element_number);
121
122
148
        ordered_map.clear();
123
148
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
124
525
        for (auto i = 0; i < element_number; i++) {
125
377
            buf.read_binary(element.first);
126
377
            buf.read_binary(element.second);
127
377
            ordered_map.insert(element);
128
377
        }
129
148
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EE4readERNS_14BufferReadableE
Line
Count
Source
116
148
    void read(BufferReadable& buf) {
117
148
        buf.read_binary(max_num_buckets);
118
119
148
        size_t element_number = 0;
120
148
        buf.read_binary(element_number);
121
122
148
        ordered_map.clear();
123
148
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
124
522
        for (auto i = 0; i < element_number; i++) {
125
374
            buf.read_binary(element.first);
126
374
            buf.read_binary(element.second);
127
374
            ordered_map.insert(element);
128
374
        }
129
148
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE43EE4readERNS_14BufferReadableE
Line
Count
Source
116
94
    void read(BufferReadable& buf) {
117
94
        buf.read_binary(max_num_buckets);
118
119
94
        size_t element_number = 0;
120
94
        buf.read_binary(element_number);
121
122
94
        ordered_map.clear();
123
94
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
124
248
        for (auto i = 0; i < element_number; i++) {
125
154
            buf.read_binary(element.first);
126
154
            buf.read_binary(element.second);
127
154
            ordered_map.insert(element);
128
154
        }
129
94
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EE4readERNS_14BufferReadableE
Line
Count
Source
116
1
    void read(BufferReadable& buf) {
117
1
        buf.read_binary(max_num_buckets);
118
119
1
        size_t element_number = 0;
120
1
        buf.read_binary(element_number);
121
122
1
        ordered_map.clear();
123
1
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
124
4
        for (auto i = 0; i < element_number; i++) {
125
3
            buf.read_binary(element.first);
126
3
            buf.read_binary(element.second);
127
3
            ordered_map.insert(element);
128
3
        }
129
1
    }
130
131
    void insert_result_into(IColumn& to) const {
132
        auto pair_vector = map_to_vector();
133
        for (auto i = 0; i < pair_vector.size(); i++) {
134
            const auto& element = pair_vector[i];
135
            if constexpr (is_string_type(T)) {
136
                assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
137
                        element.second.c_str(), element.second.length());
138
            } else {
139
                assert_cast<ColVecType&, TypeCheckOnRelease::DISABLE>(to).get_data().push_back(
140
                        element.second);
141
            }
142
        }
143
    }
144
145
802
    std::string get(const DataTypePtr& data_type) const {
146
802
        std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets;
147
802
        rapidjson::StringBuffer buffer;
148
        // NOTE: We need an extral branch for to handle max_num_buckets == 0,
149
        // when target column is nullable, and input block is all null,
150
        // set_parameters will not be called because of the short-circuit in
151
        // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation.
152
802
        build_histogram(
153
802
                buckets, ordered_map,
154
802
                max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets);
155
802
        histogram_to_json(buffer, buckets, data_type);
156
802
        return {buffer.GetString()};
157
802
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE
Line
Count
Source
145
2
    std::string get(const DataTypePtr& data_type) const {
146
2
        std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets;
147
2
        rapidjson::StringBuffer buffer;
148
        // NOTE: We need an extral branch for to handle max_num_buckets == 0,
149
        // when target column is nullable, and input block is all null,
150
        // set_parameters will not be called because of the short-circuit in
151
        // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation.
152
2
        build_histogram(
153
2
                buckets, ordered_map,
154
2
                max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets);
155
2
        histogram_to_json(buffer, buckets, data_type);
156
2
        return {buffer.GetString()};
157
2
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE
Line
Count
Source
145
49
    std::string get(const DataTypePtr& data_type) const {
146
49
        std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets;
147
49
        rapidjson::StringBuffer buffer;
148
        // NOTE: We need an extral branch for to handle max_num_buckets == 0,
149
        // when target column is nullable, and input block is all null,
150
        // set_parameters will not be called because of the short-circuit in
151
        // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation.
152
49
        build_histogram(
153
49
                buckets, ordered_map,
154
49
                max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets);
155
49
        histogram_to_json(buffer, buckets, data_type);
156
49
        return {buffer.GetString()};
157
49
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE
Line
Count
Source
145
48
    std::string get(const DataTypePtr& data_type) const {
146
48
        std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets;
147
48
        rapidjson::StringBuffer buffer;
148
        // NOTE: We need an extral branch for to handle max_num_buckets == 0,
149
        // when target column is nullable, and input block is all null,
150
        // set_parameters will not be called because of the short-circuit in
151
        // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation.
152
48
        build_histogram(
153
48
                buckets, ordered_map,
154
48
                max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets);
155
48
        histogram_to_json(buffer, buckets, data_type);
156
48
        return {buffer.GetString()};
157
48
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE
Line
Count
Source
145
104
    std::string get(const DataTypePtr& data_type) const {
146
104
        std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets;
147
104
        rapidjson::StringBuffer buffer;
148
        // NOTE: We need an extral branch for to handle max_num_buckets == 0,
149
        // when target column is nullable, and input block is all null,
150
        // set_parameters will not be called because of the short-circuit in
151
        // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation.
152
104
        build_histogram(
153
104
                buckets, ordered_map,
154
104
                max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets);
155
104
        histogram_to_json(buffer, buckets, data_type);
156
104
        return {buffer.GetString()};
157
104
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE
Line
Count
Source
145
65
    std::string get(const DataTypePtr& data_type) const {
146
65
        std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets;
147
65
        rapidjson::StringBuffer buffer;
148
        // NOTE: We need an extral branch for to handle max_num_buckets == 0,
149
        // when target column is nullable, and input block is all null,
150
        // set_parameters will not be called because of the short-circuit in
151
        // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation.
152
65
        build_histogram(
153
65
                buckets, ordered_map,
154
65
                max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets);
155
65
        histogram_to_json(buffer, buckets, data_type);
156
65
        return {buffer.GetString()};
157
65
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE
Line
Count
Source
145
48
    std::string get(const DataTypePtr& data_type) const {
146
48
        std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets;
147
48
        rapidjson::StringBuffer buffer;
148
        // NOTE: We need an extral branch for to handle max_num_buckets == 0,
149
        // when target column is nullable, and input block is all null,
150
        // set_parameters will not be called because of the short-circuit in
151
        // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation.
152
48
        build_histogram(
153
48
                buckets, ordered_map,
154
48
                max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets);
155
48
        histogram_to_json(buffer, buckets, data_type);
156
48
        return {buffer.GetString()};
157
48
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE
Line
Count
Source
145
46
    std::string get(const DataTypePtr& data_type) const {
146
46
        std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets;
147
46
        rapidjson::StringBuffer buffer;
148
        // NOTE: We need an extral branch for to handle max_num_buckets == 0,
149
        // when target column is nullable, and input block is all null,
150
        // set_parameters will not be called because of the short-circuit in
151
        // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation.
152
46
        build_histogram(
153
46
                buckets, ordered_map,
154
46
                max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets);
155
46
        histogram_to_json(buffer, buckets, data_type);
156
46
        return {buffer.GetString()};
157
46
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE
Line
Count
Source
145
46
    std::string get(const DataTypePtr& data_type) const {
146
46
        std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets;
147
46
        rapidjson::StringBuffer buffer;
148
        // NOTE: We need an extral branch for to handle max_num_buckets == 0,
149
        // when target column is nullable, and input block is all null,
150
        // set_parameters will not be called because of the short-circuit in
151
        // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation.
152
46
        build_histogram(
153
46
                buckets, ordered_map,
154
46
                max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets);
155
46
        histogram_to_json(buffer, buckets, data_type);
156
46
        return {buffer.GetString()};
157
46
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE
Line
Count
Source
145
49
    std::string get(const DataTypePtr& data_type) const {
146
49
        std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets;
147
49
        rapidjson::StringBuffer buffer;
148
        // NOTE: We need an extral branch for to handle max_num_buckets == 0,
149
        // when target column is nullable, and input block is all null,
150
        // set_parameters will not be called because of the short-circuit in
151
        // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation.
152
49
        build_histogram(
153
49
                buckets, ordered_map,
154
49
                max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets);
155
49
        histogram_to_json(buffer, buckets, data_type);
156
49
        return {buffer.GetString()};
157
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
145
105
    std::string get(const DataTypePtr& data_type) const {
146
105
        std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets;
147
105
        rapidjson::StringBuffer buffer;
148
        // NOTE: We need an extral branch for to handle max_num_buckets == 0,
149
        // when target column is nullable, and input block is all null,
150
        // set_parameters will not be called because of the short-circuit in
151
        // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation.
152
105
        build_histogram(
153
105
                buckets, ordered_map,
154
105
                max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets);
155
105
        histogram_to_json(buffer, buckets, data_type);
156
105
        return {buffer.GetString()};
157
105
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE
Line
Count
Source
145
88
    std::string get(const DataTypePtr& data_type) const {
146
88
        std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets;
147
88
        rapidjson::StringBuffer buffer;
148
        // NOTE: We need an extral branch for to handle max_num_buckets == 0,
149
        // when target column is nullable, and input block is all null,
150
        // set_parameters will not be called because of the short-circuit in
151
        // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation.
152
88
        build_histogram(
153
88
                buckets, ordered_map,
154
88
                max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets);
155
88
        histogram_to_json(buffer, buckets, data_type);
156
88
        return {buffer.GetString()};
157
88
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE
Line
Count
Source
145
88
    std::string get(const DataTypePtr& data_type) const {
146
88
        std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets;
147
88
        rapidjson::StringBuffer buffer;
148
        // NOTE: We need an extral branch for to handle max_num_buckets == 0,
149
        // when target column is nullable, and input block is all null,
150
        // set_parameters will not be called because of the short-circuit in
151
        // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation.
152
88
        build_histogram(
153
88
                buckets, ordered_map,
154
88
                max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets);
155
88
        histogram_to_json(buffer, buckets, data_type);
156
88
        return {buffer.GetString()};
157
88
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE43EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE
Line
Count
Source
145
63
    std::string get(const DataTypePtr& data_type) const {
146
63
        std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets;
147
63
        rapidjson::StringBuffer buffer;
148
        // NOTE: We need an extral branch for to handle max_num_buckets == 0,
149
        // when target column is nullable, and input block is all null,
150
        // set_parameters will not be called because of the short-circuit in
151
        // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation.
152
63
        build_histogram(
153
63
                buckets, ordered_map,
154
63
                max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets);
155
63
        histogram_to_json(buffer, buckets, data_type);
156
63
        return {buffer.GetString()};
157
63
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE
Line
Count
Source
145
1
    std::string get(const DataTypePtr& data_type) const {
146
1
        std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets;
147
1
        rapidjson::StringBuffer buffer;
148
        // NOTE: We need an extral branch for to handle max_num_buckets == 0,
149
        // when target column is nullable, and input block is all null,
150
        // set_parameters will not be called because of the short-circuit in
151
        // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation.
152
1
        build_histogram(
153
1
                buckets, ordered_map,
154
1
                max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets);
155
1
        histogram_to_json(buffer, buckets, data_type);
156
1
        return {buffer.GetString()};
157
1
    }
158
159
1.37k
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
160
1.37k
        std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector;
161
4.25k
        for (auto it : ordered_map) {
162
4.25k
            pair_vector.emplace_back(it.second, it.first);
163
4.25k
        }
164
1.37k
        return pair_vector;
165
1.37k
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EE13map_to_vectorEv
Line
Count
Source
159
5
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
160
5
        std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector;
161
5
        for (auto it : ordered_map) {
162
5
            pair_vector.emplace_back(it.second, it.first);
163
5
        }
164
5
        return pair_vector;
165
5
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EE13map_to_vectorEv
Line
Count
Source
159
91
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
160
91
        std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector;
161
259
        for (auto it : ordered_map) {
162
259
            pair_vector.emplace_back(it.second, it.first);
163
259
        }
164
91
        return pair_vector;
165
91
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EE13map_to_vectorEv
Line
Count
Source
159
78
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
160
78
        std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector;
161
259
        for (auto it : ordered_map) {
162
259
            pair_vector.emplace_back(it.second, it.first);
163
259
        }
164
78
        return pair_vector;
165
78
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EE13map_to_vectorEv
Line
Count
Source
159
260
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
160
260
        std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector;
161
419
        for (auto it : ordered_map) {
162
419
            pair_vector.emplace_back(it.second, it.first);
163
419
        }
164
260
        return pair_vector;
165
260
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EE13map_to_vectorEv
Line
Count
Source
159
78
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
160
78
        std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector;
161
247
        for (auto it : ordered_map) {
162
247
            pair_vector.emplace_back(it.second, it.first);
163
247
        }
164
78
        return pair_vector;
165
78
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EE13map_to_vectorEv
Line
Count
Source
159
78
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
160
78
        std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector;
161
250
        for (auto it : ordered_map) {
162
250
            pair_vector.emplace_back(it.second, it.first);
163
250
        }
164
78
        return pair_vector;
165
78
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EE13map_to_vectorEv
Line
Count
Source
159
73
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
160
73
        std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector;
161
235
        for (auto it : ordered_map) {
162
235
            pair_vector.emplace_back(it.second, it.first);
163
235
        }
164
73
        return pair_vector;
165
73
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EE13map_to_vectorEv
Line
Count
Source
159
73
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
160
73
        std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector;
161
235
        for (auto it : ordered_map) {
162
235
            pair_vector.emplace_back(it.second, it.first);
163
235
        }
164
73
        return pair_vector;
165
73
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EE13map_to_vectorEv
Line
Count
Source
159
79
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
160
79
        std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector;
161
165
        for (auto it : ordered_map) {
162
165
            pair_vector.emplace_back(it.second, it.first);
163
165
        }
164
79
        return pair_vector;
165
79
    }
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
159
169
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
160
169
        std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector;
161
1.26k
        for (auto it : ordered_map) {
162
1.26k
            pair_vector.emplace_back(it.second, it.first);
163
1.26k
        }
164
169
        return pair_vector;
165
169
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EE13map_to_vectorEv
Line
Count
Source
159
148
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
160
148
        std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector;
161
377
        for (auto it : ordered_map) {
162
377
            pair_vector.emplace_back(it.second, it.first);
163
377
        }
164
148
        return pair_vector;
165
148
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EE13map_to_vectorEv
Line
Count
Source
159
148
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
160
148
        std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector;
161
374
        for (auto it : ordered_map) {
162
374
            pair_vector.emplace_back(it.second, it.first);
163
374
        }
164
148
        return pair_vector;
165
148
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE43EE13map_to_vectorEv
Line
Count
Source
159
94
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
160
94
        std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector;
161
154
        for (auto it : ordered_map) {
162
154
            pair_vector.emplace_back(it.second, it.first);
163
154
        }
164
94
        return pair_vector;
165
94
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EE13map_to_vectorEv
Line
Count
Source
159
1
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
160
1
        std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector;
161
3
        for (auto it : ordered_map) {
162
3
            pair_vector.emplace_back(it.second, it.first);
163
3
        }
164
1
        return pair_vector;
165
1
    }
166
167
private:
168
    size_t max_num_buckets = BUCKET_NUM_INIT_VALUE;
169
    std::map<typename PrimitiveTypeTraits<T>::CppType, size_t> ordered_map;
170
};
171
172
template <typename Data, bool has_input_param>
173
class AggregateFunctionHistogram final
174
        : public IAggregateFunctionDataHelper<Data,
175
                                              AggregateFunctionHistogram<Data, has_input_param>>,
176
          VarargsExpression,
177
          NotNullableAggregateFunction {
178
public:
179
    AggregateFunctionHistogram() = default;
180
    AggregateFunctionHistogram(const DataTypes& argument_types_)
181
803
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
182
803
                      argument_types_),
183
803
              _argument_type(argument_types_[0]) {}
Unexecuted instantiation: _ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
181
59
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
182
59
                      argument_types_),
183
59
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
181
12
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
182
12
                      argument_types_),
183
12
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
181
6
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
182
6
                      argument_types_),
183
6
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
181
12
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
182
12
                      argument_types_),
183
12
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
181
12
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
182
12
                      argument_types_),
183
12
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
181
8
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
182
8
                      argument_types_),
183
8
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
181
8
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
182
8
                      argument_types_),
183
8
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
181
18
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
182
18
                      argument_types_),
183
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
181
43
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
182
43
                      argument_types_),
183
43
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
181
19
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
182
19
                      argument_types_),
183
19
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
181
19
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
182
19
                      argument_types_),
183
19
              _argument_type(argument_types_[0]) {}
Unexecuted instantiation: _ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE43EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Unexecuted instantiation: _ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
181
4
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
182
4
                      argument_types_),
183
4
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
181
20
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
182
20
                      argument_types_),
183
20
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
181
20
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
182
20
                      argument_types_),
183
20
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
181
254
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
182
254
                      argument_types_),
183
254
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
181
21
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
182
21
                      argument_types_),
183
21
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
181
20
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
182
20
                      argument_types_),
183
20
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
181
20
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
182
20
                      argument_types_),
183
20
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
181
20
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
182
20
                      argument_types_),
183
20
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
181
19
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
182
19
                      argument_types_),
183
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
181
40
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
182
40
                      argument_types_),
183
40
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
181
38
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
182
38
                      argument_types_),
183
38
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
181
38
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
182
38
                      argument_types_),
183
38
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE43EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
181
71
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
182
71
                      argument_types_),
183
71
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
181
2
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
182
2
                      argument_types_),
183
2
              _argument_type(argument_types_[0]) {}
184
185
32
    std::string get_name() const override { return "histogram"; }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EE8get_nameB5cxx11Ev
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EE8get_nameB5cxx11Ev
Line
Count
Source
185
1
    std::string get_name() const override { return "histogram"; }
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_13PrimitiveTypeE43EEELb1EE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EEELb1EE8get_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
185
20
    std::string get_name() const override { return "histogram"; }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EE8get_nameB5cxx11Ev
Line
Count
Source
185
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
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb0EE8get_nameB5cxx11Ev
Line
Count
Source
185
1
    std::string get_name() const override { return "histogram"; }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb0EE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb0EE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE43EEELb0EE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EEELb0EE8get_nameB5cxx11Ev
186
187
1.98k
    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
187
55
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EE15get_return_typeEv
Line
Count
Source
187
44
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EE15get_return_typeEv
Line
Count
Source
187
40
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EE15get_return_typeEv
Line
Count
Source
187
44
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EE15get_return_typeEv
Line
Count
Source
187
44
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb1EE15get_return_typeEv
Line
Count
Source
187
30
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb1EE15get_return_typeEv
Line
Count
Source
187
30
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb1EE15get_return_typeEv
Line
Count
Source
187
74
    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
187
156
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EE15get_return_typeEv
Line
Count
Source
187
74
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EE15get_return_typeEv
Line
Count
Source
187
70
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE43EEELb1EE15get_return_typeEv
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EEELb1EE15get_return_typeEv
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EE15get_return_typeEv
Line
Count
Source
187
12
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EE15get_return_typeEv
Line
Count
Source
187
70
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EE15get_return_typeEv
Line
Count
Source
187
70
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EE15get_return_typeEv
Line
Count
Source
187
162
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EE15get_return_typeEv
Line
Count
Source
187
87
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb0EE15get_return_typeEv
Line
Count
Source
187
70
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb0EE15get_return_typeEv
Line
Count
Source
187
70
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb0EE15get_return_typeEv
Line
Count
Source
187
70
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb0EE15get_return_typeEv
Line
Count
Source
187
70
    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
187
142
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb0EE15get_return_typeEv
Line
Count
Source
187
140
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb0EE15get_return_typeEv
Line
Count
Source
187
139
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE43EEELb0EE15get_return_typeEv
Line
Count
Source
187
218
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EEELb0EE15get_return_typeEv
Line
Count
Source
187
6
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
188
189
    void add(AggregateDataPtr __restrict place, const IColumn** columns, ssize_t row_num,
190
6.31k
             Arena&) const override {
191
6.31k
        if constexpr (has_input_param) {
192
4.45k
            Int32 input_max_num_buckets =
193
4.45k
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
194
4.45k
                            ->get_element(row_num);
195
4.45k
            if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) {
196
0
                throw doris::Exception(
197
0
                        ErrorCode::INVALID_ARGUMENT,
198
0
                        "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]",
199
0
                        input_max_num_buckets, row_num);
200
0
            }
201
4.45k
            this->data(place).set_parameters(input_max_num_buckets);
202
4.45k
        } else {
203
1.86k
            this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM);
204
1.86k
        }
205
206
2.40k
        if constexpr (is_string_type(Data::Ptype)) {
207
2.40k
            this->data(place).add(
208
2.40k
                    assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0])
209
2.40k
                            .get_data_at(row_num));
210
3.91k
        } else {
211
3.91k
            this->data(place).add(
212
3.91k
                    assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>(
213
3.91k
                            *columns[0])
214
3.91k
                            .get_data()[row_num]);
215
3.91k
        }
216
6.31k
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
190
250
             Arena&) const override {
191
250
        if constexpr (has_input_param) {
192
250
            Int32 input_max_num_buckets =
193
250
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
194
250
                            ->get_element(row_num);
195
250
            if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) {
196
0
                throw doris::Exception(
197
0
                        ErrorCode::INVALID_ARGUMENT,
198
0
                        "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]",
199
0
                        input_max_num_buckets, row_num);
200
0
            }
201
250
            this->data(place).set_parameters(input_max_num_buckets);
202
        } else {
203
            this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM);
204
        }
205
206
        if constexpr (is_string_type(Data::Ptype)) {
207
            this->data(place).add(
208
                    assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0])
209
                            .get_data_at(row_num));
210
250
        } else {
211
250
            this->data(place).add(
212
250
                    assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>(
213
250
                            *columns[0])
214
250
                            .get_data()[row_num]);
215
250
        }
216
250
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
190
251
             Arena&) const override {
191
251
        if constexpr (has_input_param) {
192
251
            Int32 input_max_num_buckets =
193
251
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
194
251
                            ->get_element(row_num);
195
251
            if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) {
196
0
                throw doris::Exception(
197
0
                        ErrorCode::INVALID_ARGUMENT,
198
0
                        "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]",
199
0
                        input_max_num_buckets, row_num);
200
0
            }
201
251
            this->data(place).set_parameters(input_max_num_buckets);
202
        } else {
203
            this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM);
204
        }
205
206
        if constexpr (is_string_type(Data::Ptype)) {
207
            this->data(place).add(
208
                    assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0])
209
                            .get_data_at(row_num));
210
251
        } else {
211
251
            this->data(place).add(
212
251
                    assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>(
213
251
                            *columns[0])
214
251
                            .get_data()[row_num]);
215
251
        }
216
251
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
190
255
             Arena&) const override {
191
255
        if constexpr (has_input_param) {
192
255
            Int32 input_max_num_buckets =
193
255
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
194
255
                            ->get_element(row_num);
195
255
            if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) {
196
0
                throw doris::Exception(
197
0
                        ErrorCode::INVALID_ARGUMENT,
198
0
                        "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]",
199
0
                        input_max_num_buckets, row_num);
200
0
            }
201
255
            this->data(place).set_parameters(input_max_num_buckets);
202
        } else {
203
            this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM);
204
        }
205
206
        if constexpr (is_string_type(Data::Ptype)) {
207
            this->data(place).add(
208
                    assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0])
209
                            .get_data_at(row_num));
210
255
        } else {
211
255
            this->data(place).add(
212
255
                    assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>(
213
255
                            *columns[0])
214
255
                            .get_data()[row_num]);
215
255
        }
216
255
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
190
239
             Arena&) const override {
191
239
        if constexpr (has_input_param) {
192
239
            Int32 input_max_num_buckets =
193
239
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
194
239
                            ->get_element(row_num);
195
239
            if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) {
196
0
                throw doris::Exception(
197
0
                        ErrorCode::INVALID_ARGUMENT,
198
0
                        "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]",
199
0
                        input_max_num_buckets, row_num);
200
0
            }
201
239
            this->data(place).set_parameters(input_max_num_buckets);
202
        } else {
203
            this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM);
204
        }
205
206
        if constexpr (is_string_type(Data::Ptype)) {
207
            this->data(place).add(
208
                    assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0])
209
                            .get_data_at(row_num));
210
239
        } else {
211
239
            this->data(place).add(
212
239
                    assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>(
213
239
                            *columns[0])
214
239
                            .get_data()[row_num]);
215
239
        }
216
239
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
190
239
             Arena&) const override {
191
239
        if constexpr (has_input_param) {
192
239
            Int32 input_max_num_buckets =
193
239
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
194
239
                            ->get_element(row_num);
195
239
            if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) {
196
0
                throw doris::Exception(
197
0
                        ErrorCode::INVALID_ARGUMENT,
198
0
                        "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]",
199
0
                        input_max_num_buckets, row_num);
200
0
            }
201
239
            this->data(place).set_parameters(input_max_num_buckets);
202
        } else {
203
            this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM);
204
        }
205
206
        if constexpr (is_string_type(Data::Ptype)) {
207
            this->data(place).add(
208
                    assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0])
209
                            .get_data_at(row_num));
210
239
        } else {
211
239
            this->data(place).add(
212
239
                    assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>(
213
239
                            *columns[0])
214
239
                            .get_data()[row_num]);
215
239
        }
216
239
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
190
224
             Arena&) const override {
191
224
        if constexpr (has_input_param) {
192
224
            Int32 input_max_num_buckets =
193
224
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
194
224
                            ->get_element(row_num);
195
224
            if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) {
196
0
                throw doris::Exception(
197
0
                        ErrorCode::INVALID_ARGUMENT,
198
0
                        "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]",
199
0
                        input_max_num_buckets, row_num);
200
0
            }
201
224
            this->data(place).set_parameters(input_max_num_buckets);
202
        } else {
203
            this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM);
204
        }
205
206
        if constexpr (is_string_type(Data::Ptype)) {
207
            this->data(place).add(
208
                    assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0])
209
                            .get_data_at(row_num));
210
224
        } else {
211
224
            this->data(place).add(
212
224
                    assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>(
213
224
                            *columns[0])
214
224
                            .get_data()[row_num]);
215
224
        }
216
224
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
190
224
             Arena&) const override {
191
224
        if constexpr (has_input_param) {
192
224
            Int32 input_max_num_buckets =
193
224
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
194
224
                            ->get_element(row_num);
195
224
            if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) {
196
0
                throw doris::Exception(
197
0
                        ErrorCode::INVALID_ARGUMENT,
198
0
                        "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]",
199
0
                        input_max_num_buckets, row_num);
200
0
            }
201
224
            this->data(place).set_parameters(input_max_num_buckets);
202
        } else {
203
            this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM);
204
        }
205
206
        if constexpr (is_string_type(Data::Ptype)) {
207
            this->data(place).add(
208
                    assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0])
209
                            .get_data_at(row_num));
210
224
        } else {
211
224
            this->data(place).add(
212
224
                    assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>(
213
224
                            *columns[0])
214
224
                            .get_data()[row_num]);
215
224
        }
216
224
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
190
63
             Arena&) const override {
191
63
        if constexpr (has_input_param) {
192
63
            Int32 input_max_num_buckets =
193
63
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
194
63
                            ->get_element(row_num);
195
63
            if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) {
196
0
                throw doris::Exception(
197
0
                        ErrorCode::INVALID_ARGUMENT,
198
0
                        "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]",
199
0
                        input_max_num_buckets, row_num);
200
0
            }
201
63
            this->data(place).set_parameters(input_max_num_buckets);
202
        } else {
203
            this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM);
204
        }
205
206
        if constexpr (is_string_type(Data::Ptype)) {
207
            this->data(place).add(
208
                    assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0])
209
                            .get_data_at(row_num));
210
63
        } else {
211
63
            this->data(place).add(
212
63
                    assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>(
213
63
                            *columns[0])
214
63
                            .get_data()[row_num]);
215
63
        }
216
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
190
2.18k
             Arena&) const override {
191
2.18k
        if constexpr (has_input_param) {
192
2.18k
            Int32 input_max_num_buckets =
193
2.18k
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
194
2.18k
                            ->get_element(row_num);
195
2.18k
            if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) {
196
0
                throw doris::Exception(
197
0
                        ErrorCode::INVALID_ARGUMENT,
198
0
                        "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]",
199
0
                        input_max_num_buckets, row_num);
200
0
            }
201
2.18k
            this->data(place).set_parameters(input_max_num_buckets);
202
        } else {
203
            this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM);
204
        }
205
206
2.18k
        if constexpr (is_string_type(Data::Ptype)) {
207
2.18k
            this->data(place).add(
208
2.18k
                    assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0])
209
2.18k
                            .get_data_at(row_num));
210
        } else {
211
            this->data(place).add(
212
                    assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>(
213
                            *columns[0])
214
                            .get_data()[row_num]);
215
        }
216
2.18k
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
190
263
             Arena&) const override {
191
263
        if constexpr (has_input_param) {
192
263
            Int32 input_max_num_buckets =
193
263
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
194
263
                            ->get_element(row_num);
195
263
            if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) {
196
0
                throw doris::Exception(
197
0
                        ErrorCode::INVALID_ARGUMENT,
198
0
                        "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]",
199
0
                        input_max_num_buckets, row_num);
200
0
            }
201
263
            this->data(place).set_parameters(input_max_num_buckets);
202
        } else {
203
            this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM);
204
        }
205
206
        if constexpr (is_string_type(Data::Ptype)) {
207
            this->data(place).add(
208
                    assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0])
209
                            .get_data_at(row_num));
210
263
        } else {
211
263
            this->data(place).add(
212
263
                    assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>(
213
263
                            *columns[0])
214
263
                            .get_data()[row_num]);
215
263
        }
216
263
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
190
263
             Arena&) const override {
191
263
        if constexpr (has_input_param) {
192
263
            Int32 input_max_num_buckets =
193
263
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
194
263
                            ->get_element(row_num);
195
263
            if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) {
196
0
                throw doris::Exception(
197
0
                        ErrorCode::INVALID_ARGUMENT,
198
0
                        "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]",
199
0
                        input_max_num_buckets, row_num);
200
0
            }
201
263
            this->data(place).set_parameters(input_max_num_buckets);
202
        } else {
203
            this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM);
204
        }
205
206
        if constexpr (is_string_type(Data::Ptype)) {
207
            this->data(place).add(
208
                    assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0])
209
                            .get_data_at(row_num));
210
263
        } else {
211
263
            this->data(place).add(
212
263
                    assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>(
213
263
                            *columns[0])
214
263
                            .get_data()[row_num]);
215
263
        }
216
263
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE43EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
190
15
             Arena&) const override {
191
        if constexpr (has_input_param) {
192
            Int32 input_max_num_buckets =
193
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
194
                            ->get_element(row_num);
195
            if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) {
196
                throw doris::Exception(
197
                        ErrorCode::INVALID_ARGUMENT,
198
                        "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]",
199
                        input_max_num_buckets, row_num);
200
            }
201
            this->data(place).set_parameters(input_max_num_buckets);
202
15
        } else {
203
15
            this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM);
204
15
        }
205
206
        if constexpr (is_string_type(Data::Ptype)) {
207
            this->data(place).add(
208
                    assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0])
209
                            .get_data_at(row_num));
210
15
        } else {
211
15
            this->data(place).add(
212
15
                    assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>(
213
15
                            *columns[0])
214
15
                            .get_data()[row_num]);
215
15
        }
216
15
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
190
108
             Arena&) const override {
191
        if constexpr (has_input_param) {
192
            Int32 input_max_num_buckets =
193
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
194
                            ->get_element(row_num);
195
            if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) {
196
                throw doris::Exception(
197
                        ErrorCode::INVALID_ARGUMENT,
198
                        "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]",
199
                        input_max_num_buckets, row_num);
200
            }
201
            this->data(place).set_parameters(input_max_num_buckets);
202
108
        } else {
203
108
            this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM);
204
108
        }
205
206
        if constexpr (is_string_type(Data::Ptype)) {
207
            this->data(place).add(
208
                    assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0])
209
                            .get_data_at(row_num));
210
108
        } else {
211
108
            this->data(place).add(
212
108
                    assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>(
213
108
                            *columns[0])
214
108
                            .get_data()[row_num]);
215
108
        }
216
108
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
190
108
             Arena&) const override {
191
        if constexpr (has_input_param) {
192
            Int32 input_max_num_buckets =
193
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
194
                            ->get_element(row_num);
195
            if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) {
196
                throw doris::Exception(
197
                        ErrorCode::INVALID_ARGUMENT,
198
                        "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]",
199
                        input_max_num_buckets, row_num);
200
            }
201
            this->data(place).set_parameters(input_max_num_buckets);
202
108
        } else {
203
108
            this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM);
204
108
        }
205
206
        if constexpr (is_string_type(Data::Ptype)) {
207
            this->data(place).add(
208
                    assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0])
209
                            .get_data_at(row_num));
210
108
        } else {
211
108
            this->data(place).add(
212
108
                    assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>(
213
108
                            *columns[0])
214
108
                            .get_data()[row_num]);
215
108
        }
216
108
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
190
281
             Arena&) const override {
191
        if constexpr (has_input_param) {
192
            Int32 input_max_num_buckets =
193
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
194
                            ->get_element(row_num);
195
            if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) {
196
                throw doris::Exception(
197
                        ErrorCode::INVALID_ARGUMENT,
198
                        "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]",
199
                        input_max_num_buckets, row_num);
200
            }
201
            this->data(place).set_parameters(input_max_num_buckets);
202
281
        } else {
203
281
            this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM);
204
281
        }
205
206
        if constexpr (is_string_type(Data::Ptype)) {
207
            this->data(place).add(
208
                    assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0])
209
                            .get_data_at(row_num));
210
281
        } else {
211
281
            this->data(place).add(
212
281
                    assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>(
213
281
                            *columns[0])
214
281
                            .get_data()[row_num]);
215
281
        }
216
281
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
190
123
             Arena&) const override {
191
        if constexpr (has_input_param) {
192
            Int32 input_max_num_buckets =
193
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
194
                            ->get_element(row_num);
195
            if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) {
196
                throw doris::Exception(
197
                        ErrorCode::INVALID_ARGUMENT,
198
                        "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]",
199
                        input_max_num_buckets, row_num);
200
            }
201
            this->data(place).set_parameters(input_max_num_buckets);
202
123
        } else {
203
123
            this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM);
204
123
        }
205
206
        if constexpr (is_string_type(Data::Ptype)) {
207
            this->data(place).add(
208
                    assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0])
209
                            .get_data_at(row_num));
210
123
        } else {
211
123
            this->data(place).add(
212
123
                    assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>(
213
123
                            *columns[0])
214
123
                            .get_data()[row_num]);
215
123
        }
216
123
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
190
108
             Arena&) const override {
191
        if constexpr (has_input_param) {
192
            Int32 input_max_num_buckets =
193
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
194
                            ->get_element(row_num);
195
            if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) {
196
                throw doris::Exception(
197
                        ErrorCode::INVALID_ARGUMENT,
198
                        "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]",
199
                        input_max_num_buckets, row_num);
200
            }
201
            this->data(place).set_parameters(input_max_num_buckets);
202
108
        } else {
203
108
            this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM);
204
108
        }
205
206
        if constexpr (is_string_type(Data::Ptype)) {
207
            this->data(place).add(
208
                    assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0])
209
                            .get_data_at(row_num));
210
108
        } else {
211
108
            this->data(place).add(
212
108
                    assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>(
213
108
                            *columns[0])
214
108
                            .get_data()[row_num]);
215
108
        }
216
108
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
190
108
             Arena&) const override {
191
        if constexpr (has_input_param) {
192
            Int32 input_max_num_buckets =
193
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
194
                            ->get_element(row_num);
195
            if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) {
196
                throw doris::Exception(
197
                        ErrorCode::INVALID_ARGUMENT,
198
                        "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]",
199
                        input_max_num_buckets, row_num);
200
            }
201
            this->data(place).set_parameters(input_max_num_buckets);
202
108
        } else {
203
108
            this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM);
204
108
        }
205
206
        if constexpr (is_string_type(Data::Ptype)) {
207
            this->data(place).add(
208
                    assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0])
209
                            .get_data_at(row_num));
210
108
        } else {
211
108
            this->data(place).add(
212
108
                    assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>(
213
108
                            *columns[0])
214
108
                            .get_data()[row_num]);
215
108
        }
216
108
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
190
108
             Arena&) const override {
191
        if constexpr (has_input_param) {
192
            Int32 input_max_num_buckets =
193
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
194
                            ->get_element(row_num);
195
            if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) {
196
                throw doris::Exception(
197
                        ErrorCode::INVALID_ARGUMENT,
198
                        "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]",
199
                        input_max_num_buckets, row_num);
200
            }
201
            this->data(place).set_parameters(input_max_num_buckets);
202
108
        } else {
203
108
            this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM);
204
108
        }
205
206
        if constexpr (is_string_type(Data::Ptype)) {
207
            this->data(place).add(
208
                    assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0])
209
                            .get_data_at(row_num));
210
108
        } else {
211
108
            this->data(place).add(
212
108
                    assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>(
213
108
                            *columns[0])
214
108
                            .get_data()[row_num]);
215
108
        }
216
108
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
190
108
             Arena&) const override {
191
        if constexpr (has_input_param) {
192
            Int32 input_max_num_buckets =
193
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
194
                            ->get_element(row_num);
195
            if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) {
196
                throw doris::Exception(
197
                        ErrorCode::INVALID_ARGUMENT,
198
                        "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]",
199
                        input_max_num_buckets, row_num);
200
            }
201
            this->data(place).set_parameters(input_max_num_buckets);
202
108
        } else {
203
108
            this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM);
204
108
        }
205
206
        if constexpr (is_string_type(Data::Ptype)) {
207
            this->data(place).add(
208
                    assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0])
209
                            .get_data_at(row_num));
210
108
        } else {
211
108
            this->data(place).add(
212
108
                    assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>(
213
108
                            *columns[0])
214
108
                            .get_data()[row_num]);
215
108
        }
216
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
190
223
             Arena&) const override {
191
        if constexpr (has_input_param) {
192
            Int32 input_max_num_buckets =
193
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
194
                            ->get_element(row_num);
195
            if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) {
196
                throw doris::Exception(
197
                        ErrorCode::INVALID_ARGUMENT,
198
                        "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]",
199
                        input_max_num_buckets, row_num);
200
            }
201
            this->data(place).set_parameters(input_max_num_buckets);
202
223
        } else {
203
223
            this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM);
204
223
        }
205
206
223
        if constexpr (is_string_type(Data::Ptype)) {
207
223
            this->data(place).add(
208
223
                    assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0])
209
223
                            .get_data_at(row_num));
210
        } else {
211
            this->data(place).add(
212
                    assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>(
213
                            *columns[0])
214
                            .get_data()[row_num]);
215
        }
216
223
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
190
216
             Arena&) const override {
191
        if constexpr (has_input_param) {
192
            Int32 input_max_num_buckets =
193
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
194
                            ->get_element(row_num);
195
            if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) {
196
                throw doris::Exception(
197
                        ErrorCode::INVALID_ARGUMENT,
198
                        "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]",
199
                        input_max_num_buckets, row_num);
200
            }
201
            this->data(place).set_parameters(input_max_num_buckets);
202
216
        } else {
203
216
            this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM);
204
216
        }
205
206
        if constexpr (is_string_type(Data::Ptype)) {
207
            this->data(place).add(
208
                    assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0])
209
                            .get_data_at(row_num));
210
216
        } else {
211
216
            this->data(place).add(
212
216
                    assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>(
213
216
                            *columns[0])
214
216
                            .get_data()[row_num]);
215
216
        }
216
216
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
190
216
             Arena&) const override {
191
        if constexpr (has_input_param) {
192
            Int32 input_max_num_buckets =
193
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
194
                            ->get_element(row_num);
195
            if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) {
196
                throw doris::Exception(
197
                        ErrorCode::INVALID_ARGUMENT,
198
                        "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]",
199
                        input_max_num_buckets, row_num);
200
            }
201
            this->data(place).set_parameters(input_max_num_buckets);
202
216
        } else {
203
216
            this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM);
204
216
        }
205
206
        if constexpr (is_string_type(Data::Ptype)) {
207
            this->data(place).add(
208
                    assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0])
209
                            .get_data_at(row_num));
210
216
        } else {
211
216
            this->data(place).add(
212
216
                    assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>(
213
216
                            *columns[0])
214
216
                            .get_data()[row_num]);
215
216
        }
216
216
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE43EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
190
142
             Arena&) const override {
191
        if constexpr (has_input_param) {
192
            Int32 input_max_num_buckets =
193
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
194
                            ->get_element(row_num);
195
            if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) {
196
                throw doris::Exception(
197
                        ErrorCode::INVALID_ARGUMENT,
198
                        "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]",
199
                        input_max_num_buckets, row_num);
200
            }
201
            this->data(place).set_parameters(input_max_num_buckets);
202
142
        } else {
203
142
            this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM);
204
142
        }
205
206
        if constexpr (is_string_type(Data::Ptype)) {
207
            this->data(place).add(
208
                    assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0])
209
                            .get_data_at(row_num));
210
142
        } else {
211
142
            this->data(place).add(
212
142
                    assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>(
213
142
                            *columns[0])
214
142
                            .get_data()[row_num]);
215
142
        }
216
142
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
190
3
             Arena&) const override {
191
        if constexpr (has_input_param) {
192
            Int32 input_max_num_buckets =
193
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
194
                            ->get_element(row_num);
195
            if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) {
196
                throw doris::Exception(
197
                        ErrorCode::INVALID_ARGUMENT,
198
                        "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]",
199
                        input_max_num_buckets, row_num);
200
            }
201
            this->data(place).set_parameters(input_max_num_buckets);
202
3
        } else {
203
3
            this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM);
204
3
        }
205
206
        if constexpr (is_string_type(Data::Ptype)) {
207
            this->data(place).add(
208
                    assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0])
209
                            .get_data_at(row_num));
210
3
        } else {
211
3
            this->data(place).add(
212
3
                    assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>(
213
3
                            *columns[0])
214
3
                            .get_data()[row_num]);
215
3
        }
216
3
    }
217
218
748
    void check_input_columns_type(const IColumn** columns) const override {
219
748
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
220
748
        if constexpr (has_input_param) {
221
146
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
222
146
        }
223
748
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EE24check_input_columns_typeEPPKNS_7IColumnE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
218
21
    void check_input_columns_type(const IColumn** columns) const override {
219
21
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
220
21
        if constexpr (has_input_param) {
221
21
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
222
21
        }
223
21
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
218
10
    void check_input_columns_type(const IColumn** columns) const override {
219
10
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
220
10
        if constexpr (has_input_param) {
221
10
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
222
10
        }
223
10
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
218
6
    void check_input_columns_type(const IColumn** columns) const override {
219
6
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
220
6
        if constexpr (has_input_param) {
221
6
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
222
6
        }
223
6
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
218
10
    void check_input_columns_type(const IColumn** columns) const override {
219
10
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
220
10
        if constexpr (has_input_param) {
221
10
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
222
10
        }
223
10
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
218
10
    void check_input_columns_type(const IColumn** columns) const override {
219
10
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
220
10
        if constexpr (has_input_param) {
221
10
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
222
10
        }
223
10
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb1EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
218
4
    void check_input_columns_type(const IColumn** columns) const override {
219
4
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
220
4
        if constexpr (has_input_param) {
221
4
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
222
4
        }
223
4
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb1EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
218
4
    void check_input_columns_type(const IColumn** columns) const override {
219
4
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
220
4
        if constexpr (has_input_param) {
221
4
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
222
4
        }
223
4
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb1EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
218
14
    void check_input_columns_type(const IColumn** columns) const override {
219
14
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
220
14
        if constexpr (has_input_param) {
221
14
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
222
14
        }
223
14
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb1EE24check_input_columns_typeEPPKNS_7IColumnE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb1EE24check_input_columns_typeEPPKNS_7IColumnE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb1EE24check_input_columns_typeEPPKNS_7IColumnE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb1EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
218
39
    void check_input_columns_type(const IColumn** columns) const override {
219
39
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
220
39
        if constexpr (has_input_param) {
221
39
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
222
39
        }
223
39
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
218
14
    void check_input_columns_type(const IColumn** columns) const override {
219
14
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
220
14
        if constexpr (has_input_param) {
221
14
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
222
14
        }
223
14
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
218
14
    void check_input_columns_type(const IColumn** columns) const override {
219
14
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
220
14
        if constexpr (has_input_param) {
221
14
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
222
14
        }
223
14
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE43EEELb1EE24check_input_columns_typeEPPKNS_7IColumnE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EEELb1EE24check_input_columns_typeEPPKNS_7IColumnE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
218
6
    void check_input_columns_type(const IColumn** columns) const override {
219
6
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
220
        if constexpr (has_input_param) {
221
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
222
        }
223
6
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
218
36
    void check_input_columns_type(const IColumn** columns) const override {
219
36
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
220
        if constexpr (has_input_param) {
221
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
222
        }
223
36
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
218
36
    void check_input_columns_type(const IColumn** columns) const override {
219
36
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
220
        if constexpr (has_input_param) {
221
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
222
        }
223
36
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
218
64
    void check_input_columns_type(const IColumn** columns) const override {
219
64
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
220
        if constexpr (has_input_param) {
221
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
222
        }
223
64
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
218
39
    void check_input_columns_type(const IColumn** columns) const override {
219
39
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
220
        if constexpr (has_input_param) {
221
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
222
        }
223
39
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb0EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
218
36
    void check_input_columns_type(const IColumn** columns) const override {
219
36
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
220
        if constexpr (has_input_param) {
221
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
222
        }
223
36
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb0EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
218
36
    void check_input_columns_type(const IColumn** columns) const override {
219
36
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
220
        if constexpr (has_input_param) {
221
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
222
        }
223
36
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb0EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
218
36
    void check_input_columns_type(const IColumn** columns) const override {
219
36
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
220
        if constexpr (has_input_param) {
221
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
222
        }
223
36
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb0EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
218
35
    void check_input_columns_type(const IColumn** columns) const override {
219
35
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
220
        if constexpr (has_input_param) {
221
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
222
        }
223
35
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb0EE24check_input_columns_typeEPPKNS_7IColumnE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb0EE24check_input_columns_typeEPPKNS_7IColumnE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb0EE24check_input_columns_typeEPPKNS_7IColumnE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb0EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
218
71
    void check_input_columns_type(const IColumn** columns) const override {
219
71
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
220
        if constexpr (has_input_param) {
221
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
222
        }
223
71
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb0EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
218
72
    void check_input_columns_type(const IColumn** columns) const override {
219
72
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
220
        if constexpr (has_input_param) {
221
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
222
        }
223
72
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb0EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
218
72
    void check_input_columns_type(const IColumn** columns) const override {
219
72
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
220
        if constexpr (has_input_param) {
221
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
222
        }
223
72
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE43EEELb0EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
218
62
    void check_input_columns_type(const IColumn** columns) const override {
219
62
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
220
        if constexpr (has_input_param) {
221
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
222
        }
223
62
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EEELb0EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
218
1
    void check_input_columns_type(const IColumn** columns) const override {
219
1
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
220
        if constexpr (has_input_param) {
221
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
222
        }
223
1
    }
224
225
34
    void reset(AggregateDataPtr place) const override { this->data(place).reset(); }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EE5resetEPc
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EE5resetEPc
Line
Count
Source
225
3
    void reset(AggregateDataPtr place) const override { this->data(place).reset(); }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EE5resetEPc
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EE5resetEPc
Line
Count
Source
225
2
    void reset(AggregateDataPtr place) const override { this->data(place).reset(); }
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_13PrimitiveTypeE43EEELb1EE5resetEPc
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EEELb1EE5resetEPc
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EE5resetEPc
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EE5resetEPc
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EE5resetEPc
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EE5resetEPc
Line
Count
Source
225
26
    void reset(AggregateDataPtr place) const override { this->data(place).reset(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EE5resetEPc
Line
Count
Source
225
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
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE43EEELb0EE5resetEPc
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EEELb0EE5resetEPc
226
227
    void merge(AggregateDataPtr __restrict place, ConstAggregateDataPtr rhs,
228
1.34k
               Arena&) const override {
229
1.34k
        this->data(place).merge(this->data(rhs));
230
1.34k
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EE5mergeEPcPKcRNS_5ArenaE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
228
20
               Arena&) const override {
229
20
        this->data(place).merge(this->data(rhs));
230
20
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
228
9
               Arena&) const override {
229
9
        this->data(place).merge(this->data(rhs));
230
9
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
228
36
               Arena&) const override {
229
36
        this->data(place).merge(this->data(rhs));
230
36
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
228
9
               Arena&) const override {
229
9
        this->data(place).merge(this->data(rhs));
230
9
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
228
9
               Arena&) const override {
229
9
        this->data(place).merge(this->data(rhs));
230
9
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb1EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
228
4
               Arena&) const override {
229
4
        this->data(place).merge(this->data(rhs));
230
4
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb1EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
228
4
               Arena&) const override {
229
4
        this->data(place).merge(this->data(rhs));
230
4
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb1EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
228
11
               Arena&) const override {
229
11
        this->data(place).merge(this->data(rhs));
230
11
    }
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
228
32
               Arena&) const override {
229
32
        this->data(place).merge(this->data(rhs));
230
32
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
228
12
               Arena&) const override {
229
12
        this->data(place).merge(this->data(rhs));
230
12
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
228
12
               Arena&) const override {
229
12
        this->data(place).merge(this->data(rhs));
230
12
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE43EEELb1EE5mergeEPcPKcRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EEELb1EE5mergeEPcPKcRNS_5ArenaE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
228
5
               Arena&) const override {
229
5
        this->data(place).merge(this->data(rhs));
230
5
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
228
69
               Arena&) const override {
229
69
        this->data(place).merge(this->data(rhs));
230
69
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
228
69
               Arena&) const override {
229
69
        this->data(place).merge(this->data(rhs));
230
69
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
228
201
               Arena&) const override {
229
201
        this->data(place).merge(this->data(rhs));
230
201
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
228
69
               Arena&) const override {
229
69
        this->data(place).merge(this->data(rhs));
230
69
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb0EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
228
69
               Arena&) const override {
229
69
        this->data(place).merge(this->data(rhs));
230
69
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb0EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
228
69
               Arena&) const override {
229
69
        this->data(place).merge(this->data(rhs));
230
69
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb0EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
228
69
               Arena&) const override {
229
69
        this->data(place).merge(this->data(rhs));
230
69
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb0EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
228
65
               Arena&) const override {
229
65
        this->data(place).merge(this->data(rhs));
230
65
    }
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
228
137
               Arena&) const override {
229
137
        this->data(place).merge(this->data(rhs));
230
137
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb0EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
228
136
               Arena&) const override {
229
136
        this->data(place).merge(this->data(rhs));
230
136
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb0EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
228
136
               Arena&) const override {
229
136
        this->data(place).merge(this->data(rhs));
230
136
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE43EEELb0EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
228
94
               Arena&) const override {
229
94
        this->data(place).merge(this->data(rhs));
230
94
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EEELb0EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
228
1
               Arena&) const override {
229
1
        this->data(place).merge(this->data(rhs));
230
1
    }
231
232
1.37k
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
233
1.37k
        this->data(place).write(buf);
234
1.37k
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EE9serializeEPKcRNS_14BufferWritableE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
232
22
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
233
22
        this->data(place).write(buf);
234
22
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
232
9
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
233
9
        this->data(place).write(buf);
234
9
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
232
20
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
233
20
        this->data(place).write(buf);
234
20
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
232
9
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
233
9
        this->data(place).write(buf);
234
9
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
232
9
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
233
9
        this->data(place).write(buf);
234
9
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb1EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
232
4
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
233
4
        this->data(place).write(buf);
234
4
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb1EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
232
4
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
233
4
        this->data(place).write(buf);
234
4
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb1EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
232
11
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
233
11
        this->data(place).write(buf);
234
11
    }
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
232
32
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
233
32
        this->data(place).write(buf);
234
32
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
232
12
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
233
12
        this->data(place).write(buf);
234
12
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
232
12
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
233
12
        this->data(place).write(buf);
234
12
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE43EEELb1EE9serializeEPKcRNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EEELb1EE9serializeEPKcRNS_14BufferWritableE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
232
5
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
233
5
        this->data(place).write(buf);
234
5
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
232
69
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
233
69
        this->data(place).write(buf);
234
69
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
232
69
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
233
69
        this->data(place).write(buf);
234
69
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
232
240
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
233
240
        this->data(place).write(buf);
234
240
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
232
69
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
233
69
        this->data(place).write(buf);
234
69
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb0EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
232
69
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
233
69
        this->data(place).write(buf);
234
69
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb0EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
232
69
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
233
69
        this->data(place).write(buf);
234
69
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb0EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
232
69
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
233
69
        this->data(place).write(buf);
234
69
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb0EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
232
68
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
233
68
        this->data(place).write(buf);
234
68
    }
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
232
137
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
233
137
        this->data(place).write(buf);
234
137
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb0EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
232
136
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
233
136
        this->data(place).write(buf);
234
136
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb0EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
232
136
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
233
136
        this->data(place).write(buf);
234
136
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE43EEELb0EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
232
94
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
233
94
        this->data(place).write(buf);
234
94
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EEELb0EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
232
1
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
233
1
        this->data(place).write(buf);
234
1
    }
235
236
    void deserialize(AggregateDataPtr __restrict place, BufferReadable& buf,
237
1.33k
                     Arena&) const override {
238
1.33k
        this->data(place).read(buf);
239
1.33k
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
237
20
                     Arena&) const override {
238
20
        this->data(place).read(buf);
239
20
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
237
9
                     Arena&) const override {
238
9
        this->data(place).read(buf);
239
9
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
237
24
                     Arena&) const override {
238
24
        this->data(place).read(buf);
239
24
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
237
9
                     Arena&) const override {
238
9
        this->data(place).read(buf);
239
9
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
237
9
                     Arena&) const override {
238
9
        this->data(place).read(buf);
239
9
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
237
4
                     Arena&) const override {
238
4
        this->data(place).read(buf);
239
4
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
237
4
                     Arena&) const override {
238
4
        this->data(place).read(buf);
239
4
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
237
11
                     Arena&) const override {
238
11
        this->data(place).read(buf);
239
11
    }
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
237
32
                     Arena&) const override {
238
32
        this->data(place).read(buf);
239
32
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
237
12
                     Arena&) const override {
238
12
        this->data(place).read(buf);
239
12
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
237
12
                     Arena&) const override {
238
12
        this->data(place).read(buf);
239
12
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE43EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
237
5
                     Arena&) const override {
238
5
        this->data(place).read(buf);
239
5
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
237
69
                     Arena&) const override {
238
69
        this->data(place).read(buf);
239
69
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
237
69
                     Arena&) const override {
238
69
        this->data(place).read(buf);
239
69
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
237
201
                     Arena&) const override {
238
201
        this->data(place).read(buf);
239
201
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
237
69
                     Arena&) const override {
238
69
        this->data(place).read(buf);
239
69
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
237
69
                     Arena&) const override {
238
69
        this->data(place).read(buf);
239
69
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
237
69
                     Arena&) const override {
238
69
        this->data(place).read(buf);
239
69
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
237
69
                     Arena&) const override {
238
69
        this->data(place).read(buf);
239
69
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
237
67
                     Arena&) const override {
238
67
        this->data(place).read(buf);
239
67
    }
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
237
137
                     Arena&) const override {
238
137
        this->data(place).read(buf);
239
137
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
237
136
                     Arena&) const override {
238
136
        this->data(place).read(buf);
239
136
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
237
136
                     Arena&) const override {
238
136
        this->data(place).read(buf);
239
136
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE43EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
237
94
                     Arena&) const override {
238
94
        this->data(place).read(buf);
239
94
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
237
1
                     Arena&) const override {
238
1
        this->data(place).read(buf);
239
1
    }
240
241
802
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
242
802
        const std::string bucket_json = this->data(place).get(_argument_type);
243
802
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
244
802
                bucket_json.c_str(), bucket_json.length());
245
802
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EE18insert_result_intoEPKcRNS_7IColumnE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
241
10
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
242
10
        const std::string bucket_json = this->data(place).get(_argument_type);
243
10
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
244
10
                bucket_json.c_str(), bucket_json.length());
245
10
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
241
9
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
242
9
        const std::string bucket_json = this->data(place).get(_argument_type);
243
9
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
244
9
                bucket_json.c_str(), bucket_json.length());
245
9
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
241
32
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
242
32
        const std::string bucket_json = this->data(place).get(_argument_type);
243
32
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
244
32
                bucket_json.c_str(), bucket_json.length());
245
32
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
241
9
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
242
9
        const std::string bucket_json = this->data(place).get(_argument_type);
243
9
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
244
9
                bucket_json.c_str(), bucket_json.length());
245
9
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
241
9
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
242
9
        const std::string bucket_json = this->data(place).get(_argument_type);
243
9
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
244
9
                bucket_json.c_str(), bucket_json.length());
245
9
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
241
7
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
242
7
        const std::string bucket_json = this->data(place).get(_argument_type);
243
7
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
244
7
                bucket_json.c_str(), bucket_json.length());
245
7
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
241
7
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
242
7
        const std::string bucket_json = this->data(place).get(_argument_type);
243
7
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
244
7
                bucket_json.c_str(), bucket_json.length());
245
7
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
241
12
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
242
12
        const std::string bucket_json = this->data(place).get(_argument_type);
243
12
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
244
12
                bucket_json.c_str(), bucket_json.length());
245
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
241
29
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
242
29
        const std::string bucket_json = this->data(place).get(_argument_type);
243
29
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
244
29
                bucket_json.c_str(), bucket_json.length());
245
29
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
241
14
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
242
14
        const std::string bucket_json = this->data(place).get(_argument_type);
243
14
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
244
14
                bucket_json.c_str(), bucket_json.length());
245
14
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
241
14
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
242
14
        const std::string bucket_json = this->data(place).get(_argument_type);
243
14
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
244
14
                bucket_json.c_str(), bucket_json.length());
245
14
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE43EEELb1EE18insert_result_intoEPKcRNS_7IColumnE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EEELb1EE18insert_result_intoEPKcRNS_7IColumnE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
241
2
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
242
2
        const std::string bucket_json = this->data(place).get(_argument_type);
243
2
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
244
2
                bucket_json.c_str(), bucket_json.length());
245
2
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
241
39
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
242
39
        const std::string bucket_json = this->data(place).get(_argument_type);
243
39
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
244
39
                bucket_json.c_str(), bucket_json.length());
245
39
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
241
39
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
242
39
        const std::string bucket_json = this->data(place).get(_argument_type);
243
39
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
244
39
                bucket_json.c_str(), bucket_json.length());
245
39
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
241
72
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
242
72
        const std::string bucket_json = this->data(place).get(_argument_type);
243
72
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
244
72
                bucket_json.c_str(), bucket_json.length());
245
72
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
241
56
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
242
56
        const std::string bucket_json = this->data(place).get(_argument_type);
243
56
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
244
56
                bucket_json.c_str(), bucket_json.length());
245
56
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
241
39
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
242
39
        const std::string bucket_json = this->data(place).get(_argument_type);
243
39
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
244
39
                bucket_json.c_str(), bucket_json.length());
245
39
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
241
39
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
242
39
        const std::string bucket_json = this->data(place).get(_argument_type);
243
39
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
244
39
                bucket_json.c_str(), bucket_json.length());
245
39
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
241
39
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
242
39
        const std::string bucket_json = this->data(place).get(_argument_type);
243
39
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
244
39
                bucket_json.c_str(), bucket_json.length());
245
39
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
241
37
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
242
37
        const std::string bucket_json = this->data(place).get(_argument_type);
243
37
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
244
37
                bucket_json.c_str(), bucket_json.length());
245
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
241
76
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
242
76
        const std::string bucket_json = this->data(place).get(_argument_type);
243
76
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
244
76
                bucket_json.c_str(), bucket_json.length());
245
76
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
241
74
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
242
74
        const std::string bucket_json = this->data(place).get(_argument_type);
243
74
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
244
74
                bucket_json.c_str(), bucket_json.length());
245
74
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
241
74
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
242
74
        const std::string bucket_json = this->data(place).get(_argument_type);
243
74
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
244
74
                bucket_json.c_str(), bucket_json.length());
245
74
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE43EEELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
241
63
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
242
63
        const std::string bucket_json = this->data(place).get(_argument_type);
243
63
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
244
63
                bucket_json.c_str(), bucket_json.length());
245
63
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EEELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
241
1
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
242
1
        const std::string bucket_json = this->data(place).get(_argument_type);
243
1
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
244
1
                bucket_json.c_str(), bucket_json.length());
245
1
    }
246
247
568
    void check_result_column_type(const IColumn& to) const override {
248
568
        IAggregateFunction::check_result_column_type(to);
249
568
        this->template check_result_column_type_as<ColumnString>(to);
250
568
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EE24check_result_column_typeERKNS_7IColumnE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
247
11
    void check_result_column_type(const IColumn& to) const override {
248
11
        IAggregateFunction::check_result_column_type(to);
249
11
        this->template check_result_column_type_as<ColumnString>(to);
250
11
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
247
11
    void check_result_column_type(const IColumn& to) const override {
248
11
        IAggregateFunction::check_result_column_type(to);
249
11
        this->template check_result_column_type_as<ColumnString>(to);
250
11
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
247
2
    void check_result_column_type(const IColumn& to) const override {
248
2
        IAggregateFunction::check_result_column_type(to);
249
2
        this->template check_result_column_type_as<ColumnString>(to);
250
2
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
247
11
    void check_result_column_type(const IColumn& to) const override {
248
11
        IAggregateFunction::check_result_column_type(to);
249
11
        this->template check_result_column_type_as<ColumnString>(to);
250
11
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
247
11
    void check_result_column_type(const IColumn& to) const override {
248
11
        IAggregateFunction::check_result_column_type(to);
249
11
        this->template check_result_column_type_as<ColumnString>(to);
250
11
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb1EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
247
9
    void check_result_column_type(const IColumn& to) const override {
248
9
        IAggregateFunction::check_result_column_type(to);
249
9
        this->template check_result_column_type_as<ColumnString>(to);
250
9
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb1EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
247
9
    void check_result_column_type(const IColumn& to) const override {
248
9
        IAggregateFunction::check_result_column_type(to);
249
9
        this->template check_result_column_type_as<ColumnString>(to);
250
9
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb1EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
247
20
    void check_result_column_type(const IColumn& to) const override {
248
20
        IAggregateFunction::check_result_column_type(to);
249
20
        this->template check_result_column_type_as<ColumnString>(to);
250
20
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb1EE24check_result_column_typeERKNS_7IColumnE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb1EE24check_result_column_typeERKNS_7IColumnE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb1EE24check_result_column_typeERKNS_7IColumnE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb1EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
247
41
    void check_result_column_type(const IColumn& to) const override {
248
41
        IAggregateFunction::check_result_column_type(to);
249
41
        this->template check_result_column_type_as<ColumnString>(to);
250
41
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
247
20
    void check_result_column_type(const IColumn& to) const override {
248
20
        IAggregateFunction::check_result_column_type(to);
249
20
        this->template check_result_column_type_as<ColumnString>(to);
250
20
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
247
18
    void check_result_column_type(const IColumn& to) const override {
248
18
        IAggregateFunction::check_result_column_type(to);
249
18
        this->template check_result_column_type_as<ColumnString>(to);
250
18
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE43EEELb1EE24check_result_column_typeERKNS_7IColumnE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EEELb1EE24check_result_column_typeERKNS_7IColumnE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
247
2
    void check_result_column_type(const IColumn& to) const override {
248
2
        IAggregateFunction::check_result_column_type(to);
249
2
        this->template check_result_column_type_as<ColumnString>(to);
250
2
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
247
23
    void check_result_column_type(const IColumn& to) const override {
248
23
        IAggregateFunction::check_result_column_type(to);
249
23
        this->template check_result_column_type_as<ColumnString>(to);
250
23
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
247
23
    void check_result_column_type(const IColumn& to) const override {
248
23
        IAggregateFunction::check_result_column_type(to);
249
23
        this->template check_result_column_type_as<ColumnString>(to);
250
23
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
247
51
    void check_result_column_type(const IColumn& to) const override {
248
51
        IAggregateFunction::check_result_column_type(to);
249
51
        this->template check_result_column_type_as<ColumnString>(to);
250
51
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
247
26
    void check_result_column_type(const IColumn& to) const override {
248
26
        IAggregateFunction::check_result_column_type(to);
249
26
        this->template check_result_column_type_as<ColumnString>(to);
250
26
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb0EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
247
23
    void check_result_column_type(const IColumn& to) const override {
248
23
        IAggregateFunction::check_result_column_type(to);
249
23
        this->template check_result_column_type_as<ColumnString>(to);
250
23
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb0EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
247
23
    void check_result_column_type(const IColumn& to) const override {
248
23
        IAggregateFunction::check_result_column_type(to);
249
23
        this->template check_result_column_type_as<ColumnString>(to);
250
23
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb0EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
247
23
    void check_result_column_type(const IColumn& to) const override {
248
23
        IAggregateFunction::check_result_column_type(to);
249
23
        this->template check_result_column_type_as<ColumnString>(to);
250
23
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb0EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
247
23
    void check_result_column_type(const IColumn& to) const override {
248
23
        IAggregateFunction::check_result_column_type(to);
249
23
        this->template check_result_column_type_as<ColumnString>(to);
250
23
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb0EE24check_result_column_typeERKNS_7IColumnE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb0EE24check_result_column_typeERKNS_7IColumnE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb0EE24check_result_column_typeERKNS_7IColumnE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb0EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
247
47
    void check_result_column_type(const IColumn& to) const override {
248
47
        IAggregateFunction::check_result_column_type(to);
249
47
        this->template check_result_column_type_as<ColumnString>(to);
250
47
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb0EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
247
46
    void check_result_column_type(const IColumn& to) const override {
248
46
        IAggregateFunction::check_result_column_type(to);
249
46
        this->template check_result_column_type_as<ColumnString>(to);
250
46
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb0EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
247
45
    void check_result_column_type(const IColumn& to) const override {
248
45
        IAggregateFunction::check_result_column_type(to);
249
45
        this->template check_result_column_type_as<ColumnString>(to);
250
45
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE43EEELb0EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
247
49
    void check_result_column_type(const IColumn& to) const override {
248
49
        IAggregateFunction::check_result_column_type(to);
249
49
        this->template check_result_column_type_as<ColumnString>(to);
250
49
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EEELb0EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
247
1
    void check_result_column_type(const IColumn& to) const override {
248
1
        IAggregateFunction::check_result_column_type(to);
249
1
        this->template check_result_column_type_as<ColumnString>(to);
250
1
    }
251
252
private:
253
    DataTypePtr _argument_type;
254
};
255
256
} // namespace doris