Coverage Report

Created: 2026-09-18 18:55

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
535
    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
331
    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
478
    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
129
            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
108
            it->second = it->second + number;
72
3.80k
        } else {
73
3.80k
            ordered_map.insert({value, number});
74
3.80k
        }
75
3.91k
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EE3addERKhRKm
Line
Count
Source
68
15
    void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) {
69
15
        auto it = ordered_map.find(value);
70
15
        if (it != ordered_map.end()) {
71
9
            it->second = it->second + number;
72
9
        } else {
73
6
            ordered_map.insert({value, number});
74
6
        }
75
15
    }
_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
359
    void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) {
69
359
        auto it = ordered_map.find(value);
70
359
        if (it != ordered_map.end()) {
71
6
            it->second = it->second + number;
72
353
        } else {
73
353
            ordered_map.insert({value, number});
74
353
        }
75
359
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EE3addERKiRKm
Line
Count
Source
68
535
    void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) {
69
535
        auto it = ordered_map.find(value);
70
535
        if (it != ordered_map.end()) {
71
20
            it->second = it->second + number;
72
515
        } else {
73
515
            ordered_map.insert({value, number});
74
515
        }
75
535
    }
_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
346
    void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) {
69
346
        auto it = ordered_map.find(value);
70
346
        if (it != ordered_map.end()) {
71
4
            it->second = it->second + number;
72
342
        } else {
73
342
            ordered_map.insert({value, number});
74
342
        }
75
346
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EE3addERKfRKm
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_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
171
    void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) {
69
171
        auto it = ordered_map.find(value);
70
171
        if (it != ordered_map.end()) {
71
8
            it->second = it->second + number;
72
163
        } else {
73
163
            ordered_map.insert({value, number});
74
163
        }
75
171
    }
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
478
    void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) {
69
478
        auto it = ordered_map.find(value);
70
478
        if (it != ordered_map.end()) {
71
20
            it->second = it->second + number;
72
458
        } else {
73
458
            ordered_map.insert({value, number});
74
458
        }
75
478
    }
_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.37k
    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.37k
        if (!rhs.max_num_buckets) {
81
100
            return;
82
100
        }
83
84
1.27k
        if (!max_num_buckets) {
85
566
            max_num_buckets = rhs.max_num_buckets;
86
704
        } 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.25k
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EE5mergeERKS2_
Line
Count
Source
77
6
    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
6
        if (!rhs.max_num_buckets) {
81
2
            return;
82
2
        }
83
84
4
        if (!max_num_buckets) {
85
1
            max_num_buckets = rhs.max_num_buckets;
86
3
        } 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
6
        for (auto rhs_it : rhs.ordered_map) {
93
6
            auto lhs_it = ordered_map.find(rhs_it.first);
94
6
            if (lhs_it != ordered_map.end()) {
95
4
                lhs_it->second += rhs_it.second;
96
4
            } else {
97
2
                ordered_map.insert({rhs_it.first, rhs_it.second});
98
2
            }
99
6
        }
100
4
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EE5mergeERKS2_
Line
Count
Source
77
91
    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
91
        if (!rhs.max_num_buckets) {
81
8
            return;
82
8
        }
83
84
83
        if (!max_num_buckets) {
85
37
            max_num_buckets = rhs.max_num_buckets;
86
46
        } 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
254
        for (auto rhs_it : rhs.ordered_map) {
93
254
            auto lhs_it = ordered_map.find(rhs_it.first);
94
254
            if (lhs_it != ordered_map.end()) {
95
100
                lhs_it->second += rhs_it.second;
96
154
            } else {
97
154
                ordered_map.insert({rhs_it.first, rhs_it.second});
98
154
            }
99
254
        }
100
79
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EE5mergeERKS2_
Line
Count
Source
77
79
    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
79
        if (!rhs.max_num_buckets) {
81
5
            return;
82
5
        }
83
84
74
        if (!max_num_buckets) {
85
31
            max_num_buckets = rhs.max_num_buckets;
86
43
        } 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
74
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EE5mergeERKS2_
Line
Count
Source
77
245
    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
245
        if (!rhs.max_num_buckets) {
81
23
            return;
82
23
        }
83
84
222
        if (!max_num_buckets) {
85
102
            max_num_buckets = rhs.max_num_buckets;
86
120
        } 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
166
                lhs_it->second += rhs_it.second;
96
218
            } else {
97
218
                ordered_map.insert({rhs_it.first, rhs_it.second});
98
218
            }
99
384
        }
100
214
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EE5mergeERKS2_
Line
Count
Source
77
79
    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
79
        if (!rhs.max_num_buckets) {
81
7
            return;
82
7
        }
83
84
72
        if (!max_num_buckets) {
85
30
            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
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
72
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EE5mergeERKS2_
Line
Count
Source
77
79
    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
79
        if (!rhs.max_num_buckets) {
81
7
            return;
82
7
        }
83
84
72
        if (!max_num_buckets) {
85
30
            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
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
72
    }
_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
80
    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
80
        if (!rhs.max_num_buckets) {
81
6
            return;
82
6
        }
83
84
74
        if (!max_num_buckets) {
85
33
            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
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
74
    }
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EE5mergeERKS2_
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EE5mergeERKS2_
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EE5mergeERKS2_
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EE5mergeERKS2_
Line
Count
Source
77
173
    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
173
        if (!rhs.max_num_buckets) {
81
8
            return;
82
8
        }
83
84
165
        if (!max_num_buckets) {
85
74
            max_num_buckets = rhs.max_num_buckets;
86
91
        } 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.27k
        for (auto rhs_it : rhs.ordered_map) {
93
1.27k
            auto lhs_it = ordered_map.find(rhs_it.first);
94
1.27k
            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.27k
        }
100
165
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EE5mergeERKS2_
Line
Count
Source
77
149
    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
149
        if (!rhs.max_num_buckets) {
81
10
            return;
82
10
        }
83
84
139
        if (!max_num_buckets) {
85
59
            max_num_buckets = rhs.max_num_buckets;
86
80
        } 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
139
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EE5mergeERKS2_
Line
Count
Source
77
149
    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
149
        if (!rhs.max_num_buckets) {
81
10
            return;
82
10
        }
83
84
139
        if (!max_num_buckets) {
85
59
            max_num_buckets = rhs.max_num_buckets;
86
80
        } 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
375
        for (auto rhs_it : rhs.ordered_map) {
93
375
            auto lhs_it = ordered_map.find(rhs_it.first);
94
375
            if (lhs_it != ordered_map.end()) {
95
102
                lhs_it->second += rhs_it.second;
96
273
            } else {
97
273
                ordered_map.insert({rhs_it.first, rhs_it.second});
98
273
            }
99
375
        }
100
139
    }
_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
51
            max_num_buckets = rhs.max_num_buckets;
86
51
        } 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
148
        for (auto rhs_it : rhs.ordered_map) {
93
148
            auto lhs_it = ordered_map.find(rhs_it.first);
94
148
            if (lhs_it != ordered_map.end()) {
95
0
                lhs_it->second += rhs_it.second;
96
148
            } else {
97
148
                ordered_map.insert({rhs_it.first, rhs_it.second});
98
148
            }
99
148
        }
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.39k
    void write(BufferWritable& buf) const {
103
1.39k
        buf.write_binary(max_num_buckets);
104
1.39k
        auto element_number = (size_t)ordered_map.size();
105
1.39k
        buf.write_binary(element_number);
106
107
1.39k
        auto pair_vector = map_to_vector();
108
109
5.64k
        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.39k
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EE5writeERNS_14BufferWritableE
Line
Count
Source
102
6
    void write(BufferWritable& buf) const {
103
6
        buf.write_binary(max_num_buckets);
104
6
        auto element_number = (size_t)ordered_map.size();
105
6
        buf.write_binary(element_number);
106
107
6
        auto pair_vector = map_to_vector();
108
109
12
        for (auto i = 0; i < element_number; i++) {
110
6
            auto element = pair_vector[i];
111
6
            buf.write_binary(element.second);
112
6
            buf.write_binary(element.first);
113
6
        }
114
6
    }
_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
351
        for (auto i = 0; i < element_number; i++) {
110
260
            auto element = pair_vector[i];
111
260
            buf.write_binary(element.second);
112
260
            buf.write_binary(element.first);
113
260
        }
114
91
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EE5writeERNS_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
338
        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
79
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EE5writeERNS_14BufferWritableE
Line
Count
Source
102
268
    void write(BufferWritable& buf) const {
103
268
        buf.write_binary(max_num_buckets);
104
268
        auto element_number = (size_t)ordered_map.size();
105
268
        buf.write_binary(element_number);
106
107
268
        auto pair_vector = map_to_vector();
108
109
688
        for (auto i = 0; i < element_number; i++) {
110
420
            auto element = pair_vector[i];
111
420
            buf.write_binary(element.second);
112
420
            buf.write_binary(element.first);
113
420
        }
114
268
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EE5writeERNS_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
326
        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
79
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EE5writeERNS_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
329
        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
79
    }
_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
80
    void write(BufferWritable& buf) const {
103
80
        buf.write_binary(max_num_buckets);
104
80
        auto element_number = (size_t)ordered_map.size();
105
80
        buf.write_binary(element_number);
106
107
80
        auto pair_vector = map_to_vector();
108
109
245
        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
80
    }
Unexecuted instantiation: _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EE5writeERNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EE5writeERNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EE5writeERNS_14BufferWritableE
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EE5writeERNS_14BufferWritableE
Line
Count
Source
102
173
    void write(BufferWritable& buf) const {
103
173
        buf.write_binary(max_num_buckets);
104
173
        auto element_number = (size_t)ordered_map.size();
105
173
        buf.write_binary(element_number);
106
107
173
        auto pair_vector = map_to_vector();
108
109
1.44k
        for (auto i = 0; i < element_number; i++) {
110
1.27k
            auto element = pair_vector[i];
111
1.27k
            buf.write_binary(element.second);
112
1.27k
            buf.write_binary(element.first);
113
1.27k
        }
114
173
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EE5writeERNS_14BufferWritableE
Line
Count
Source
102
149
    void write(BufferWritable& buf) const {
103
149
        buf.write_binary(max_num_buckets);
104
149
        auto element_number = (size_t)ordered_map.size();
105
149
        buf.write_binary(element_number);
106
107
149
        auto pair_vector = map_to_vector();
108
109
526
        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
149
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EE5writeERNS_14BufferWritableE
Line
Count
Source
102
149
    void write(BufferWritable& buf) const {
103
149
        buf.write_binary(max_num_buckets);
104
149
        auto element_number = (size_t)ordered_map.size();
105
149
        buf.write_binary(element_number);
106
107
149
        auto pair_vector = map_to_vector();
108
109
524
        for (auto i = 0; i < element_number; i++) {
110
375
            auto element = pair_vector[i];
111
375
            buf.write_binary(element.second);
112
375
            buf.write_binary(element.first);
113
375
        }
114
149
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE43EE5writeERNS_14BufferWritableE
Line
Count
Source
102
93
    void write(BufferWritable& buf) const {
103
93
        buf.write_binary(max_num_buckets);
104
93
        auto element_number = (size_t)ordered_map.size();
105
93
        buf.write_binary(element_number);
106
107
93
        auto pair_vector = map_to_vector();
108
109
241
        for (auto i = 0; i < element_number; i++) {
110
148
            auto element = pair_vector[i];
111
148
            buf.write_binary(element.second);
112
148
            buf.write_binary(element.first);
113
148
        }
114
93
    }
_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.35k
    void read(BufferReadable& buf) {
117
1.35k
        buf.read_binary(max_num_buckets);
118
119
1.35k
        size_t element_number = 0;
120
1.35k
        buf.read_binary(element_number);
121
122
1.35k
        ordered_map.clear();
123
1.35k
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
124
5.57k
        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.35k
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EE4readERNS_14BufferReadableE
Line
Count
Source
116
6
    void read(BufferReadable& buf) {
117
6
        buf.read_binary(max_num_buckets);
118
119
6
        size_t element_number = 0;
120
6
        buf.read_binary(element_number);
121
122
6
        ordered_map.clear();
123
6
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
124
12
        for (auto i = 0; i < element_number; i++) {
125
6
            buf.read_binary(element.first);
126
6
            buf.read_binary(element.second);
127
6
            ordered_map.insert(element);
128
6
        }
129
6
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EE4readERNS_14BufferReadableE
Line
Count
Source
116
91
    void read(BufferReadable& buf) {
117
91
        buf.read_binary(max_num_buckets);
118
119
91
        size_t element_number = 0;
120
91
        buf.read_binary(element_number);
121
122
91
        ordered_map.clear();
123
91
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
124
349
        for (auto i = 0; i < element_number; i++) {
125
258
            buf.read_binary(element.first);
126
258
            buf.read_binary(element.second);
127
258
            ordered_map.insert(element);
128
258
        }
129
91
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EE4readERNS_14BufferReadableE
Line
Count
Source
116
79
    void read(BufferReadable& buf) {
117
79
        buf.read_binary(max_num_buckets);
118
119
79
        size_t element_number = 0;
120
79
        buf.read_binary(element_number);
121
122
79
        ordered_map.clear();
123
79
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
124
338
        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
79
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EE4readERNS_14BufferReadableE
Line
Count
Source
116
234
    void read(BufferReadable& buf) {
117
234
        buf.read_binary(max_num_buckets);
118
119
234
        size_t element_number = 0;
120
234
        buf.read_binary(element_number);
121
122
234
        ordered_map.clear();
123
234
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
124
618
        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
234
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EE4readERNS_14BufferReadableE
Line
Count
Source
116
79
    void read(BufferReadable& buf) {
117
79
        buf.read_binary(max_num_buckets);
118
119
79
        size_t element_number = 0;
120
79
        buf.read_binary(element_number);
121
122
79
        ordered_map.clear();
123
79
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
124
326
        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
79
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EE4readERNS_14BufferReadableE
Line
Count
Source
116
79
    void read(BufferReadable& buf) {
117
79
        buf.read_binary(max_num_buckets);
118
119
79
        size_t element_number = 0;
120
79
        buf.read_binary(element_number);
121
122
79
        ordered_map.clear();
123
79
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
124
329
        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
79
    }
_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
80
    void read(BufferReadable& buf) {
117
80
        buf.read_binary(max_num_buckets);
118
119
80
        size_t element_number = 0;
120
80
        buf.read_binary(element_number);
121
122
80
        ordered_map.clear();
123
80
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
124
245
        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
80
    }
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EE4readERNS_14BufferReadableE
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EE4readERNS_14BufferReadableE
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EE4readERNS_14BufferReadableE
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EE4readERNS_14BufferReadableE
Line
Count
Source
116
173
    void read(BufferReadable& buf) {
117
173
        buf.read_binary(max_num_buckets);
118
119
173
        size_t element_number = 0;
120
173
        buf.read_binary(element_number);
121
122
173
        ordered_map.clear();
123
173
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
124
1.44k
        for (auto i = 0; i < element_number; i++) {
125
1.27k
            buf.read_binary(element.first);
126
1.27k
            buf.read_binary(element.second);
127
1.27k
            ordered_map.insert(element);
128
1.27k
        }
129
173
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EE4readERNS_14BufferReadableE
Line
Count
Source
116
149
    void read(BufferReadable& buf) {
117
149
        buf.read_binary(max_num_buckets);
118
119
149
        size_t element_number = 0;
120
149
        buf.read_binary(element_number);
121
122
149
        ordered_map.clear();
123
149
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
124
526
        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
149
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EE4readERNS_14BufferReadableE
Line
Count
Source
116
149
    void read(BufferReadable& buf) {
117
149
        buf.read_binary(max_num_buckets);
118
119
149
        size_t element_number = 0;
120
149
        buf.read_binary(element_number);
121
122
149
        ordered_map.clear();
123
149
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
124
524
        for (auto i = 0; i < element_number; i++) {
125
375
            buf.read_binary(element.first);
126
375
            buf.read_binary(element.second);
127
375
            ordered_map.insert(element);
128
375
        }
129
149
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE43EE4readERNS_14BufferReadableE
Line
Count
Source
116
93
    void read(BufferReadable& buf) {
117
93
        buf.read_binary(max_num_buckets);
118
119
93
        size_t element_number = 0;
120
93
        buf.read_binary(element_number);
121
122
93
        ordered_map.clear();
123
93
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
124
241
        for (auto i = 0; i < element_number; i++) {
125
148
            buf.read_binary(element.first);
126
148
            buf.read_binary(element.second);
127
148
            ordered_map.insert(element);
128
148
        }
129
93
    }
_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.39k
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
160
1.39k
        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.39k
        return pair_vector;
165
1.39k
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EE13map_to_vectorEv
Line
Count
Source
159
6
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
160
6
        std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector;
161
6
        for (auto it : ordered_map) {
162
6
            pair_vector.emplace_back(it.second, it.first);
163
6
        }
164
6
        return pair_vector;
165
6
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EE13map_to_vectorEv
Line
Count
Source
159
93
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
160
93
        std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector;
161
260
        for (auto it : ordered_map) {
162
260
            pair_vector.emplace_back(it.second, it.first);
163
260
        }
164
93
        return pair_vector;
165
93
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EE13map_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
259
        for (auto it : ordered_map) {
162
259
            pair_vector.emplace_back(it.second, it.first);
163
259
        }
164
79
        return pair_vector;
165
79
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EE13map_to_vectorEv
Line
Count
Source
159
269
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
160
269
        std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector;
161
420
        for (auto it : ordered_map) {
162
420
            pair_vector.emplace_back(it.second, it.first);
163
420
        }
164
269
        return pair_vector;
165
269
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EE13map_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
247
        for (auto it : ordered_map) {
162
247
            pair_vector.emplace_back(it.second, it.first);
163
247
        }
164
79
        return pair_vector;
165
79
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EE13map_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
250
        for (auto it : ordered_map) {
162
250
            pair_vector.emplace_back(it.second, it.first);
163
250
        }
164
79
        return pair_vector;
165
79
    }
_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
80
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
160
80
        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
80
        return pair_vector;
165
80
    }
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
173
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
160
173
        std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector;
161
1.27k
        for (auto it : ordered_map) {
162
1.27k
            pair_vector.emplace_back(it.second, it.first);
163
1.27k
        }
164
173
        return pair_vector;
165
173
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EE13map_to_vectorEv
Line
Count
Source
159
149
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
160
149
        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
149
        return pair_vector;
165
149
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EE13map_to_vectorEv
Line
Count
Source
159
149
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
160
149
        std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector;
161
375
        for (auto it : ordered_map) {
162
375
            pair_vector.emplace_back(it.second, it.first);
163
375
        }
164
149
        return pair_vector;
165
149
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE43EE13map_to_vectorEv
Line
Count
Source
159
93
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
160
93
        std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector;
161
148
        for (auto it : ordered_map) {
162
148
            pair_vector.emplace_back(it.second, it.first);
163
148
        }
164
93
        return pair_vector;
165
93
    }
_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
865
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
182
865
                      argument_types_),
183
865
              _argument_type(argument_types_[0]) {}
Unexecuted instantiation: _ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
181
66
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
182
66
                      argument_types_),
183
66
              _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
310
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
182
310
                      argument_types_),
183
310
              _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
70
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
182
70
                      argument_types_),
183
70
              _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.99k
    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
59
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EE15get_return_typeEv
Line
Count
Source
187
42
    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
42
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EE15get_return_typeEv
Line
Count
Source
187
42
    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
72
    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
154
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EE15get_return_typeEv
Line
Count
Source
187
72
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EE15get_return_typeEv
Line
Count
Source
187
72
    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
178
    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
140
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE43EEELb0EE15get_return_typeEv
Line
Count
Source
187
217
    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
280
             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
280
        } else {
203
280
            this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM);
204
280
        }
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
280
        } else {
211
280
            this->data(place).add(
212
280
                    assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>(
213
280
                            *columns[0])
214
280
                            .get_data()[row_num]);
215
280
        }
216
280
    }
_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
107
             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
107
        } else {
203
107
            this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM);
204
107
        }
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
107
        } else {
211
107
            this->data(place).add(
212
107
                    assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>(
213
107
                            *columns[0])
214
107
                            .get_data()[row_num]);
215
107
        }
216
107
    }
_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
226
             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
226
        } else {
203
226
            this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM);
204
226
        }
205
206
226
        if constexpr (is_string_type(Data::Ptype)) {
207
226
            this->data(place).add(
208
226
                    assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0])
209
226
                            .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
226
    }
_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
215
             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
215
        } else {
203
215
            this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM);
204
215
        }
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
215
        } else {
211
215
            this->data(place).add(
212
215
                    assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>(
213
215
                            *columns[0])
214
215
                            .get_data()[row_num]);
215
215
        }
216
215
    }
_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
773
    void check_input_columns_type(const IColumn** columns) const override {
219
773
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
220
773
        if constexpr (has_input_param) {
221
162
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
222
162
        }
223
773
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EE24check_input_columns_typeEPPKNS_7IColumnE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
218
22
    void check_input_columns_type(const IColumn** columns) const override {
219
22
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
220
22
        if constexpr (has_input_param) {
221
22
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
222
22
        }
223
22
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
218
11
    void check_input_columns_type(const IColumn** columns) const override {
219
11
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
220
11
        if constexpr (has_input_param) {
221
11
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
222
11
        }
223
11
    }
_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
11
    void check_input_columns_type(const IColumn** columns) const override {
219
11
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
220
11
        if constexpr (has_input_param) {
221
11
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
222
11
        }
223
11
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
218
11
    void check_input_columns_type(const IColumn** columns) const override {
219
11
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
220
11
        if constexpr (has_input_param) {
221
11
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
222
11
        }
223
11
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb1EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
218
5
    void check_input_columns_type(const IColumn** columns) const override {
219
5
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
220
5
        if constexpr (has_input_param) {
221
5
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
222
5
        }
223
5
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb1EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
218
5
    void check_input_columns_type(const IColumn** columns) const override {
219
5
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
220
5
        if constexpr (has_input_param) {
221
5
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
222
5
        }
223
5
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb1EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
218
16
    void check_input_columns_type(const IColumn** columns) const override {
219
16
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
220
16
        if constexpr (has_input_param) {
221
16
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
222
16
        }
223
16
    }
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
43
    void check_input_columns_type(const IColumn** columns) const override {
219
43
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
220
43
        if constexpr (has_input_param) {
221
43
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
222
43
        }
223
43
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
218
16
    void check_input_columns_type(const IColumn** columns) const override {
219
16
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
220
16
        if constexpr (has_input_param) {
221
16
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
222
16
        }
223
16
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
218
16
    void check_input_columns_type(const IColumn** columns) const override {
219
16
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
220
16
        if constexpr (has_input_param) {
221
16
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
222
16
        }
223
16
    }
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
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_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
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
    }
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
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_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.36k
               Arena&) const override {
229
1.36k
        this->data(place).merge(this->data(rhs));
230
1.36k
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EE5mergeEPcPKcRNS_5ArenaE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
228
22
               Arena&) const override {
229
22
        this->data(place).merge(this->data(rhs));
230
22
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
228
10
               Arena&) const override {
229
10
        this->data(place).merge(this->data(rhs));
230
10
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
228
37
               Arena&) const override {
229
37
        this->data(place).merge(this->data(rhs));
230
37
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
228
10
               Arena&) const override {
229
10
        this->data(place).merge(this->data(rhs));
230
10
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
228
10
               Arena&) const override {
229
10
        this->data(place).merge(this->data(rhs));
230
10
    }
_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
12
               Arena&) const override {
229
12
        this->data(place).merge(this->data(rhs));
230
12
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb1EE5mergeEPcPKcRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb1EE5mergeEPcPKcRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb1EE5mergeEPcPKcRNS_5ArenaE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb1EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
228
36
               Arena&) const override {
229
36
        this->data(place).merge(this->data(rhs));
230
36
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
228
13
               Arena&) const override {
229
13
        this->data(place).merge(this->data(rhs));
230
13
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
228
13
               Arena&) const override {
229
13
        this->data(place).merge(this->data(rhs));
230
13
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE43EEELb1EE5mergeEPcPKcRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EEELb1EE5mergeEPcPKcRNS_5ArenaE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
228
6
               Arena&) const override {
229
6
        this->data(place).merge(this->data(rhs));
230
6
    }
_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
207
               Arena&) const override {
229
207
        this->data(place).merge(this->data(rhs));
230
207
    }
_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
68
               Arena&) const override {
229
68
        this->data(place).merge(this->data(rhs));
230
68
    }
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
93
               Arena&) const override {
229
93
        this->data(place).merge(this->data(rhs));
230
93
    }
_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.39k
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
233
1.39k
        this->data(place).write(buf);
234
1.39k
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EE9serializeEPKcRNS_14BufferWritableE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
232
23
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
233
23
        this->data(place).write(buf);
234
23
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
232
10
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
233
10
        this->data(place).write(buf);
234
10
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
232
21
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
233
21
        this->data(place).write(buf);
234
21
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
232
10
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
233
10
        this->data(place).write(buf);
234
10
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
232
10
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
233
10
        this->data(place).write(buf);
234
10
    }
_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
12
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
233
12
        this->data(place).write(buf);
234
12
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb1EE9serializeEPKcRNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb1EE9serializeEPKcRNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb1EE9serializeEPKcRNS_14BufferWritableE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb1EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
232
36
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
233
36
        this->data(place).write(buf);
234
36
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
232
13
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
233
13
        this->data(place).write(buf);
234
13
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
232
13
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
233
13
        this->data(place).write(buf);
234
13
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE43EEELb1EE9serializeEPKcRNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EEELb1EE9serializeEPKcRNS_14BufferWritableE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
232
6
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
233
6
        this->data(place).write(buf);
234
6
    }
_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
248
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
233
248
        this->data(place).write(buf);
234
248
    }
_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
93
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
233
93
        this->data(place).write(buf);
234
93
    }
_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.35k
                     Arena&) const override {
238
1.35k
        this->data(place).read(buf);
239
1.35k
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
237
22
                     Arena&) const override {
238
22
        this->data(place).read(buf);
239
22
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
237
10
                     Arena&) const override {
238
10
        this->data(place).read(buf);
239
10
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
237
25
                     Arena&) const override {
238
25
        this->data(place).read(buf);
239
25
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
237
10
                     Arena&) const override {
238
10
        this->data(place).read(buf);
239
10
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
237
10
                     Arena&) const override {
238
10
        this->data(place).read(buf);
239
10
    }
_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
12
                     Arena&) const override {
238
12
        this->data(place).read(buf);
239
12
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
237
36
                     Arena&) const override {
238
36
        this->data(place).read(buf);
239
36
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
237
13
                     Arena&) const override {
238
13
        this->data(place).read(buf);
239
13
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
237
13
                     Arena&) const override {
238
13
        this->data(place).read(buf);
239
13
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE43EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
237
6
                     Arena&) const override {
238
6
        this->data(place).read(buf);
239
6
    }
_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
209
                     Arena&) const override {
238
209
        this->data(place).read(buf);
239
209
    }
_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
68
                     Arena&) const override {
238
68
        this->data(place).read(buf);
239
68
    }
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
93
                     Arena&) const override {
238
93
        this->data(place).read(buf);
239
93
    }
_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
564
    void check_result_column_type(const IColumn& to) const override {
248
564
        IAggregateFunction::check_result_column_type(to);
249
564
        this->template check_result_column_type_as<ColumnString>(to);
250
564
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EE24check_result_column_typeERKNS_7IColumnE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
247
10
    void check_result_column_type(const IColumn& to) const override {
248
10
        IAggregateFunction::check_result_column_type(to);
249
10
        this->template check_result_column_type_as<ColumnString>(to);
250
10
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
247
10
    void check_result_column_type(const IColumn& to) const override {
248
10
        IAggregateFunction::check_result_column_type(to);
249
10
        this->template check_result_column_type_as<ColumnString>(to);
250
10
    }
_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
10
    void check_result_column_type(const IColumn& to) const override {
248
10
        IAggregateFunction::check_result_column_type(to);
249
10
        this->template check_result_column_type_as<ColumnString>(to);
250
10
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
247
10
    void check_result_column_type(const IColumn& to) const override {
248
10
        IAggregateFunction::check_result_column_type(to);
249
10
        this->template check_result_column_type_as<ColumnString>(to);
250
10
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb1EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
247
8
    void check_result_column_type(const IColumn& to) const override {
248
8
        IAggregateFunction::check_result_column_type(to);
249
8
        this->template check_result_column_type_as<ColumnString>(to);
250
8
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb1EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
247
8
    void check_result_column_type(const IColumn& to) const override {
248
8
        IAggregateFunction::check_result_column_type(to);
249
8
        this->template check_result_column_type_as<ColumnString>(to);
250
8
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb1EE24check_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_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
39
    void check_result_column_type(const IColumn& to) const override {
248
39
        IAggregateFunction::check_result_column_type(to);
249
39
        this->template check_result_column_type_as<ColumnString>(to);
250
39
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EE24check_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
    }
_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
58
    void check_result_column_type(const IColumn& to) const override {
248
58
        IAggregateFunction::check_result_column_type(to);
249
58
        this->template check_result_column_type_as<ColumnString>(to);
250
58
    }
_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
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_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