Coverage Report

Created: 2026-03-12 16:03

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