Coverage Report

Created: 2026-09-17 10:18

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