Coverage Report

Created: 2026-07-27 12:57

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
be/src/exprs/aggregate/aggregate_function_histogram.h
Line
Count
Source
1
// Licensed to the Apache Software Foundation (ASF) under one
2
// or more contributor license agreements.  See the NOTICE file
3
// distributed with this work for additional information
4
// regarding copyright ownership.  The ASF licenses this file
5
// to you under the Apache License, Version 2.0 (the
6
// "License"); you may not use this file except in compliance
7
// with the License.  You may obtain a copy of the License at
8
//
9
//   http://www.apache.org/licenses/LICENSE-2.0
10
//
11
// Unless required by applicable law or agreed to in writing,
12
// software distributed under the License is distributed on an
13
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
// KIND, either express or implied.  See the License for the
15
// specific language governing permissions and limitations
16
// under the License.
17
18
#pragma once
19
20
#include <map>
21
#include <memory>
22
#include <string>
23
#include <utility>
24
#include <vector>
25
26
#include "common/exception.h"
27
#include "common/status.h"
28
#include "core/assert_cast.h"
29
#include "core/column/column.h"
30
#include "core/column/column_decimal.h"
31
#include "core/column/column_string.h"
32
#include "core/column/column_vector.h"
33
#include "core/data_type/data_type_string.h"
34
#include "core/string_ref.h"
35
#include "core/types.h"
36
#include "exec/common/histogram_helpers.hpp"
37
#include "exprs/aggregate/aggregate_function.h"
38
#include "exprs/aggregate/aggregate_function_simple_factory.h"
39
40
namespace doris {} // namespace doris
41
42
namespace doris {
43
44
template <PrimitiveType T>
45
struct AggregateFunctionHistogramData {
46
    static constexpr auto Ptype = T;
47
    using ColVecType = typename PrimitiveTypeTraits<T>::ColumnType;
48
    const static size_t DEFAULT_BUCKET_NUM = 128;
49
    const static size_t BUCKET_NUM_INIT_VALUE = 0;
50
51
6.12k
    void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EE14set_parametersEm
Line
Count
Source
51
15
    void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EE14set_parametersEm
Line
Count
Source
51
347
    void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EE14set_parametersEm
Line
Count
Source
51
359
    void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EE14set_parametersEm
Line
Count
Source
51
496
    void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EE14set_parametersEm
Line
Count
Source
51
362
    void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EE14set_parametersEm
Line
Count
Source
51
347
    void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EE14set_parametersEm
Line
Count
Source
51
332
    void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EE14set_parametersEm
Line
Count
Source
51
332
    void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EE14set_parametersEm
Line
Count
Source
51
171
    void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; }
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EE14set_parametersEm
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EE14set_parametersEm
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EE14set_parametersEm
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EE14set_parametersEm
Line
Count
Source
51
2.40k
    void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EE14set_parametersEm
Line
Count
Source
51
479
    void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EE14set_parametersEm
Line
Count
Source
51
476
    void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EE14set_parametersEm
Line
Count
Source
51
3
    void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; }
52
53
29
    void reset() { ordered_map.clear(); }
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EE5resetEv
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EE5resetEv
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EE5resetEv
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EE5resetEv
Line
Count
Source
53
26
    void reset() { ordered_map.clear(); }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EE5resetEv
Line
Count
Source
53
3
    void reset() { ordered_map.clear(); }
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EE5resetEv
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EE5resetEv
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EE5resetEv
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EE5resetEv
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EE5resetEv
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EE5resetEv
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EE5resetEv
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EE5resetEv
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EE5resetEv
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EE5resetEv
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EE5resetEv
54
55
2.40k
    void add(const StringRef& value, const UInt64& number = 1) {
56
2.40k
        std::string data = value.to_string();
57
2.40k
        auto it = ordered_map.find(data);
58
2.40k
        if (it != ordered_map.end()) {
59
140
            it->second = it->second + number;
60
2.26k
        } else {
61
2.26k
            ordered_map.insert({data, number});
62
2.26k
        }
63
2.40k
    }
64
65
3.71k
    void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) {
66
3.71k
        auto it = ordered_map.find(value);
67
3.71k
        if (it != ordered_map.end()) {
68
126
            it->second = it->second + number;
69
3.59k
        } else {
70
3.59k
            ordered_map.insert({value, number});
71
3.59k
        }
72
3.71k
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EE3addERKhRKm
Line
Count
Source
65
15
    void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) {
66
15
        auto it = ordered_map.find(value);
67
15
        if (it != ordered_map.end()) {
68
13
            it->second = it->second + number;
69
13
        } else {
70
2
            ordered_map.insert({value, number});
71
2
        }
72
15
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EE3addERKaRKm
Line
Count
Source
65
347
    void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) {
66
347
        auto it = ordered_map.find(value);
67
347
        if (it != ordered_map.end()) {
68
7
            it->second = it->second + number;
69
340
        } else {
70
340
            ordered_map.insert({value, number});
71
340
        }
72
347
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EE3addERKsRKm
Line
Count
Source
65
359
    void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) {
66
359
        auto it = ordered_map.find(value);
67
359
        if (it != ordered_map.end()) {
68
10
            it->second = it->second + number;
69
349
        } else {
70
349
            ordered_map.insert({value, number});
71
349
        }
72
359
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EE3addERKiRKm
Line
Count
Source
65
496
    void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) {
66
496
        auto it = ordered_map.find(value);
67
496
        if (it != ordered_map.end()) {
68
21
            it->second = it->second + number;
69
475
        } else {
70
475
            ordered_map.insert({value, number});
71
475
        }
72
496
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EE3addERKlRKm
Line
Count
Source
65
362
    void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) {
66
362
        auto it = ordered_map.find(value);
67
362
        if (it != ordered_map.end()) {
68
10
            it->second = it->second + number;
69
352
        } else {
70
352
            ordered_map.insert({value, number});
71
352
        }
72
362
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EE3addERKnRKm
Line
Count
Source
65
347
    void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) {
66
347
        auto it = ordered_map.find(value);
67
347
        if (it != ordered_map.end()) {
68
4
            it->second = it->second + number;
69
343
        } else {
70
343
            ordered_map.insert({value, number});
71
343
        }
72
347
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EE3addERKfRKm
Line
Count
Source
65
332
    void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) {
66
332
        auto it = ordered_map.find(value);
67
332
        if (it != ordered_map.end()) {
68
4
            it->second = it->second + number;
69
328
        } else {
70
328
            ordered_map.insert({value, number});
71
328
        }
72
332
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EE3addERKdRKm
Line
Count
Source
65
332
    void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) {
66
332
        auto it = ordered_map.find(value);
67
332
        if (it != ordered_map.end()) {
68
4
            it->second = it->second + number;
69
328
        } else {
70
328
            ordered_map.insert({value, number});
71
328
        }
72
332
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EE3addERKNS_7DecimalIiEERKm
Line
Count
Source
65
171
    void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) {
66
171
        auto it = ordered_map.find(value);
67
171
        if (it != ordered_map.end()) {
68
10
            it->second = it->second + number;
69
161
        } else {
70
161
            ordered_map.insert({value, number});
71
161
        }
72
171
    }
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EE3addERKNS_7DecimalIlEERKm
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EE3addERKNS_12Decimal128V3ERKm
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EE3addERKNS_7DecimalIN4wide7integerILm256EiEEEERKm
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EE3addERKNS_11DateV2ValueINS_15DateV2ValueTypeEEERKm
Line
Count
Source
65
479
    void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) {
66
479
        auto it = ordered_map.find(value);
67
479
        if (it != ordered_map.end()) {
68
21
            it->second = it->second + number;
69
458
        } else {
70
458
            ordered_map.insert({value, number});
71
458
        }
72
479
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EE3addERKNS_11DateV2ValueINS_19DateTimeV2ValueTypeEEERKm
Line
Count
Source
65
476
    void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) {
66
476
        auto it = ordered_map.find(value);
67
476
        if (it != ordered_map.end()) {
68
22
            it->second = it->second + number;
69
454
        } else {
70
454
            ordered_map.insert({value, number});
71
454
        }
72
476
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EE3addERKNS_16TimestampTzValueERKm
Line
Count
Source
65
3
    void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) {
66
3
        auto it = ordered_map.find(value);
67
3
        if (it != ordered_map.end()) {
68
0
            it->second = it->second + number;
69
3
        } else {
70
3
            ordered_map.insert({value, number});
71
3
        }
72
3
    }
73
74
1.15k
    void merge(const AggregateFunctionHistogramData& rhs) {
75
        // if rhs.max_num_buckets == 0, it means the input block for serialization is all null
76
        // we should discard this data, because histogram only fouce on the not-null data
77
1.15k
        if (!rhs.max_num_buckets) {
78
64
            return;
79
64
        }
80
81
1.09k
        max_num_buckets = rhs.max_num_buckets;
82
83
3.87k
        for (auto rhs_it : rhs.ordered_map) {
84
3.87k
            auto lhs_it = ordered_map.find(rhs_it.first);
85
3.87k
            if (lhs_it != ordered_map.end()) {
86
2.02k
                lhs_it->second += rhs_it.second;
87
2.02k
            } else {
88
1.85k
                ordered_map.insert({rhs_it.first, rhs_it.second});
89
1.85k
            }
90
3.87k
        }
91
1.09k
    }
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EE5mergeERKS2_
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EE5mergeERKS2_
Line
Count
Source
74
73
    void merge(const AggregateFunctionHistogramData& rhs) {
75
        // if rhs.max_num_buckets == 0, it means the input block for serialization is all null
76
        // we should discard this data, because histogram only fouce on the not-null data
77
73
        if (!rhs.max_num_buckets) {
78
5
            return;
79
5
        }
80
81
68
        max_num_buckets = rhs.max_num_buckets;
82
83
232
        for (auto rhs_it : rhs.ordered_map) {
84
232
            auto lhs_it = ordered_map.find(rhs_it.first);
85
232
            if (lhs_it != ordered_map.end()) {
86
100
                lhs_it->second += rhs_it.second;
87
132
            } else {
88
132
                ordered_map.insert({rhs_it.first, rhs_it.second});
89
132
            }
90
232
        }
91
68
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EE5mergeERKS2_
Line
Count
Source
74
73
    void merge(const AggregateFunctionHistogramData& rhs) {
75
        // if rhs.max_num_buckets == 0, it means the input block for serialization is all null
76
        // we should discard this data, because histogram only fouce on the not-null data
77
73
        if (!rhs.max_num_buckets) {
78
5
            return;
79
5
        }
80
81
68
        max_num_buckets = rhs.max_num_buckets;
82
83
235
        for (auto rhs_it : rhs.ordered_map) {
84
235
            auto lhs_it = ordered_map.find(rhs_it.first);
85
235
            if (lhs_it != ordered_map.end()) {
86
100
                lhs_it->second += rhs_it.second;
87
135
            } else {
88
135
                ordered_map.insert({rhs_it.first, rhs_it.second});
89
135
            }
90
235
        }
91
68
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EE5mergeERKS2_
Line
Count
Source
74
211
    void merge(const AggregateFunctionHistogramData& rhs) {
75
        // if rhs.max_num_buckets == 0, it means the input block for serialization is all null
76
        // we should discard this data, because histogram only fouce on the not-null data
77
211
        if (!rhs.max_num_buckets) {
78
13
            return;
79
13
        }
80
81
198
        max_num_buckets = rhs.max_num_buckets;
82
83
360
        for (auto rhs_it : rhs.ordered_map) {
84
360
            auto lhs_it = ordered_map.find(rhs_it.first);
85
360
            if (lhs_it != ordered_map.end()) {
86
161
                lhs_it->second += rhs_it.second;
87
199
            } else {
88
199
                ordered_map.insert({rhs_it.first, rhs_it.second});
89
199
            }
90
360
        }
91
198
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EE5mergeERKS2_
Line
Count
Source
74
73
    void merge(const AggregateFunctionHistogramData& rhs) {
75
        // if rhs.max_num_buckets == 0, it means the input block for serialization is all null
76
        // we should discard this data, because histogram only fouce on the not-null data
77
73
        if (!rhs.max_num_buckets) {
78
5
            return;
79
5
        }
80
81
68
        max_num_buckets = rhs.max_num_buckets;
82
83
235
        for (auto rhs_it : rhs.ordered_map) {
84
235
            auto lhs_it = ordered_map.find(rhs_it.first);
85
235
            if (lhs_it != ordered_map.end()) {
86
100
                lhs_it->second += rhs_it.second;
87
135
            } else {
88
135
                ordered_map.insert({rhs_it.first, rhs_it.second});
89
135
            }
90
235
        }
91
68
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EE5mergeERKS2_
Line
Count
Source
74
73
    void merge(const AggregateFunctionHistogramData& rhs) {
75
        // if rhs.max_num_buckets == 0, it means the input block for serialization is all null
76
        // we should discard this data, because histogram only fouce on the not-null data
77
73
        if (!rhs.max_num_buckets) {
78
5
            return;
79
5
        }
80
81
68
        max_num_buckets = rhs.max_num_buckets;
82
83
235
        for (auto rhs_it : rhs.ordered_map) {
84
235
            auto lhs_it = ordered_map.find(rhs_it.first);
85
235
            if (lhs_it != ordered_map.end()) {
86
100
                lhs_it->second += rhs_it.second;
87
135
            } else {
88
135
                ordered_map.insert({rhs_it.first, rhs_it.second});
89
135
            }
90
235
        }
91
68
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EE5mergeERKS2_
Line
Count
Source
74
73
    void merge(const AggregateFunctionHistogramData& rhs) {
75
        // if rhs.max_num_buckets == 0, it means the input block for serialization is all null
76
        // we should discard this data, because histogram only fouce on the not-null data
77
73
        if (!rhs.max_num_buckets) {
78
5
            return;
79
5
        }
80
81
68
        max_num_buckets = rhs.max_num_buckets;
82
83
235
        for (auto rhs_it : rhs.ordered_map) {
84
235
            auto lhs_it = ordered_map.find(rhs_it.first);
85
235
            if (lhs_it != ordered_map.end()) {
86
100
                lhs_it->second += rhs_it.second;
87
135
            } else {
88
135
                ordered_map.insert({rhs_it.first, rhs_it.second});
89
135
            }
90
235
        }
91
68
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EE5mergeERKS2_
Line
Count
Source
74
73
    void merge(const AggregateFunctionHistogramData& rhs) {
75
        // if rhs.max_num_buckets == 0, it means the input block for serialization is all null
76
        // we should discard this data, because histogram only fouce on the not-null data
77
73
        if (!rhs.max_num_buckets) {
78
5
            return;
79
5
        }
80
81
68
        max_num_buckets = rhs.max_num_buckets;
82
83
235
        for (auto rhs_it : rhs.ordered_map) {
84
235
            auto lhs_it = ordered_map.find(rhs_it.first);
85
235
            if (lhs_it != ordered_map.end()) {
86
100
                lhs_it->second += rhs_it.second;
87
135
            } else {
88
135
                ordered_map.insert({rhs_it.first, rhs_it.second});
89
135
            }
90
235
        }
91
68
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EE5mergeERKS2_
Line
Count
Source
74
74
    void merge(const AggregateFunctionHistogramData& rhs) {
75
        // if rhs.max_num_buckets == 0, it means the input block for serialization is all null
76
        // we should discard this data, because histogram only fouce on the not-null data
77
74
        if (!rhs.max_num_buckets) {
78
4
            return;
79
4
        }
80
81
70
        max_num_buckets = rhs.max_num_buckets;
82
83
150
        for (auto rhs_it : rhs.ordered_map) {
84
150
            auto lhs_it = ordered_map.find(rhs_it.first);
85
150
            if (lhs_it != ordered_map.end()) {
86
0
                lhs_it->second += rhs_it.second;
87
150
            } else {
88
150
                ordered_map.insert({rhs_it.first, rhs_it.second});
89
150
            }
90
150
        }
91
70
    }
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EE5mergeERKS2_
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EE5mergeERKS2_
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EE5mergeERKS2_
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EE5mergeERKS2_
Line
Count
Source
74
150
    void merge(const AggregateFunctionHistogramData& rhs) {
75
        // if rhs.max_num_buckets == 0, it means the input block for serialization is all null
76
        // we should discard this data, because histogram only fouce on the not-null data
77
150
        if (!rhs.max_num_buckets) {
78
1
            return;
79
1
        }
80
81
149
        max_num_buckets = rhs.max_num_buckets;
82
83
1.23k
        for (auto rhs_it : rhs.ordered_map) {
84
1.23k
            auto lhs_it = ordered_map.find(rhs_it.first);
85
1.23k
            if (lhs_it != ordered_map.end()) {
86
1.06k
                lhs_it->second += rhs_it.second;
87
1.06k
            } else {
88
168
                ordered_map.insert({rhs_it.first, rhs_it.second});
89
168
            }
90
1.23k
        }
91
149
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EE5mergeERKS2_
Line
Count
Source
74
143
    void merge(const AggregateFunctionHistogramData& rhs) {
75
        // if rhs.max_num_buckets == 0, it means the input block for serialization is all null
76
        // we should discard this data, because histogram only fouce on the not-null data
77
143
        if (!rhs.max_num_buckets) {
78
8
            return;
79
8
        }
80
81
135
        max_num_buckets = rhs.max_num_buckets;
82
83
364
        for (auto rhs_it : rhs.ordered_map) {
84
364
            auto lhs_it = ordered_map.find(rhs_it.first);
85
364
            if (lhs_it != ordered_map.end()) {
86
100
                lhs_it->second += rhs_it.second;
87
264
            } else {
88
264
                ordered_map.insert({rhs_it.first, rhs_it.second});
89
264
            }
90
364
        }
91
135
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EE5mergeERKS2_
Line
Count
Source
74
143
    void merge(const AggregateFunctionHistogramData& rhs) {
75
        // if rhs.max_num_buckets == 0, it means the input block for serialization is all null
76
        // we should discard this data, because histogram only fouce on the not-null data
77
143
        if (!rhs.max_num_buckets) {
78
8
            return;
79
8
        }
80
81
135
        max_num_buckets = rhs.max_num_buckets;
82
83
364
        for (auto rhs_it : rhs.ordered_map) {
84
364
            auto lhs_it = ordered_map.find(rhs_it.first);
85
364
            if (lhs_it != ordered_map.end()) {
86
100
                lhs_it->second += rhs_it.second;
87
264
            } else {
88
264
                ordered_map.insert({rhs_it.first, rhs_it.second});
89
264
            }
90
364
        }
91
135
    }
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EE5mergeERKS2_
92
93
1.19k
    void write(BufferWritable& buf) const {
94
1.19k
        buf.write_binary(max_num_buckets);
95
1.19k
        auto element_number = (size_t)ordered_map.size();
96
1.19k
        buf.write_binary(element_number);
97
98
1.19k
        auto pair_vector = map_to_vector();
99
100
5.11k
        for (auto i = 0; i < element_number; i++) {
101
3.91k
            auto element = pair_vector[i];
102
3.91k
            buf.write_binary(element.second);
103
3.91k
            buf.write_binary(element.first);
104
3.91k
        }
105
1.19k
    }
Unexecuted instantiation: _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EE5writeERNS_14BufferWritableE
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EE5writeERNS_14BufferWritableE
Line
Count
Source
93
73
    void write(BufferWritable& buf) const {
94
73
        buf.write_binary(max_num_buckets);
95
73
        auto element_number = (size_t)ordered_map.size();
96
73
        buf.write_binary(element_number);
97
98
73
        auto pair_vector = map_to_vector();
99
100
305
        for (auto i = 0; i < element_number; i++) {
101
232
            auto element = pair_vector[i];
102
232
            buf.write_binary(element.second);
103
232
            buf.write_binary(element.first);
104
232
        }
105
73
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EE5writeERNS_14BufferWritableE
Line
Count
Source
93
73
    void write(BufferWritable& buf) const {
94
73
        buf.write_binary(max_num_buckets);
95
73
        auto element_number = (size_t)ordered_map.size();
96
73
        buf.write_binary(element_number);
97
98
73
        auto pair_vector = map_to_vector();
99
100
308
        for (auto i = 0; i < element_number; i++) {
101
235
            auto element = pair_vector[i];
102
235
            buf.write_binary(element.second);
103
235
            buf.write_binary(element.first);
104
235
        }
105
73
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EE5writeERNS_14BufferWritableE
Line
Count
Source
93
250
    void write(BufferWritable& buf) const {
94
250
        buf.write_binary(max_num_buckets);
95
250
        auto element_number = (size_t)ordered_map.size();
96
250
        buf.write_binary(element_number);
97
98
250
        auto pair_vector = map_to_vector();
99
100
649
        for (auto i = 0; i < element_number; i++) {
101
399
            auto element = pair_vector[i];
102
399
            buf.write_binary(element.second);
103
399
            buf.write_binary(element.first);
104
399
        }
105
250
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EE5writeERNS_14BufferWritableE
Line
Count
Source
93
73
    void write(BufferWritable& buf) const {
94
73
        buf.write_binary(max_num_buckets);
95
73
        auto element_number = (size_t)ordered_map.size();
96
73
        buf.write_binary(element_number);
97
98
73
        auto pair_vector = map_to_vector();
99
100
308
        for (auto i = 0; i < element_number; i++) {
101
235
            auto element = pair_vector[i];
102
235
            buf.write_binary(element.second);
103
235
            buf.write_binary(element.first);
104
235
        }
105
73
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EE5writeERNS_14BufferWritableE
Line
Count
Source
93
73
    void write(BufferWritable& buf) const {
94
73
        buf.write_binary(max_num_buckets);
95
73
        auto element_number = (size_t)ordered_map.size();
96
73
        buf.write_binary(element_number);
97
98
73
        auto pair_vector = map_to_vector();
99
100
308
        for (auto i = 0; i < element_number; i++) {
101
235
            auto element = pair_vector[i];
102
235
            buf.write_binary(element.second);
103
235
            buf.write_binary(element.first);
104
235
        }
105
73
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EE5writeERNS_14BufferWritableE
Line
Count
Source
93
73
    void write(BufferWritable& buf) const {
94
73
        buf.write_binary(max_num_buckets);
95
73
        auto element_number = (size_t)ordered_map.size();
96
73
        buf.write_binary(element_number);
97
98
73
        auto pair_vector = map_to_vector();
99
100
308
        for (auto i = 0; i < element_number; i++) {
101
235
            auto element = pair_vector[i];
102
235
            buf.write_binary(element.second);
103
235
            buf.write_binary(element.first);
104
235
        }
105
73
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EE5writeERNS_14BufferWritableE
Line
Count
Source
93
73
    void write(BufferWritable& buf) const {
94
73
        buf.write_binary(max_num_buckets);
95
73
        auto element_number = (size_t)ordered_map.size();
96
73
        buf.write_binary(element_number);
97
98
73
        auto pair_vector = map_to_vector();
99
100
308
        for (auto i = 0; i < element_number; i++) {
101
235
            auto element = pair_vector[i];
102
235
            buf.write_binary(element.second);
103
235
            buf.write_binary(element.first);
104
235
        }
105
73
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EE5writeERNS_14BufferWritableE
Line
Count
Source
93
74
    void write(BufferWritable& buf) const {
94
74
        buf.write_binary(max_num_buckets);
95
74
        auto element_number = (size_t)ordered_map.size();
96
74
        buf.write_binary(element_number);
97
98
74
        auto pair_vector = map_to_vector();
99
100
224
        for (auto i = 0; i < element_number; i++) {
101
150
            auto element = pair_vector[i];
102
150
            buf.write_binary(element.second);
103
150
            buf.write_binary(element.first);
104
150
        }
105
74
    }
Unexecuted instantiation: _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EE5writeERNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EE5writeERNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EE5writeERNS_14BufferWritableE
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EE5writeERNS_14BufferWritableE
Line
Count
Source
93
150
    void write(BufferWritable& buf) const {
94
150
        buf.write_binary(max_num_buckets);
95
150
        auto element_number = (size_t)ordered_map.size();
96
150
        buf.write_binary(element_number);
97
98
150
        auto pair_vector = map_to_vector();
99
100
1.38k
        for (auto i = 0; i < element_number; i++) {
101
1.23k
            auto element = pair_vector[i];
102
1.23k
            buf.write_binary(element.second);
103
1.23k
            buf.write_binary(element.first);
104
1.23k
        }
105
150
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EE5writeERNS_14BufferWritableE
Line
Count
Source
93
143
    void write(BufferWritable& buf) const {
94
143
        buf.write_binary(max_num_buckets);
95
143
        auto element_number = (size_t)ordered_map.size();
96
143
        buf.write_binary(element_number);
97
98
143
        auto pair_vector = map_to_vector();
99
100
507
        for (auto i = 0; i < element_number; i++) {
101
364
            auto element = pair_vector[i];
102
364
            buf.write_binary(element.second);
103
364
            buf.write_binary(element.first);
104
364
        }
105
143
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EE5writeERNS_14BufferWritableE
Line
Count
Source
93
143
    void write(BufferWritable& buf) const {
94
143
        buf.write_binary(max_num_buckets);
95
143
        auto element_number = (size_t)ordered_map.size();
96
143
        buf.write_binary(element_number);
97
98
143
        auto pair_vector = map_to_vector();
99
100
507
        for (auto i = 0; i < element_number; i++) {
101
364
            auto element = pair_vector[i];
102
364
            buf.write_binary(element.second);
103
364
            buf.write_binary(element.first);
104
364
        }
105
143
    }
Unexecuted instantiation: _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EE5writeERNS_14BufferWritableE
106
107
1.15k
    void read(BufferReadable& buf) {
108
1.15k
        buf.read_binary(max_num_buckets);
109
110
1.15k
        size_t element_number = 0;
111
1.15k
        buf.read_binary(element_number);
112
113
1.15k
        ordered_map.clear();
114
1.15k
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
115
5.03k
        for (auto i = 0; i < element_number; i++) {
116
3.87k
            buf.read_binary(element.first);
117
3.87k
            buf.read_binary(element.second);
118
3.87k
            ordered_map.insert(element);
119
3.87k
        }
120
1.15k
    }
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EE4readERNS_14BufferReadableE
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EE4readERNS_14BufferReadableE
Line
Count
Source
107
73
    void read(BufferReadable& buf) {
108
73
        buf.read_binary(max_num_buckets);
109
110
73
        size_t element_number = 0;
111
73
        buf.read_binary(element_number);
112
113
73
        ordered_map.clear();
114
73
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
115
305
        for (auto i = 0; i < element_number; i++) {
116
232
            buf.read_binary(element.first);
117
232
            buf.read_binary(element.second);
118
232
            ordered_map.insert(element);
119
232
        }
120
73
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EE4readERNS_14BufferReadableE
Line
Count
Source
107
73
    void read(BufferReadable& buf) {
108
73
        buf.read_binary(max_num_buckets);
109
110
73
        size_t element_number = 0;
111
73
        buf.read_binary(element_number);
112
113
73
        ordered_map.clear();
114
73
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
115
308
        for (auto i = 0; i < element_number; i++) {
116
235
            buf.read_binary(element.first);
117
235
            buf.read_binary(element.second);
118
235
            ordered_map.insert(element);
119
235
        }
120
73
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EE4readERNS_14BufferReadableE
Line
Count
Source
107
211
    void read(BufferReadable& buf) {
108
211
        buf.read_binary(max_num_buckets);
109
110
211
        size_t element_number = 0;
111
211
        buf.read_binary(element_number);
112
113
211
        ordered_map.clear();
114
211
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
115
571
        for (auto i = 0; i < element_number; i++) {
116
360
            buf.read_binary(element.first);
117
360
            buf.read_binary(element.second);
118
360
            ordered_map.insert(element);
119
360
        }
120
211
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EE4readERNS_14BufferReadableE
Line
Count
Source
107
73
    void read(BufferReadable& buf) {
108
73
        buf.read_binary(max_num_buckets);
109
110
73
        size_t element_number = 0;
111
73
        buf.read_binary(element_number);
112
113
73
        ordered_map.clear();
114
73
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
115
308
        for (auto i = 0; i < element_number; i++) {
116
235
            buf.read_binary(element.first);
117
235
            buf.read_binary(element.second);
118
235
            ordered_map.insert(element);
119
235
        }
120
73
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EE4readERNS_14BufferReadableE
Line
Count
Source
107
73
    void read(BufferReadable& buf) {
108
73
        buf.read_binary(max_num_buckets);
109
110
73
        size_t element_number = 0;
111
73
        buf.read_binary(element_number);
112
113
73
        ordered_map.clear();
114
73
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
115
308
        for (auto i = 0; i < element_number; i++) {
116
235
            buf.read_binary(element.first);
117
235
            buf.read_binary(element.second);
118
235
            ordered_map.insert(element);
119
235
        }
120
73
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EE4readERNS_14BufferReadableE
Line
Count
Source
107
73
    void read(BufferReadable& buf) {
108
73
        buf.read_binary(max_num_buckets);
109
110
73
        size_t element_number = 0;
111
73
        buf.read_binary(element_number);
112
113
73
        ordered_map.clear();
114
73
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
115
308
        for (auto i = 0; i < element_number; i++) {
116
235
            buf.read_binary(element.first);
117
235
            buf.read_binary(element.second);
118
235
            ordered_map.insert(element);
119
235
        }
120
73
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EE4readERNS_14BufferReadableE
Line
Count
Source
107
73
    void read(BufferReadable& buf) {
108
73
        buf.read_binary(max_num_buckets);
109
110
73
        size_t element_number = 0;
111
73
        buf.read_binary(element_number);
112
113
73
        ordered_map.clear();
114
73
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
115
308
        for (auto i = 0; i < element_number; i++) {
116
235
            buf.read_binary(element.first);
117
235
            buf.read_binary(element.second);
118
235
            ordered_map.insert(element);
119
235
        }
120
73
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EE4readERNS_14BufferReadableE
Line
Count
Source
107
74
    void read(BufferReadable& buf) {
108
74
        buf.read_binary(max_num_buckets);
109
110
74
        size_t element_number = 0;
111
74
        buf.read_binary(element_number);
112
113
74
        ordered_map.clear();
114
74
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
115
224
        for (auto i = 0; i < element_number; i++) {
116
150
            buf.read_binary(element.first);
117
150
            buf.read_binary(element.second);
118
150
            ordered_map.insert(element);
119
150
        }
120
74
    }
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EE4readERNS_14BufferReadableE
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EE4readERNS_14BufferReadableE
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EE4readERNS_14BufferReadableE
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EE4readERNS_14BufferReadableE
Line
Count
Source
107
150
    void read(BufferReadable& buf) {
108
150
        buf.read_binary(max_num_buckets);
109
110
150
        size_t element_number = 0;
111
150
        buf.read_binary(element_number);
112
113
150
        ordered_map.clear();
114
150
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
115
1.38k
        for (auto i = 0; i < element_number; i++) {
116
1.23k
            buf.read_binary(element.first);
117
1.23k
            buf.read_binary(element.second);
118
1.23k
            ordered_map.insert(element);
119
1.23k
        }
120
150
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EE4readERNS_14BufferReadableE
Line
Count
Source
107
143
    void read(BufferReadable& buf) {
108
143
        buf.read_binary(max_num_buckets);
109
110
143
        size_t element_number = 0;
111
143
        buf.read_binary(element_number);
112
113
143
        ordered_map.clear();
114
143
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
115
507
        for (auto i = 0; i < element_number; i++) {
116
364
            buf.read_binary(element.first);
117
364
            buf.read_binary(element.second);
118
364
            ordered_map.insert(element);
119
364
        }
120
143
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EE4readERNS_14BufferReadableE
Line
Count
Source
107
143
    void read(BufferReadable& buf) {
108
143
        buf.read_binary(max_num_buckets);
109
110
143
        size_t element_number = 0;
111
143
        buf.read_binary(element_number);
112
113
143
        ordered_map.clear();
114
143
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
115
507
        for (auto i = 0; i < element_number; i++) {
116
364
            buf.read_binary(element.first);
117
364
            buf.read_binary(element.second);
118
364
            ordered_map.insert(element);
119
364
        }
120
143
    }
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EE4readERNS_14BufferReadableE
121
122
    void insert_result_into(IColumn& to) const {
123
        auto pair_vector = map_to_vector();
124
        for (auto i = 0; i < pair_vector.size(); i++) {
125
            const auto& element = pair_vector[i];
126
            if constexpr (is_string_type(T)) {
127
                assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
128
                        element.second.c_str(), element.second.length());
129
            } else {
130
                assert_cast<ColVecType&, TypeCheckOnRelease::DISABLE>(to).get_data().push_back(
131
                        element.second);
132
            }
133
        }
134
    }
135
136
710
    std::string get(const DataTypePtr& data_type) const {
137
710
        std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets;
138
710
        rapidjson::StringBuffer buffer;
139
        // NOTE: We need an extral branch for to handle max_num_buckets == 0,
140
        // when target column is nullable, and input block is all null,
141
        // set_parameters will not be called because of the short-circuit in
142
        // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation.
143
710
        build_histogram(
144
710
                buckets, ordered_map,
145
710
                max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets);
146
710
        histogram_to_json(buffer, buckets, data_type);
147
710
        return {buffer.GetString()};
148
710
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE
Line
Count
Source
136
2
    std::string get(const DataTypePtr& data_type) const {
137
2
        std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets;
138
2
        rapidjson::StringBuffer buffer;
139
        // NOTE: We need an extral branch for to handle max_num_buckets == 0,
140
        // when target column is nullable, and input block is all null,
141
        // set_parameters will not be called because of the short-circuit in
142
        // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation.
143
2
        build_histogram(
144
2
                buckets, ordered_map,
145
2
                max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets);
146
2
        histogram_to_json(buffer, buckets, data_type);
147
2
        return {buffer.GetString()};
148
2
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE
Line
Count
Source
136
48
    std::string get(const DataTypePtr& data_type) const {
137
48
        std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets;
138
48
        rapidjson::StringBuffer buffer;
139
        // NOTE: We need an extral branch for to handle max_num_buckets == 0,
140
        // when target column is nullable, and input block is all null,
141
        // set_parameters will not be called because of the short-circuit in
142
        // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation.
143
48
        build_histogram(
144
48
                buckets, ordered_map,
145
48
                max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets);
146
48
        histogram_to_json(buffer, buckets, data_type);
147
48
        return {buffer.GetString()};
148
48
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE
Line
Count
Source
136
48
    std::string get(const DataTypePtr& data_type) const {
137
48
        std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets;
138
48
        rapidjson::StringBuffer buffer;
139
        // NOTE: We need an extral branch for to handle max_num_buckets == 0,
140
        // when target column is nullable, and input block is all null,
141
        // set_parameters will not be called because of the short-circuit in
142
        // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation.
143
48
        build_histogram(
144
48
                buckets, ordered_map,
145
48
                max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets);
146
48
        histogram_to_json(buffer, buckets, data_type);
147
48
        return {buffer.GetString()};
148
48
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE
Line
Count
Source
136
76
    std::string get(const DataTypePtr& data_type) const {
137
76
        std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets;
138
76
        rapidjson::StringBuffer buffer;
139
        // NOTE: We need an extral branch for to handle max_num_buckets == 0,
140
        // when target column is nullable, and input block is all null,
141
        // set_parameters will not be called because of the short-circuit in
142
        // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation.
143
76
        build_histogram(
144
76
                buckets, ordered_map,
145
76
                max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets);
146
76
        histogram_to_json(buffer, buckets, data_type);
147
76
        return {buffer.GetString()};
148
76
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE
Line
Count
Source
136
65
    std::string get(const DataTypePtr& data_type) const {
137
65
        std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets;
138
65
        rapidjson::StringBuffer buffer;
139
        // NOTE: We need an extral branch for to handle max_num_buckets == 0,
140
        // when target column is nullable, and input block is all null,
141
        // set_parameters will not be called because of the short-circuit in
142
        // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation.
143
65
        build_histogram(
144
65
                buckets, ordered_map,
145
65
                max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets);
146
65
        histogram_to_json(buffer, buckets, data_type);
147
65
        return {buffer.GetString()};
148
65
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE
Line
Count
Source
136
48
    std::string get(const DataTypePtr& data_type) const {
137
48
        std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets;
138
48
        rapidjson::StringBuffer buffer;
139
        // NOTE: We need an extral branch for to handle max_num_buckets == 0,
140
        // when target column is nullable, and input block is all null,
141
        // set_parameters will not be called because of the short-circuit in
142
        // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation.
143
48
        build_histogram(
144
48
                buckets, ordered_map,
145
48
                max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets);
146
48
        histogram_to_json(buffer, buckets, data_type);
147
48
        return {buffer.GetString()};
148
48
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE
Line
Count
Source
136
46
    std::string get(const DataTypePtr& data_type) const {
137
46
        std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets;
138
46
        rapidjson::StringBuffer buffer;
139
        // NOTE: We need an extral branch for to handle max_num_buckets == 0,
140
        // when target column is nullable, and input block is all null,
141
        // set_parameters will not be called because of the short-circuit in
142
        // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation.
143
46
        build_histogram(
144
46
                buckets, ordered_map,
145
46
                max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets);
146
46
        histogram_to_json(buffer, buckets, data_type);
147
46
        return {buffer.GetString()};
148
46
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE
Line
Count
Source
136
46
    std::string get(const DataTypePtr& data_type) const {
137
46
        std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets;
138
46
        rapidjson::StringBuffer buffer;
139
        // NOTE: We need an extral branch for to handle max_num_buckets == 0,
140
        // when target column is nullable, and input block is all null,
141
        // set_parameters will not be called because of the short-circuit in
142
        // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation.
143
46
        build_histogram(
144
46
                buckets, ordered_map,
145
46
                max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets);
146
46
        histogram_to_json(buffer, buckets, data_type);
147
46
        return {buffer.GetString()};
148
46
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE
Line
Count
Source
136
49
    std::string get(const DataTypePtr& data_type) const {
137
49
        std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets;
138
49
        rapidjson::StringBuffer buffer;
139
        // NOTE: We need an extral branch for to handle max_num_buckets == 0,
140
        // when target column is nullable, and input block is all null,
141
        // set_parameters will not be called because of the short-circuit in
142
        // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation.
143
49
        build_histogram(
144
49
                buckets, ordered_map,
145
49
                max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets);
146
49
        histogram_to_json(buffer, buckets, data_type);
147
49
        return {buffer.GetString()};
148
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
136
105
    std::string get(const DataTypePtr& data_type) const {
137
105
        std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets;
138
105
        rapidjson::StringBuffer buffer;
139
        // NOTE: We need an extral branch for to handle max_num_buckets == 0,
140
        // when target column is nullable, and input block is all null,
141
        // set_parameters will not be called because of the short-circuit in
142
        // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation.
143
105
        build_histogram(
144
105
                buckets, ordered_map,
145
105
                max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets);
146
105
        histogram_to_json(buffer, buckets, data_type);
147
105
        return {buffer.GetString()};
148
105
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE
Line
Count
Source
136
88
    std::string get(const DataTypePtr& data_type) const {
137
88
        std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets;
138
88
        rapidjson::StringBuffer buffer;
139
        // NOTE: We need an extral branch for to handle max_num_buckets == 0,
140
        // when target column is nullable, and input block is all null,
141
        // set_parameters will not be called because of the short-circuit in
142
        // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation.
143
88
        build_histogram(
144
88
                buckets, ordered_map,
145
88
                max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets);
146
88
        histogram_to_json(buffer, buckets, data_type);
147
88
        return {buffer.GetString()};
148
88
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE
Line
Count
Source
136
88
    std::string get(const DataTypePtr& data_type) const {
137
88
        std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets;
138
88
        rapidjson::StringBuffer buffer;
139
        // NOTE: We need an extral branch for to handle max_num_buckets == 0,
140
        // when target column is nullable, and input block is all null,
141
        // set_parameters will not be called because of the short-circuit in
142
        // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation.
143
88
        build_histogram(
144
88
                buckets, ordered_map,
145
88
                max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets);
146
88
        histogram_to_json(buffer, buckets, data_type);
147
88
        return {buffer.GetString()};
148
88
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE
Line
Count
Source
136
1
    std::string get(const DataTypePtr& data_type) const {
137
1
        std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets;
138
1
        rapidjson::StringBuffer buffer;
139
        // NOTE: We need an extral branch for to handle max_num_buckets == 0,
140
        // when target column is nullable, and input block is all null,
141
        // set_parameters will not be called because of the short-circuit in
142
        // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation.
143
1
        build_histogram(
144
1
                buckets, ordered_map,
145
1
                max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets);
146
1
        histogram_to_json(buffer, buckets, data_type);
147
1
        return {buffer.GetString()};
148
1
    }
149
150
1.19k
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
151
1.19k
        std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector;
152
3.91k
        for (auto it : ordered_map) {
153
3.91k
            pair_vector.emplace_back(it.second, it.first);
154
3.91k
        }
155
1.19k
        return pair_vector;
156
1.19k
    }
Unexecuted instantiation: _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EE13map_to_vectorEv
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EE13map_to_vectorEv
Line
Count
Source
150
73
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
151
73
        std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector;
152
232
        for (auto it : ordered_map) {
153
232
            pair_vector.emplace_back(it.second, it.first);
154
232
        }
155
73
        return pair_vector;
156
73
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EE13map_to_vectorEv
Line
Count
Source
150
73
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
151
73
        std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector;
152
235
        for (auto it : ordered_map) {
153
235
            pair_vector.emplace_back(it.second, it.first);
154
235
        }
155
73
        return pair_vector;
156
73
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EE13map_to_vectorEv
Line
Count
Source
150
250
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
151
250
        std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector;
152
399
        for (auto it : ordered_map) {
153
399
            pair_vector.emplace_back(it.second, it.first);
154
399
        }
155
250
        return pair_vector;
156
250
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EE13map_to_vectorEv
Line
Count
Source
150
73
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
151
73
        std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector;
152
235
        for (auto it : ordered_map) {
153
235
            pair_vector.emplace_back(it.second, it.first);
154
235
        }
155
73
        return pair_vector;
156
73
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EE13map_to_vectorEv
Line
Count
Source
150
73
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
151
73
        std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector;
152
235
        for (auto it : ordered_map) {
153
235
            pair_vector.emplace_back(it.second, it.first);
154
235
        }
155
73
        return pair_vector;
156
73
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EE13map_to_vectorEv
Line
Count
Source
150
73
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
151
73
        std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector;
152
235
        for (auto it : ordered_map) {
153
235
            pair_vector.emplace_back(it.second, it.first);
154
235
        }
155
73
        return pair_vector;
156
73
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EE13map_to_vectorEv
Line
Count
Source
150
73
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
151
73
        std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector;
152
235
        for (auto it : ordered_map) {
153
235
            pair_vector.emplace_back(it.second, it.first);
154
235
        }
155
73
        return pair_vector;
156
73
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EE13map_to_vectorEv
Line
Count
Source
150
74
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
151
74
        std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector;
152
150
        for (auto it : ordered_map) {
153
150
            pair_vector.emplace_back(it.second, it.first);
154
150
        }
155
74
        return pair_vector;
156
74
    }
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
150
150
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
151
150
        std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector;
152
1.23k
        for (auto it : ordered_map) {
153
1.23k
            pair_vector.emplace_back(it.second, it.first);
154
1.23k
        }
155
150
        return pair_vector;
156
150
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EE13map_to_vectorEv
Line
Count
Source
150
143
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
151
143
        std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector;
152
364
        for (auto it : ordered_map) {
153
364
            pair_vector.emplace_back(it.second, it.first);
154
364
        }
155
143
        return pair_vector;
156
143
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EE13map_to_vectorEv
Line
Count
Source
150
143
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
151
143
        std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector;
152
364
        for (auto it : ordered_map) {
153
364
            pair_vector.emplace_back(it.second, it.first);
154
364
        }
155
143
        return pair_vector;
156
143
    }
Unexecuted instantiation: _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EE13map_to_vectorEv
157
158
private:
159
    size_t max_num_buckets = BUCKET_NUM_INIT_VALUE;
160
    std::map<typename PrimitiveTypeTraits<T>::CppType, size_t> ordered_map;
161
};
162
163
template <typename Data, bool has_input_param>
164
class AggregateFunctionHistogram final
165
        : public IAggregateFunctionDataHelper<Data,
166
                                              AggregateFunctionHistogram<Data, has_input_param>>,
167
          VarargsExpression,
168
          NotNullableAggregateFunction {
169
public:
170
    AggregateFunctionHistogram() = default;
171
    AggregateFunctionHistogram(const DataTypes& argument_types_)
172
805
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
173
805
                      argument_types_),
174
805
              _argument_type(argument_types_[0]) {}
Unexecuted instantiation: _ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
172
10
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
173
10
                      argument_types_),
174
10
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
172
10
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
173
10
                      argument_types_),
174
10
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
172
3
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
173
3
                      argument_types_),
174
3
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
172
10
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
173
10
                      argument_types_),
174
10
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
172
10
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
173
10
                      argument_types_),
174
10
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
172
8
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
173
8
                      argument_types_),
174
8
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
172
8
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
173
8
                      argument_types_),
174
8
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
172
16
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
173
16
                      argument_types_),
174
16
              _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
172
36
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
173
36
                      argument_types_),
174
36
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
172
17
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
173
17
                      argument_types_),
174
17
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
172
17
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
173
17
                      argument_types_),
174
17
              _argument_type(argument_types_[0]) {}
Unexecuted instantiation: _ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
172
2
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
173
2
                      argument_types_),
174
2
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
172
20
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
173
20
                      argument_types_),
174
20
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
172
20
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
173
20
                      argument_types_),
174
20
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
172
401
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
173
401
                      argument_types_),
174
401
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
172
21
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
173
21
                      argument_types_),
174
21
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
172
20
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
173
20
                      argument_types_),
174
20
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
172
20
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
173
20
                      argument_types_),
174
20
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
172
20
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
173
20
                      argument_types_),
174
20
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
172
19
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
173
19
                      argument_types_),
174
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
172
40
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
173
40
                      argument_types_),
174
40
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
172
38
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
173
38
                      argument_types_),
174
38
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
172
38
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
173
38
                      argument_types_),
174
38
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
172
1
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
173
1
                      argument_types_),
174
1
              _argument_type(argument_types_[0]) {}
175
176
31
    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_13PrimitiveTypeE42EEELb1EE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EE8get_nameB5cxx11Ev
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EE8get_nameB5cxx11Ev
Line
Count
Source
176
20
    std::string get_name() const override { return "histogram"; }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EE8get_nameB5cxx11Ev
Line
Count
Source
176
10
    std::string get_name() const override { return "histogram"; }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb0EE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb0EE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb0EE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb0EE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb0EE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb0EE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb0EE8get_nameB5cxx11Ev
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb0EE8get_nameB5cxx11Ev
Line
Count
Source
176
1
    std::string get_name() const override { return "histogram"; }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb0EE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb0EE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EEELb0EE8get_nameB5cxx11Ev
177
178
1.66k
    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
178
34
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EE15get_return_typeEv
Line
Count
Source
178
34
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EE15get_return_typeEv
Line
Count
Source
178
10
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EE15get_return_typeEv
Line
Count
Source
178
34
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EE15get_return_typeEv
Line
Count
Source
178
34
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb1EE15get_return_typeEv
Line
Count
Source
178
24
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb1EE15get_return_typeEv
Line
Count
Source
178
24
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb1EE15get_return_typeEv
Line
Count
Source
178
58
    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
178
126
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EE15get_return_typeEv
Line
Count
Source
178
58
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EE15get_return_typeEv
Line
Count
Source
178
58
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EEELb1EE15get_return_typeEv
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EE15get_return_typeEv
Line
Count
Source
178
10
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EE15get_return_typeEv
Line
Count
Source
178
69
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EE15get_return_typeEv
Line
Count
Source
178
70
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EE15get_return_typeEv
Line
Count
Source
178
223
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EE15get_return_typeEv
Line
Count
Source
178
87
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb0EE15get_return_typeEv
Line
Count
Source
178
70
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb0EE15get_return_typeEv
Line
Count
Source
178
70
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb0EE15get_return_typeEv
Line
Count
Source
178
70
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb0EE15get_return_typeEv
Line
Count
Source
178
70
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb0EE15get_return_typeEv
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb0EE15get_return_typeEv
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb0EE15get_return_typeEv
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb0EE15get_return_typeEv
Line
Count
Source
178
142
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb0EE15get_return_typeEv
Line
Count
Source
178
140
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb0EE15get_return_typeEv
Line
Count
Source
178
140
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EEELb0EE15get_return_typeEv
Line
Count
Source
178
5
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
179
180
    void add(AggregateDataPtr __restrict place, const IColumn** columns, ssize_t row_num,
181
6.12k
             Arena&) const override {
182
6.12k
        if constexpr (has_input_param) {
183
4.40k
            Int32 input_max_num_buckets =
184
4.40k
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
185
4.40k
                            ->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.72k
            this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM);
195
1.72k
        }
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.71k
        } else {
202
3.71k
            this->data(place).add(
203
3.71k
                    assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>(
204
3.71k
                            *columns[0])
205
3.71k
                            .get_data()[row_num]);
206
3.71k
        }
207
6.12k
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
181
239
             Arena&) const override {
182
239
        if constexpr (has_input_param) {
183
239
            Int32 input_max_num_buckets =
184
239
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
185
239
                            ->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
181
251
             Arena&) const override {
182
251
        if constexpr (has_input_param) {
183
251
            Int32 input_max_num_buckets =
184
251
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
185
251
                            ->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
181
215
             Arena&) const override {
182
215
        if constexpr (has_input_param) {
183
215
            Int32 input_max_num_buckets =
184
215
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
185
215
                            ->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
181
239
             Arena&) const override {
182
239
        if constexpr (has_input_param) {
183
239
            Int32 input_max_num_buckets =
184
239
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
185
239
                            ->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
181
239
             Arena&) const override {
182
239
        if constexpr (has_input_param) {
183
239
            Int32 input_max_num_buckets =
184
239
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
185
239
                            ->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
181
224
             Arena&) const override {
182
224
        if constexpr (has_input_param) {
183
224
            Int32 input_max_num_buckets =
184
224
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
185
224
                            ->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
181
224
             Arena&) const override {
182
224
        if constexpr (has_input_param) {
183
224
            Int32 input_max_num_buckets =
184
224
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
185
224
                            ->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
181
63
             Arena&) const override {
182
63
        if constexpr (has_input_param) {
183
63
            Int32 input_max_num_buckets =
184
63
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
185
63
                            ->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
181
2.18k
             Arena&) const override {
182
2.18k
        if constexpr (has_input_param) {
183
2.18k
            Int32 input_max_num_buckets =
184
2.18k
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
185
2.18k
                            ->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
181
263
             Arena&) const override {
182
263
        if constexpr (has_input_param) {
183
263
            Int32 input_max_num_buckets =
184
263
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
185
263
                            ->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
181
263
             Arena&) const override {
182
263
        if constexpr (has_input_param) {
183
263
            Int32 input_max_num_buckets =
184
263
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
185
263
                            ->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
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
181
15
             Arena&) const override {
182
        if constexpr (has_input_param) {
183
            Int32 input_max_num_buckets =
184
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
185
                            ->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
181
108
             Arena&) const override {
182
        if constexpr (has_input_param) {
183
            Int32 input_max_num_buckets =
184
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
185
                            ->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
181
108
             Arena&) const override {
182
        if constexpr (has_input_param) {
183
            Int32 input_max_num_buckets =
184
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
185
                            ->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
181
281
             Arena&) const override {
182
        if constexpr (has_input_param) {
183
            Int32 input_max_num_buckets =
184
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
185
                            ->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
281
        } else {
194
281
            this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM);
195
281
        }
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
281
        } else {
202
281
            this->data(place).add(
203
281
                    assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>(
204
281
                            *columns[0])
205
281
                            .get_data()[row_num]);
206
281
        }
207
281
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
181
123
             Arena&) const override {
182
        if constexpr (has_input_param) {
183
            Int32 input_max_num_buckets =
184
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
185
                            ->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
181
108
             Arena&) const override {
182
        if constexpr (has_input_param) {
183
            Int32 input_max_num_buckets =
184
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
185
                            ->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
181
108
             Arena&) const override {
182
        if constexpr (has_input_param) {
183
            Int32 input_max_num_buckets =
184
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
185
                            ->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
181
108
             Arena&) const override {
182
        if constexpr (has_input_param) {
183
            Int32 input_max_num_buckets =
184
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
185
                            ->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
181
108
             Arena&) const override {
182
        if constexpr (has_input_param) {
183
            Int32 input_max_num_buckets =
184
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
185
                            ->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
181
226
             Arena&) const override {
182
        if constexpr (has_input_param) {
183
            Int32 input_max_num_buckets =
184
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
185
                            ->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
181
216
             Arena&) const override {
182
        if constexpr (has_input_param) {
183
            Int32 input_max_num_buckets =
184
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
185
                            ->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
181
212
             Arena&) const override {
182
        if constexpr (has_input_param) {
183
            Int32 input_max_num_buckets =
184
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
185
                            ->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
212
        } else {
194
212
            this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM);
195
212
        }
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
212
        } else {
202
212
            this->data(place).add(
203
212
                    assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>(
204
212
                            *columns[0])
205
212
                            .get_data()[row_num]);
206
212
        }
207
212
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
181
3
             Arena&) const override {
182
        if constexpr (has_input_param) {
183
            Int32 input_max_num_buckets =
184
                    assert_cast<const ColumnInt32*, TypeCheckOnRelease::DISABLE>(columns[1])
185
                            ->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
3
        } else {
194
3
            this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM);
195
3
        }
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
3
        } else {
202
3
            this->data(place).add(
203
3
                    assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>(
204
3
                            *columns[0])
205
3
                            .get_data()[row_num]);
206
3
        }
207
3
    }
208
209
633
    void check_input_columns_type(const IColumn** columns) const override {
210
633
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
211
633
        if constexpr (has_input_param) {
212
87
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
213
87
        }
214
633
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EE24check_input_columns_typeEPPKNS_7IColumnE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
209
6
    void check_input_columns_type(const IColumn** columns) const override {
210
6
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
211
6
        if constexpr (has_input_param) {
212
6
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
213
6
        }
214
6
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
209
6
    void check_input_columns_type(const IColumn** columns) const override {
210
6
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
211
6
        if constexpr (has_input_param) {
212
6
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
213
6
        }
214
6
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
209
2
    void check_input_columns_type(const IColumn** columns) const override {
210
2
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
211
2
        if constexpr (has_input_param) {
212
2
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
213
2
        }
214
2
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
209
6
    void check_input_columns_type(const IColumn** columns) const override {
210
6
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
211
6
        if constexpr (has_input_param) {
212
6
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
213
6
        }
214
6
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
209
6
    void check_input_columns_type(const IColumn** columns) const override {
210
6
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
211
6
        if constexpr (has_input_param) {
212
6
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
213
6
        }
214
6
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb1EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
209
4
    void check_input_columns_type(const IColumn** columns) const override {
210
4
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
211
4
        if constexpr (has_input_param) {
212
4
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
213
4
        }
214
4
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb1EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
209
4
    void check_input_columns_type(const IColumn** columns) const override {
210
4
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
211
4
        if constexpr (has_input_param) {
212
4
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
213
4
        }
214
4
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb1EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
209
10
    void check_input_columns_type(const IColumn** columns) const override {
210
10
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
211
10
        if constexpr (has_input_param) {
212
10
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
213
10
        }
214
10
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb1EE24check_input_columns_typeEPPKNS_7IColumnE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb1EE24check_input_columns_typeEPPKNS_7IColumnE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb1EE24check_input_columns_typeEPPKNS_7IColumnE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb1EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
209
23
    void check_input_columns_type(const IColumn** columns) const override {
210
23
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
211
23
        if constexpr (has_input_param) {
212
23
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
213
23
        }
214
23
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
209
10
    void check_input_columns_type(const IColumn** columns) const override {
210
10
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
211
10
        if constexpr (has_input_param) {
212
10
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
213
10
        }
214
10
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
209
10
    void check_input_columns_type(const IColumn** columns) const override {
210
10
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
211
10
        if constexpr (has_input_param) {
212
10
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
213
10
        }
214
10
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EEELb1EE24check_input_columns_typeEPPKNS_7IColumnE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
209
2
    void check_input_columns_type(const IColumn** columns) const override {
210
2
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
211
        if constexpr (has_input_param) {
212
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
213
        }
214
2
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
209
36
    void check_input_columns_type(const IColumn** columns) const override {
210
36
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
211
        if constexpr (has_input_param) {
212
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
213
        }
214
36
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
209
36
    void check_input_columns_type(const IColumn** columns) const override {
210
36
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
211
        if constexpr (has_input_param) {
212
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
213
        }
214
36
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
209
72
    void check_input_columns_type(const IColumn** columns) const override {
210
72
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
211
        if constexpr (has_input_param) {
212
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
213
        }
214
72
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
209
39
    void check_input_columns_type(const IColumn** columns) const override {
210
39
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
211
        if constexpr (has_input_param) {
212
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
213
        }
214
39
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb0EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
209
36
    void check_input_columns_type(const IColumn** columns) const override {
210
36
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
211
        if constexpr (has_input_param) {
212
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
213
        }
214
36
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb0EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
209
36
    void check_input_columns_type(const IColumn** columns) const override {
210
36
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
211
        if constexpr (has_input_param) {
212
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
213
        }
214
36
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb0EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
209
36
    void check_input_columns_type(const IColumn** columns) const override {
210
36
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
211
        if constexpr (has_input_param) {
212
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
213
        }
214
36
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb0EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
209
36
    void check_input_columns_type(const IColumn** columns) const override {
210
36
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
211
        if constexpr (has_input_param) {
212
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
213
        }
214
36
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb0EE24check_input_columns_typeEPPKNS_7IColumnE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb0EE24check_input_columns_typeEPPKNS_7IColumnE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb0EE24check_input_columns_typeEPPKNS_7IColumnE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb0EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
209
72
    void check_input_columns_type(const IColumn** columns) const override {
210
72
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
211
        if constexpr (has_input_param) {
212
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
213
        }
214
72
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb0EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
209
72
    void check_input_columns_type(const IColumn** columns) const override {
210
72
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
211
        if constexpr (has_input_param) {
212
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
213
        }
214
72
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb0EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
209
72
    void check_input_columns_type(const IColumn** columns) const override {
210
72
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
211
        if constexpr (has_input_param) {
212
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
213
        }
214
72
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EEELb0EE24check_input_columns_typeEPPKNS_7IColumnE
Line
Count
Source
209
1
    void check_input_columns_type(const IColumn** columns) const override {
210
1
        this->template check_argument_column_type<typename Data::ColVecType>(columns[0]);
211
        if constexpr (has_input_param) {
212
            this->template check_argument_column_type<ColumnInt32>(columns[1]);
213
        }
214
1
    }
215
216
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_13PrimitiveTypeE42EEELb1EE5resetEPc
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EE5resetEPc
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EE5resetEPc
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EE5resetEPc
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EE5resetEPc
Line
Count
Source
216
26
    void reset(AggregateDataPtr place) const override { this->data(place).reset(); }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EE5resetEPc
Line
Count
Source
216
3
    void reset(AggregateDataPtr place) const override { this->data(place).reset(); }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb0EE5resetEPc
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb0EE5resetEPc
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb0EE5resetEPc
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb0EE5resetEPc
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb0EE5resetEPc
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb0EE5resetEPc
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb0EE5resetEPc
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb0EE5resetEPc
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb0EE5resetEPc
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb0EE5resetEPc
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EEELb0EE5resetEPc
217
218
    void merge(AggregateDataPtr __restrict place, ConstAggregateDataPtr rhs,
219
1.15k
               Arena&) const override {
220
1.15k
        this->data(place).merge(this->data(rhs));
221
1.15k
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EE5mergeEPcPKcRNS_5ArenaE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
219
4
               Arena&) const override {
220
4
        this->data(place).merge(this->data(rhs));
221
4
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
219
4
               Arena&) const override {
220
4
        this->data(place).merge(this->data(rhs));
221
4
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
219
1
               Arena&) const override {
220
1
        this->data(place).merge(this->data(rhs));
221
1
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
219
4
               Arena&) const override {
220
4
        this->data(place).merge(this->data(rhs));
221
4
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
219
4
               Arena&) const override {
220
4
        this->data(place).merge(this->data(rhs));
221
4
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb1EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
219
4
               Arena&) const override {
220
4
        this->data(place).merge(this->data(rhs));
221
4
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb1EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
219
4
               Arena&) const override {
220
4
        this->data(place).merge(this->data(rhs));
221
4
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb1EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
219
6
               Arena&) const override {
220
6
        this->data(place).merge(this->data(rhs));
221
6
    }
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
219
13
               Arena&) const override {
220
13
        this->data(place).merge(this->data(rhs));
221
13
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
219
7
               Arena&) const override {
220
7
        this->data(place).merge(this->data(rhs));
221
7
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
219
7
               Arena&) const override {
220
7
        this->data(place).merge(this->data(rhs));
221
7
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EEELb1EE5mergeEPcPKcRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EE5mergeEPcPKcRNS_5ArenaE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
219
69
               Arena&) const override {
220
69
        this->data(place).merge(this->data(rhs));
221
69
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
219
69
               Arena&) const override {
220
69
        this->data(place).merge(this->data(rhs));
221
69
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
219
210
               Arena&) const override {
220
210
        this->data(place).merge(this->data(rhs));
221
210
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
219
69
               Arena&) const override {
220
69
        this->data(place).merge(this->data(rhs));
221
69
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb0EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
219
69
               Arena&) const override {
220
69
        this->data(place).merge(this->data(rhs));
221
69
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb0EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
219
69
               Arena&) const override {
220
69
        this->data(place).merge(this->data(rhs));
221
69
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb0EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
219
69
               Arena&) const override {
220
69
        this->data(place).merge(this->data(rhs));
221
69
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb0EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
219
68
               Arena&) const override {
220
68
        this->data(place).merge(this->data(rhs));
221
68
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb0EE5mergeEPcPKcRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb0EE5mergeEPcPKcRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb0EE5mergeEPcPKcRNS_5ArenaE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb0EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
219
137
               Arena&) const override {
220
137
        this->data(place).merge(this->data(rhs));
221
137
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb0EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
219
136
               Arena&) const override {
220
136
        this->data(place).merge(this->data(rhs));
221
136
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb0EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
219
136
               Arena&) const override {
220
136
        this->data(place).merge(this->data(rhs));
221
136
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EEELb0EE5mergeEPcPKcRNS_5ArenaE
222
223
1.19k
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
224
1.19k
        this->data(place).write(buf);
225
1.19k
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EE9serializeEPKcRNS_14BufferWritableE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
223
4
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
224
4
        this->data(place).write(buf);
225
4
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
223
4
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
224
4
        this->data(place).write(buf);
225
4
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
223
1
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
224
1
        this->data(place).write(buf);
225
1
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
223
4
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
224
4
        this->data(place).write(buf);
225
4
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
223
4
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
224
4
        this->data(place).write(buf);
225
4
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb1EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
223
4
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
224
4
        this->data(place).write(buf);
225
4
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb1EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
223
4
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
224
4
        this->data(place).write(buf);
225
4
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb1EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
223
6
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
224
6
        this->data(place).write(buf);
225
6
    }
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
223
13
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
224
13
        this->data(place).write(buf);
225
13
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
223
7
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
224
7
        this->data(place).write(buf);
225
7
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
223
7
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
224
7
        this->data(place).write(buf);
225
7
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EEELb1EE9serializeEPKcRNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EE9serializeEPKcRNS_14BufferWritableE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
223
69
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
224
69
        this->data(place).write(buf);
225
69
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
223
69
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
224
69
        this->data(place).write(buf);
225
69
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
223
249
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
224
249
        this->data(place).write(buf);
225
249
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
223
69
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
224
69
        this->data(place).write(buf);
225
69
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb0EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
223
69
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
224
69
        this->data(place).write(buf);
225
69
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb0EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
223
69
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
224
69
        this->data(place).write(buf);
225
69
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb0EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
223
69
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
224
69
        this->data(place).write(buf);
225
69
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb0EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
223
68
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
224
68
        this->data(place).write(buf);
225
68
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb0EE9serializeEPKcRNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb0EE9serializeEPKcRNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb0EE9serializeEPKcRNS_14BufferWritableE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb0EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
223
137
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
224
137
        this->data(place).write(buf);
225
137
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb0EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
223
136
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
224
136
        this->data(place).write(buf);
225
136
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb0EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
223
136
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
224
136
        this->data(place).write(buf);
225
136
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EEELb0EE9serializeEPKcRNS_14BufferWritableE
226
227
    void deserialize(AggregateDataPtr __restrict place, BufferReadable& buf,
228
1.15k
                     Arena&) const override {
229
1.15k
        this->data(place).read(buf);
230
1.15k
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
228
4
                     Arena&) const override {
229
4
        this->data(place).read(buf);
230
4
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
228
4
                     Arena&) const override {
229
4
        this->data(place).read(buf);
230
4
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
228
1
                     Arena&) const override {
229
1
        this->data(place).read(buf);
230
1
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
228
4
                     Arena&) const override {
229
4
        this->data(place).read(buf);
230
4
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
228
4
                     Arena&) const override {
229
4
        this->data(place).read(buf);
230
4
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
228
4
                     Arena&) const override {
229
4
        this->data(place).read(buf);
230
4
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
228
4
                     Arena&) const override {
229
4
        this->data(place).read(buf);
230
4
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
228
6
                     Arena&) const override {
229
6
        this->data(place).read(buf);
230
6
    }
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
228
13
                     Arena&) const override {
229
13
        this->data(place).read(buf);
230
13
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
228
7
                     Arena&) const override {
229
7
        this->data(place).read(buf);
230
7
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
228
7
                     Arena&) const override {
229
7
        this->data(place).read(buf);
230
7
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
228
69
                     Arena&) const override {
229
69
        this->data(place).read(buf);
230
69
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
228
69
                     Arena&) const override {
229
69
        this->data(place).read(buf);
230
69
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
228
210
                     Arena&) const override {
229
210
        this->data(place).read(buf);
230
210
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
228
69
                     Arena&) const override {
229
69
        this->data(place).read(buf);
230
69
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
228
69
                     Arena&) const override {
229
69
        this->data(place).read(buf);
230
69
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
228
69
                     Arena&) const override {
229
69
        this->data(place).read(buf);
230
69
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
228
69
                     Arena&) const override {
229
69
        this->data(place).read(buf);
230
69
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
228
68
                     Arena&) const override {
229
68
        this->data(place).read(buf);
230
68
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
228
137
                     Arena&) const override {
229
137
        this->data(place).read(buf);
230
137
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
228
136
                     Arena&) const override {
229
136
        this->data(place).read(buf);
230
136
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
228
136
                     Arena&) const override {
229
136
        this->data(place).read(buf);
230
136
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
231
232
710
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
233
710
        const std::string bucket_json = this->data(place).get(_argument_type);
234
710
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
235
710
                bucket_json.c_str(), bucket_json.length());
236
710
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EE18insert_result_intoEPKcRNS_7IColumnE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
232
9
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
233
9
        const std::string bucket_json = this->data(place).get(_argument_type);
234
9
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
235
9
                bucket_json.c_str(), bucket_json.length());
236
9
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
232
9
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
233
9
        const std::string bucket_json = this->data(place).get(_argument_type);
234
9
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
235
9
                bucket_json.c_str(), bucket_json.length());
236
9
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
232
4
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
233
4
        const std::string bucket_json = this->data(place).get(_argument_type);
234
4
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
235
4
                bucket_json.c_str(), bucket_json.length());
236
4
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
232
9
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
233
9
        const std::string bucket_json = this->data(place).get(_argument_type);
234
9
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
235
9
                bucket_json.c_str(), bucket_json.length());
236
9
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
232
9
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
233
9
        const std::string bucket_json = this->data(place).get(_argument_type);
234
9
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
235
9
                bucket_json.c_str(), bucket_json.length());
236
9
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
232
7
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
233
7
        const std::string bucket_json = this->data(place).get(_argument_type);
234
7
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
235
7
                bucket_json.c_str(), bucket_json.length());
236
7
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
232
7
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
233
7
        const std::string bucket_json = this->data(place).get(_argument_type);
234
7
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
235
7
                bucket_json.c_str(), bucket_json.length());
236
7
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
232
12
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
233
12
        const std::string bucket_json = this->data(place).get(_argument_type);
234
12
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
235
12
                bucket_json.c_str(), bucket_json.length());
236
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
232
29
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
233
29
        const std::string bucket_json = this->data(place).get(_argument_type);
234
29
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
235
29
                bucket_json.c_str(), bucket_json.length());
236
29
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
232
14
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
233
14
        const std::string bucket_json = this->data(place).get(_argument_type);
234
14
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
235
14
                bucket_json.c_str(), bucket_json.length());
236
14
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
232
14
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
233
14
        const std::string bucket_json = this->data(place).get(_argument_type);
234
14
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
235
14
                bucket_json.c_str(), bucket_json.length());
236
14
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EEELb1EE18insert_result_intoEPKcRNS_7IColumnE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
232
2
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
233
2
        const std::string bucket_json = this->data(place).get(_argument_type);
234
2
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
235
2
                bucket_json.c_str(), bucket_json.length());
236
2
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
232
39
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
233
39
        const std::string bucket_json = this->data(place).get(_argument_type);
234
39
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
235
39
                bucket_json.c_str(), bucket_json.length());
236
39
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
232
39
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
233
39
        const std::string bucket_json = this->data(place).get(_argument_type);
234
39
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
235
39
                bucket_json.c_str(), bucket_json.length());
236
39
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
232
72
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
233
72
        const std::string bucket_json = this->data(place).get(_argument_type);
234
72
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
235
72
                bucket_json.c_str(), bucket_json.length());
236
72
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
232
56
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
233
56
        const std::string bucket_json = this->data(place).get(_argument_type);
234
56
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
235
56
                bucket_json.c_str(), bucket_json.length());
236
56
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
232
39
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
233
39
        const std::string bucket_json = this->data(place).get(_argument_type);
234
39
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
235
39
                bucket_json.c_str(), bucket_json.length());
236
39
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
232
39
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
233
39
        const std::string bucket_json = this->data(place).get(_argument_type);
234
39
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
235
39
                bucket_json.c_str(), bucket_json.length());
236
39
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
232
39
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
233
39
        const std::string bucket_json = this->data(place).get(_argument_type);
234
39
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
235
39
                bucket_json.c_str(), bucket_json.length());
236
39
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
232
37
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
233
37
        const std::string bucket_json = this->data(place).get(_argument_type);
234
37
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
235
37
                bucket_json.c_str(), bucket_json.length());
236
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
232
76
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
233
76
        const std::string bucket_json = this->data(place).get(_argument_type);
234
76
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
235
76
                bucket_json.c_str(), bucket_json.length());
236
76
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
232
74
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
233
74
        const std::string bucket_json = this->data(place).get(_argument_type);
234
74
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
235
74
                bucket_json.c_str(), bucket_json.length());
236
74
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
232
74
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
233
74
        const std::string bucket_json = this->data(place).get(_argument_type);
234
74
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
235
74
                bucket_json.c_str(), bucket_json.length());
236
74
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EEELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
232
1
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
233
1
        const std::string bucket_json = this->data(place).get(_argument_type);
234
1
        assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(
235
1
                bucket_json.c_str(), bucket_json.length());
236
1
    }
237
238
490
    void check_result_column_type(const IColumn& to) const override {
239
490
        IAggregateFunction::check_result_column_type(to);
240
490
        this->template check_result_column_type_as<ColumnString>(to);
241
490
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EE24check_result_column_typeERKNS_7IColumnE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
238
7
    void check_result_column_type(const IColumn& to) const override {
239
7
        IAggregateFunction::check_result_column_type(to);
240
7
        this->template check_result_column_type_as<ColumnString>(to);
241
7
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
238
7
    void check_result_column_type(const IColumn& to) const override {
239
7
        IAggregateFunction::check_result_column_type(to);
240
7
        this->template check_result_column_type_as<ColumnString>(to);
241
7
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
238
2
    void check_result_column_type(const IColumn& to) const override {
239
2
        IAggregateFunction::check_result_column_type(to);
240
2
        this->template check_result_column_type_as<ColumnString>(to);
241
2
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
238
7
    void check_result_column_type(const IColumn& to) const override {
239
7
        IAggregateFunction::check_result_column_type(to);
240
7
        this->template check_result_column_type_as<ColumnString>(to);
241
7
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
238
7
    void check_result_column_type(const IColumn& to) const override {
239
7
        IAggregateFunction::check_result_column_type(to);
240
7
        this->template check_result_column_type_as<ColumnString>(to);
241
7
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb1EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
238
5
    void check_result_column_type(const IColumn& to) const override {
239
5
        IAggregateFunction::check_result_column_type(to);
240
5
        this->template check_result_column_type_as<ColumnString>(to);
241
5
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb1EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
238
5
    void check_result_column_type(const IColumn& to) const override {
239
5
        IAggregateFunction::check_result_column_type(to);
240
5
        this->template check_result_column_type_as<ColumnString>(to);
241
5
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb1EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
238
12
    void check_result_column_type(const IColumn& to) const override {
239
12
        IAggregateFunction::check_result_column_type(to);
240
12
        this->template check_result_column_type_as<ColumnString>(to);
241
12
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb1EE24check_result_column_typeERKNS_7IColumnE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb1EE24check_result_column_typeERKNS_7IColumnE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb1EE24check_result_column_typeERKNS_7IColumnE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb1EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
238
27
    void check_result_column_type(const IColumn& to) const override {
239
27
        IAggregateFunction::check_result_column_type(to);
240
27
        this->template check_result_column_type_as<ColumnString>(to);
241
27
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
238
12
    void check_result_column_type(const IColumn& to) const override {
239
12
        IAggregateFunction::check_result_column_type(to);
240
12
        this->template check_result_column_type_as<ColumnString>(to);
241
12
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
238
12
    void check_result_column_type(const IColumn& to) const override {
239
12
        IAggregateFunction::check_result_column_type(to);
240
12
        this->template check_result_column_type_as<ColumnString>(to);
241
12
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EEELb1EE24check_result_column_typeERKNS_7IColumnE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
238
2
    void check_result_column_type(const IColumn& to) const override {
239
2
        IAggregateFunction::check_result_column_type(to);
240
2
        this->template check_result_column_type_as<ColumnString>(to);
241
2
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
238
23
    void check_result_column_type(const IColumn& to) const override {
239
23
        IAggregateFunction::check_result_column_type(to);
240
23
        this->template check_result_column_type_as<ColumnString>(to);
241
23
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
238
23
    void check_result_column_type(const IColumn& to) const override {
239
23
        IAggregateFunction::check_result_column_type(to);
240
23
        this->template check_result_column_type_as<ColumnString>(to);
241
23
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
238
81
    void check_result_column_type(const IColumn& to) const override {
239
81
        IAggregateFunction::check_result_column_type(to);
240
81
        this->template check_result_column_type_as<ColumnString>(to);
241
81
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
238
26
    void check_result_column_type(const IColumn& to) const override {
239
26
        IAggregateFunction::check_result_column_type(to);
240
26
        this->template check_result_column_type_as<ColumnString>(to);
241
26
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb0EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
238
23
    void check_result_column_type(const IColumn& to) const override {
239
23
        IAggregateFunction::check_result_column_type(to);
240
23
        this->template check_result_column_type_as<ColumnString>(to);
241
23
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb0EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
238
23
    void check_result_column_type(const IColumn& to) const override {
239
23
        IAggregateFunction::check_result_column_type(to);
240
23
        this->template check_result_column_type_as<ColumnString>(to);
241
23
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb0EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
238
23
    void check_result_column_type(const IColumn& to) const override {
239
23
        IAggregateFunction::check_result_column_type(to);
240
23
        this->template check_result_column_type_as<ColumnString>(to);
241
23
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb0EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
238
23
    void check_result_column_type(const IColumn& to) const override {
239
23
        IAggregateFunction::check_result_column_type(to);
240
23
        this->template check_result_column_type_as<ColumnString>(to);
241
23
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb0EE24check_result_column_typeERKNS_7IColumnE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb0EE24check_result_column_typeERKNS_7IColumnE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb0EE24check_result_column_typeERKNS_7IColumnE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb0EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
238
47
    void check_result_column_type(const IColumn& to) const override {
239
47
        IAggregateFunction::check_result_column_type(to);
240
47
        this->template check_result_column_type_as<ColumnString>(to);
241
47
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb0EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
238
46
    void check_result_column_type(const IColumn& to) const override {
239
46
        IAggregateFunction::check_result_column_type(to);
240
46
        this->template check_result_column_type_as<ColumnString>(to);
241
46
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb0EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
238
46
    void check_result_column_type(const IColumn& to) const override {
239
46
        IAggregateFunction::check_result_column_type(to);
240
46
        this->template check_result_column_type_as<ColumnString>(to);
241
46
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE42EEELb0EE24check_result_column_typeERKNS_7IColumnE
Line
Count
Source
238
1
    void check_result_column_type(const IColumn& to) const override {
239
1
        IAggregateFunction::check_result_column_type(to);
240
1
        this->template check_result_column_type_as<ColumnString>(to);
241
1
    }
242
243
private:
244
    DataTypePtr _argument_type;
245
};
246
247
} // namespace doris