Coverage Report

Created: 2026-04-16 14:28

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
be/src/exprs/aggregate/aggregate_function_histogram.h
Line
Count
Source
1
// Licensed to the Apache Software Foundation (ASF) under one
2
// or more contributor license agreements.  See the NOTICE file
3
// distributed with this work for additional information
4
// regarding copyright ownership.  The ASF licenses this file
5
// to you under the Apache License, Version 2.0 (the
6
// "License"); you may not use this file except in compliance
7
// with the License.  You may obtain a copy of the License at
8
//
9
//   http://www.apache.org/licenses/LICENSE-2.0
10
//
11
// Unless required by applicable law or agreed to in writing,
12
// software distributed under the License is distributed on an
13
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
// KIND, either express or implied.  See the License for the
15
// specific language governing permissions and limitations
16
// under the License.
17
18
#pragma once
19
20
#include <map>
21
#include <memory>
22
#include <string>
23
#include <utility>
24
#include <vector>
25
26
#include "common/exception.h"
27
#include "common/status.h"
28
#include "core/assert_cast.h"
29
#include "core/column/column.h"
30
#include "core/column/column_decimal.h"
31
#include "core/column/column_string.h"
32
#include "core/data_type/data_type_string.h"
33
#include "core/string_ref.h"
34
#include "core/types.h"
35
#include "exec/common/histogram_helpers.hpp"
36
#include "exprs/aggregate/aggregate_function.h"
37
#include "exprs/aggregate/aggregate_function_simple_factory.h"
38
39
namespace doris {} // namespace doris
40
41
namespace doris {
42
43
template <PrimitiveType T>
44
struct AggregateFunctionHistogramData {
45
    static constexpr auto Ptype = T;
46
    using ColVecType = typename PrimitiveTypeTraits<T>::ColumnType;
47
    const static size_t DEFAULT_BUCKET_NUM = 128;
48
    const static size_t BUCKET_NUM_INIT_VALUE = 0;
49
50
3.80k
    void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; }
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EE14set_parametersEm
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EE14set_parametersEm
Line
Count
Source
50
200
    void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EE14set_parametersEm
Line
Count
Source
50
200
    void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EE14set_parametersEm
Line
Count
Source
50
200
    void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EE14set_parametersEm
Line
Count
Source
50
200
    void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EE14set_parametersEm
Line
Count
Source
50
200
    void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EE14set_parametersEm
Line
Count
Source
50
200
    void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EE14set_parametersEm
Line
Count
Source
50
200
    void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; }
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EE14set_parametersEm
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EE14set_parametersEm
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EE14set_parametersEm
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EE14set_parametersEm
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EE14set_parametersEm
Line
Count
Source
50
2.00k
    void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EE14set_parametersEm
Line
Count
Source
50
200
    void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EE14set_parametersEm
Line
Count
Source
50
200
    void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; }
51
52
0
    void reset() { ordered_map.clear(); }
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EE5resetEv
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EE5resetEv
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EE5resetEv
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EE5resetEv
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EE5resetEv
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
53
54
2.00k
    void add(const StringRef& value, const UInt64& number = 1) {
55
2.00k
        std::string data = value.to_string();
56
2.00k
        auto it = ordered_map.find(data);
57
2.00k
        if (it != ordered_map.end()) {
58
0
            it->second = it->second + number;
59
2.00k
        } else {
60
2.00k
            ordered_map.insert({data, number});
61
2.00k
        }
62
2.00k
    }
63
64
1.80k
    void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) {
65
1.80k
        auto it = ordered_map.find(value);
66
1.80k
        if (it != ordered_map.end()) {
67
0
            it->second = it->second + number;
68
1.80k
        } else {
69
1.80k
            ordered_map.insert({value, number});
70
1.80k
        }
71
1.80k
    }
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EE3addERKhRKm
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EE3addERKaRKm
Line
Count
Source
64
200
    void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) {
65
200
        auto it = ordered_map.find(value);
66
200
        if (it != ordered_map.end()) {
67
0
            it->second = it->second + number;
68
200
        } else {
69
200
            ordered_map.insert({value, number});
70
200
        }
71
200
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EE3addERKsRKm
Line
Count
Source
64
200
    void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) {
65
200
        auto it = ordered_map.find(value);
66
200
        if (it != ordered_map.end()) {
67
0
            it->second = it->second + number;
68
200
        } else {
69
200
            ordered_map.insert({value, number});
70
200
        }
71
200
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EE3addERKiRKm
Line
Count
Source
64
200
    void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) {
65
200
        auto it = ordered_map.find(value);
66
200
        if (it != ordered_map.end()) {
67
0
            it->second = it->second + number;
68
200
        } else {
69
200
            ordered_map.insert({value, number});
70
200
        }
71
200
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EE3addERKlRKm
Line
Count
Source
64
200
    void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) {
65
200
        auto it = ordered_map.find(value);
66
200
        if (it != ordered_map.end()) {
67
0
            it->second = it->second + number;
68
200
        } else {
69
200
            ordered_map.insert({value, number});
70
200
        }
71
200
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EE3addERKnRKm
Line
Count
Source
64
200
    void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) {
65
200
        auto it = ordered_map.find(value);
66
200
        if (it != ordered_map.end()) {
67
0
            it->second = it->second + number;
68
200
        } else {
69
200
            ordered_map.insert({value, number});
70
200
        }
71
200
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EE3addERKfRKm
Line
Count
Source
64
200
    void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) {
65
200
        auto it = ordered_map.find(value);
66
200
        if (it != ordered_map.end()) {
67
0
            it->second = it->second + number;
68
200
        } else {
69
200
            ordered_map.insert({value, number});
70
200
        }
71
200
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EE3addERKdRKm
Line
Count
Source
64
200
    void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) {
65
200
        auto it = ordered_map.find(value);
66
200
        if (it != ordered_map.end()) {
67
0
            it->second = it->second + number;
68
200
        } else {
69
200
            ordered_map.insert({value, number});
70
200
        }
71
200
    }
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EE3addERKNS_7DecimalIiEERKm
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EE3addERKNS_7DecimalIlEERKm
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EE3addERKNS_12Decimal128V3ERKm
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EE3addERKNS_7DecimalIN4wide7integerILm256EiEEEERKm
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EE3addERKNS_11DateV2ValueINS_15DateV2ValueTypeEEERKm
Line
Count
Source
64
200
    void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) {
65
200
        auto it = ordered_map.find(value);
66
200
        if (it != ordered_map.end()) {
67
0
            it->second = it->second + number;
68
200
        } else {
69
200
            ordered_map.insert({value, number});
70
200
        }
71
200
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EE3addERKNS_11DateV2ValueINS_19DateTimeV2ValueTypeEEERKm
Line
Count
Source
64
200
    void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) {
65
200
        auto it = ordered_map.find(value);
66
200
        if (it != ordered_map.end()) {
67
0
            it->second = it->second + number;
68
200
        } else {
69
200
            ordered_map.insert({value, number});
70
200
        }
71
200
    }
72
73
18
    void merge(const AggregateFunctionHistogramData& rhs) {
74
        // if rhs.max_num_buckets == 0, it means the input block for serialization is all null
75
        // we should discard this data, because histogram only fouce on the not-null data
76
18
        if (!rhs.max_num_buckets) {
77
8
            return;
78
8
        }
79
80
10
        max_num_buckets = rhs.max_num_buckets;
81
82
1.90k
        for (auto rhs_it : rhs.ordered_map) {
83
1.90k
            auto lhs_it = ordered_map.find(rhs_it.first);
84
1.90k
            if (lhs_it != ordered_map.end()) {
85
1.90k
                lhs_it->second += rhs_it.second;
86
1.90k
            } else {
87
0
                ordered_map.insert({rhs_it.first, rhs_it.second});
88
0
            }
89
1.90k
        }
90
10
    }
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EE5mergeERKS2_
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EE5mergeERKS2_
Line
Count
Source
73
2
    void merge(const AggregateFunctionHistogramData& rhs) {
74
        // if rhs.max_num_buckets == 0, it means the input block for serialization is all null
75
        // we should discard this data, because histogram only fouce on the not-null data
76
2
        if (!rhs.max_num_buckets) {
77
1
            return;
78
1
        }
79
80
1
        max_num_buckets = rhs.max_num_buckets;
81
82
100
        for (auto rhs_it : rhs.ordered_map) {
83
100
            auto lhs_it = ordered_map.find(rhs_it.first);
84
100
            if (lhs_it != ordered_map.end()) {
85
100
                lhs_it->second += rhs_it.second;
86
100
            } else {
87
0
                ordered_map.insert({rhs_it.first, rhs_it.second});
88
0
            }
89
100
        }
90
1
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EE5mergeERKS2_
Line
Count
Source
73
2
    void merge(const AggregateFunctionHistogramData& rhs) {
74
        // if rhs.max_num_buckets == 0, it means the input block for serialization is all null
75
        // we should discard this data, because histogram only fouce on the not-null data
76
2
        if (!rhs.max_num_buckets) {
77
1
            return;
78
1
        }
79
80
1
        max_num_buckets = rhs.max_num_buckets;
81
82
100
        for (auto rhs_it : rhs.ordered_map) {
83
100
            auto lhs_it = ordered_map.find(rhs_it.first);
84
100
            if (lhs_it != ordered_map.end()) {
85
100
                lhs_it->second += rhs_it.second;
86
100
            } else {
87
0
                ordered_map.insert({rhs_it.first, rhs_it.second});
88
0
            }
89
100
        }
90
1
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EE5mergeERKS2_
Line
Count
Source
73
2
    void merge(const AggregateFunctionHistogramData& rhs) {
74
        // if rhs.max_num_buckets == 0, it means the input block for serialization is all null
75
        // we should discard this data, because histogram only fouce on the not-null data
76
2
        if (!rhs.max_num_buckets) {
77
1
            return;
78
1
        }
79
80
1
        max_num_buckets = rhs.max_num_buckets;
81
82
100
        for (auto rhs_it : rhs.ordered_map) {
83
100
            auto lhs_it = ordered_map.find(rhs_it.first);
84
100
            if (lhs_it != ordered_map.end()) {
85
100
                lhs_it->second += rhs_it.second;
86
100
            } else {
87
0
                ordered_map.insert({rhs_it.first, rhs_it.second});
88
0
            }
89
100
        }
90
1
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EE5mergeERKS2_
Line
Count
Source
73
2
    void merge(const AggregateFunctionHistogramData& rhs) {
74
        // if rhs.max_num_buckets == 0, it means the input block for serialization is all null
75
        // we should discard this data, because histogram only fouce on the not-null data
76
2
        if (!rhs.max_num_buckets) {
77
1
            return;
78
1
        }
79
80
1
        max_num_buckets = rhs.max_num_buckets;
81
82
100
        for (auto rhs_it : rhs.ordered_map) {
83
100
            auto lhs_it = ordered_map.find(rhs_it.first);
84
100
            if (lhs_it != ordered_map.end()) {
85
100
                lhs_it->second += rhs_it.second;
86
100
            } else {
87
0
                ordered_map.insert({rhs_it.first, rhs_it.second});
88
0
            }
89
100
        }
90
1
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EE5mergeERKS2_
Line
Count
Source
73
2
    void merge(const AggregateFunctionHistogramData& rhs) {
74
        // if rhs.max_num_buckets == 0, it means the input block for serialization is all null
75
        // we should discard this data, because histogram only fouce on the not-null data
76
2
        if (!rhs.max_num_buckets) {
77
1
            return;
78
1
        }
79
80
1
        max_num_buckets = rhs.max_num_buckets;
81
82
100
        for (auto rhs_it : rhs.ordered_map) {
83
100
            auto lhs_it = ordered_map.find(rhs_it.first);
84
100
            if (lhs_it != ordered_map.end()) {
85
100
                lhs_it->second += rhs_it.second;
86
100
            } else {
87
0
                ordered_map.insert({rhs_it.first, rhs_it.second});
88
0
            }
89
100
        }
90
1
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EE5mergeERKS2_
Line
Count
Source
73
2
    void merge(const AggregateFunctionHistogramData& rhs) {
74
        // if rhs.max_num_buckets == 0, it means the input block for serialization is all null
75
        // we should discard this data, because histogram only fouce on the not-null data
76
2
        if (!rhs.max_num_buckets) {
77
1
            return;
78
1
        }
79
80
1
        max_num_buckets = rhs.max_num_buckets;
81
82
100
        for (auto rhs_it : rhs.ordered_map) {
83
100
            auto lhs_it = ordered_map.find(rhs_it.first);
84
100
            if (lhs_it != ordered_map.end()) {
85
100
                lhs_it->second += rhs_it.second;
86
100
            } else {
87
0
                ordered_map.insert({rhs_it.first, rhs_it.second});
88
0
            }
89
100
        }
90
1
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EE5mergeERKS2_
Line
Count
Source
73
2
    void merge(const AggregateFunctionHistogramData& rhs) {
74
        // if rhs.max_num_buckets == 0, it means the input block for serialization is all null
75
        // we should discard this data, because histogram only fouce on the not-null data
76
2
        if (!rhs.max_num_buckets) {
77
1
            return;
78
1
        }
79
80
1
        max_num_buckets = rhs.max_num_buckets;
81
82
100
        for (auto rhs_it : rhs.ordered_map) {
83
100
            auto lhs_it = ordered_map.find(rhs_it.first);
84
100
            if (lhs_it != ordered_map.end()) {
85
100
                lhs_it->second += rhs_it.second;
86
100
            } else {
87
0
                ordered_map.insert({rhs_it.first, rhs_it.second});
88
0
            }
89
100
        }
90
1
    }
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EE5mergeERKS2_
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EE5mergeERKS2_
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EE5mergeERKS2_
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EE5mergeERKS2_
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EE5mergeERKS2_
Line
Count
Source
73
2
    void merge(const AggregateFunctionHistogramData& rhs) {
74
        // if rhs.max_num_buckets == 0, it means the input block for serialization is all null
75
        // we should discard this data, because histogram only fouce on the not-null data
76
2
        if (!rhs.max_num_buckets) {
77
1
            return;
78
1
        }
79
80
1
        max_num_buckets = rhs.max_num_buckets;
81
82
1.00k
        for (auto rhs_it : rhs.ordered_map) {
83
1.00k
            auto lhs_it = ordered_map.find(rhs_it.first);
84
1.00k
            if (lhs_it != ordered_map.end()) {
85
1.00k
                lhs_it->second += rhs_it.second;
86
1.00k
            } else {
87
0
                ordered_map.insert({rhs_it.first, rhs_it.second});
88
0
            }
89
1.00k
        }
90
1
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EE5mergeERKS2_
Line
Count
Source
73
1
    void merge(const AggregateFunctionHistogramData& rhs) {
74
        // if rhs.max_num_buckets == 0, it means the input block for serialization is all null
75
        // we should discard this data, because histogram only fouce on the not-null data
76
1
        if (!rhs.max_num_buckets) {
77
0
            return;
78
0
        }
79
80
1
        max_num_buckets = rhs.max_num_buckets;
81
82
100
        for (auto rhs_it : rhs.ordered_map) {
83
100
            auto lhs_it = ordered_map.find(rhs_it.first);
84
100
            if (lhs_it != ordered_map.end()) {
85
100
                lhs_it->second += rhs_it.second;
86
100
            } else {
87
0
                ordered_map.insert({rhs_it.first, rhs_it.second});
88
0
            }
89
100
        }
90
1
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EE5mergeERKS2_
Line
Count
Source
73
1
    void merge(const AggregateFunctionHistogramData& rhs) {
74
        // if rhs.max_num_buckets == 0, it means the input block for serialization is all null
75
        // we should discard this data, because histogram only fouce on the not-null data
76
1
        if (!rhs.max_num_buckets) {
77
0
            return;
78
0
        }
79
80
1
        max_num_buckets = rhs.max_num_buckets;
81
82
100
        for (auto rhs_it : rhs.ordered_map) {
83
100
            auto lhs_it = ordered_map.find(rhs_it.first);
84
100
            if (lhs_it != ordered_map.end()) {
85
100
                lhs_it->second += rhs_it.second;
86
100
            } else {
87
0
                ordered_map.insert({rhs_it.first, rhs_it.second});
88
0
            }
89
100
        }
90
1
    }
91
92
18
    void write(BufferWritable& buf) const {
93
18
        buf.write_binary(max_num_buckets);
94
18
        auto element_number = (size_t)ordered_map.size();
95
18
        buf.write_binary(element_number);
96
97
18
        auto pair_vector = map_to_vector();
98
99
1.91k
        for (auto i = 0; i < element_number; i++) {
100
1.90k
            auto element = pair_vector[i];
101
1.90k
            buf.write_binary(element.second);
102
1.90k
            buf.write_binary(element.first);
103
1.90k
        }
104
18
    }
Unexecuted instantiation: _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EE5writeERNS_14BufferWritableE
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EE5writeERNS_14BufferWritableE
Line
Count
Source
92
2
    void write(BufferWritable& buf) const {
93
2
        buf.write_binary(max_num_buckets);
94
2
        auto element_number = (size_t)ordered_map.size();
95
2
        buf.write_binary(element_number);
96
97
2
        auto pair_vector = map_to_vector();
98
99
102
        for (auto i = 0; i < element_number; i++) {
100
100
            auto element = pair_vector[i];
101
100
            buf.write_binary(element.second);
102
100
            buf.write_binary(element.first);
103
100
        }
104
2
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EE5writeERNS_14BufferWritableE
Line
Count
Source
92
2
    void write(BufferWritable& buf) const {
93
2
        buf.write_binary(max_num_buckets);
94
2
        auto element_number = (size_t)ordered_map.size();
95
2
        buf.write_binary(element_number);
96
97
2
        auto pair_vector = map_to_vector();
98
99
102
        for (auto i = 0; i < element_number; i++) {
100
100
            auto element = pair_vector[i];
101
100
            buf.write_binary(element.second);
102
100
            buf.write_binary(element.first);
103
100
        }
104
2
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EE5writeERNS_14BufferWritableE
Line
Count
Source
92
2
    void write(BufferWritable& buf) const {
93
2
        buf.write_binary(max_num_buckets);
94
2
        auto element_number = (size_t)ordered_map.size();
95
2
        buf.write_binary(element_number);
96
97
2
        auto pair_vector = map_to_vector();
98
99
102
        for (auto i = 0; i < element_number; i++) {
100
100
            auto element = pair_vector[i];
101
100
            buf.write_binary(element.second);
102
100
            buf.write_binary(element.first);
103
100
        }
104
2
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EE5writeERNS_14BufferWritableE
Line
Count
Source
92
2
    void write(BufferWritable& buf) const {
93
2
        buf.write_binary(max_num_buckets);
94
2
        auto element_number = (size_t)ordered_map.size();
95
2
        buf.write_binary(element_number);
96
97
2
        auto pair_vector = map_to_vector();
98
99
102
        for (auto i = 0; i < element_number; i++) {
100
100
            auto element = pair_vector[i];
101
100
            buf.write_binary(element.second);
102
100
            buf.write_binary(element.first);
103
100
        }
104
2
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EE5writeERNS_14BufferWritableE
Line
Count
Source
92
2
    void write(BufferWritable& buf) const {
93
2
        buf.write_binary(max_num_buckets);
94
2
        auto element_number = (size_t)ordered_map.size();
95
2
        buf.write_binary(element_number);
96
97
2
        auto pair_vector = map_to_vector();
98
99
102
        for (auto i = 0; i < element_number; i++) {
100
100
            auto element = pair_vector[i];
101
100
            buf.write_binary(element.second);
102
100
            buf.write_binary(element.first);
103
100
        }
104
2
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EE5writeERNS_14BufferWritableE
Line
Count
Source
92
2
    void write(BufferWritable& buf) const {
93
2
        buf.write_binary(max_num_buckets);
94
2
        auto element_number = (size_t)ordered_map.size();
95
2
        buf.write_binary(element_number);
96
97
2
        auto pair_vector = map_to_vector();
98
99
102
        for (auto i = 0; i < element_number; i++) {
100
100
            auto element = pair_vector[i];
101
100
            buf.write_binary(element.second);
102
100
            buf.write_binary(element.first);
103
100
        }
104
2
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EE5writeERNS_14BufferWritableE
Line
Count
Source
92
2
    void write(BufferWritable& buf) const {
93
2
        buf.write_binary(max_num_buckets);
94
2
        auto element_number = (size_t)ordered_map.size();
95
2
        buf.write_binary(element_number);
96
97
2
        auto pair_vector = map_to_vector();
98
99
102
        for (auto i = 0; i < element_number; i++) {
100
100
            auto element = pair_vector[i];
101
100
            buf.write_binary(element.second);
102
100
            buf.write_binary(element.first);
103
100
        }
104
2
    }
Unexecuted instantiation: _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EE5writeERNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EE5writeERNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EE5writeERNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EE5writeERNS_14BufferWritableE
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EE5writeERNS_14BufferWritableE
Line
Count
Source
92
2
    void write(BufferWritable& buf) const {
93
2
        buf.write_binary(max_num_buckets);
94
2
        auto element_number = (size_t)ordered_map.size();
95
2
        buf.write_binary(element_number);
96
97
2
        auto pair_vector = map_to_vector();
98
99
1.00k
        for (auto i = 0; i < element_number; i++) {
100
1.00k
            auto element = pair_vector[i];
101
1.00k
            buf.write_binary(element.second);
102
1.00k
            buf.write_binary(element.first);
103
1.00k
        }
104
2
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EE5writeERNS_14BufferWritableE
Line
Count
Source
92
1
    void write(BufferWritable& buf) const {
93
1
        buf.write_binary(max_num_buckets);
94
1
        auto element_number = (size_t)ordered_map.size();
95
1
        buf.write_binary(element_number);
96
97
1
        auto pair_vector = map_to_vector();
98
99
101
        for (auto i = 0; i < element_number; i++) {
100
100
            auto element = pair_vector[i];
101
100
            buf.write_binary(element.second);
102
100
            buf.write_binary(element.first);
103
100
        }
104
1
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EE5writeERNS_14BufferWritableE
Line
Count
Source
92
1
    void write(BufferWritable& buf) const {
93
1
        buf.write_binary(max_num_buckets);
94
1
        auto element_number = (size_t)ordered_map.size();
95
1
        buf.write_binary(element_number);
96
97
1
        auto pair_vector = map_to_vector();
98
99
101
        for (auto i = 0; i < element_number; i++) {
100
100
            auto element = pair_vector[i];
101
100
            buf.write_binary(element.second);
102
100
            buf.write_binary(element.first);
103
100
        }
104
1
    }
105
106
18
    void read(BufferReadable& buf) {
107
18
        buf.read_binary(max_num_buckets);
108
109
18
        size_t element_number = 0;
110
18
        buf.read_binary(element_number);
111
112
18
        ordered_map.clear();
113
18
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
114
1.91k
        for (auto i = 0; i < element_number; i++) {
115
1.90k
            buf.read_binary(element.first);
116
1.90k
            buf.read_binary(element.second);
117
1.90k
            ordered_map.insert(element);
118
1.90k
        }
119
18
    }
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EE4readERNS_14BufferReadableE
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EE4readERNS_14BufferReadableE
Line
Count
Source
106
2
    void read(BufferReadable& buf) {
107
2
        buf.read_binary(max_num_buckets);
108
109
2
        size_t element_number = 0;
110
2
        buf.read_binary(element_number);
111
112
2
        ordered_map.clear();
113
2
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
114
102
        for (auto i = 0; i < element_number; i++) {
115
100
            buf.read_binary(element.first);
116
100
            buf.read_binary(element.second);
117
100
            ordered_map.insert(element);
118
100
        }
119
2
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EE4readERNS_14BufferReadableE
Line
Count
Source
106
2
    void read(BufferReadable& buf) {
107
2
        buf.read_binary(max_num_buckets);
108
109
2
        size_t element_number = 0;
110
2
        buf.read_binary(element_number);
111
112
2
        ordered_map.clear();
113
2
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
114
102
        for (auto i = 0; i < element_number; i++) {
115
100
            buf.read_binary(element.first);
116
100
            buf.read_binary(element.second);
117
100
            ordered_map.insert(element);
118
100
        }
119
2
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EE4readERNS_14BufferReadableE
Line
Count
Source
106
2
    void read(BufferReadable& buf) {
107
2
        buf.read_binary(max_num_buckets);
108
109
2
        size_t element_number = 0;
110
2
        buf.read_binary(element_number);
111
112
2
        ordered_map.clear();
113
2
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
114
102
        for (auto i = 0; i < element_number; i++) {
115
100
            buf.read_binary(element.first);
116
100
            buf.read_binary(element.second);
117
100
            ordered_map.insert(element);
118
100
        }
119
2
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EE4readERNS_14BufferReadableE
Line
Count
Source
106
2
    void read(BufferReadable& buf) {
107
2
        buf.read_binary(max_num_buckets);
108
109
2
        size_t element_number = 0;
110
2
        buf.read_binary(element_number);
111
112
2
        ordered_map.clear();
113
2
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
114
102
        for (auto i = 0; i < element_number; i++) {
115
100
            buf.read_binary(element.first);
116
100
            buf.read_binary(element.second);
117
100
            ordered_map.insert(element);
118
100
        }
119
2
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EE4readERNS_14BufferReadableE
Line
Count
Source
106
2
    void read(BufferReadable& buf) {
107
2
        buf.read_binary(max_num_buckets);
108
109
2
        size_t element_number = 0;
110
2
        buf.read_binary(element_number);
111
112
2
        ordered_map.clear();
113
2
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
114
102
        for (auto i = 0; i < element_number; i++) {
115
100
            buf.read_binary(element.first);
116
100
            buf.read_binary(element.second);
117
100
            ordered_map.insert(element);
118
100
        }
119
2
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EE4readERNS_14BufferReadableE
Line
Count
Source
106
2
    void read(BufferReadable& buf) {
107
2
        buf.read_binary(max_num_buckets);
108
109
2
        size_t element_number = 0;
110
2
        buf.read_binary(element_number);
111
112
2
        ordered_map.clear();
113
2
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
114
102
        for (auto i = 0; i < element_number; i++) {
115
100
            buf.read_binary(element.first);
116
100
            buf.read_binary(element.second);
117
100
            ordered_map.insert(element);
118
100
        }
119
2
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EE4readERNS_14BufferReadableE
Line
Count
Source
106
2
    void read(BufferReadable& buf) {
107
2
        buf.read_binary(max_num_buckets);
108
109
2
        size_t element_number = 0;
110
2
        buf.read_binary(element_number);
111
112
2
        ordered_map.clear();
113
2
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
114
102
        for (auto i = 0; i < element_number; i++) {
115
100
            buf.read_binary(element.first);
116
100
            buf.read_binary(element.second);
117
100
            ordered_map.insert(element);
118
100
        }
119
2
    }
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EE4readERNS_14BufferReadableE
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EE4readERNS_14BufferReadableE
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EE4readERNS_14BufferReadableE
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EE4readERNS_14BufferReadableE
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EE4readERNS_14BufferReadableE
Line
Count
Source
106
2
    void read(BufferReadable& buf) {
107
2
        buf.read_binary(max_num_buckets);
108
109
2
        size_t element_number = 0;
110
2
        buf.read_binary(element_number);
111
112
2
        ordered_map.clear();
113
2
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
114
1.00k
        for (auto i = 0; i < element_number; i++) {
115
1.00k
            buf.read_binary(element.first);
116
1.00k
            buf.read_binary(element.second);
117
1.00k
            ordered_map.insert(element);
118
1.00k
        }
119
2
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EE4readERNS_14BufferReadableE
Line
Count
Source
106
1
    void read(BufferReadable& buf) {
107
1
        buf.read_binary(max_num_buckets);
108
109
1
        size_t element_number = 0;
110
1
        buf.read_binary(element_number);
111
112
1
        ordered_map.clear();
113
1
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
114
101
        for (auto i = 0; i < element_number; i++) {
115
100
            buf.read_binary(element.first);
116
100
            buf.read_binary(element.second);
117
100
            ordered_map.insert(element);
118
100
        }
119
1
    }
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EE4readERNS_14BufferReadableE
Line
Count
Source
106
1
    void read(BufferReadable& buf) {
107
1
        buf.read_binary(max_num_buckets);
108
109
1
        size_t element_number = 0;
110
1
        buf.read_binary(element_number);
111
112
1
        ordered_map.clear();
113
1
        std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element;
114
101
        for (auto i = 0; i < element_number; i++) {
115
100
            buf.read_binary(element.first);
116
100
            buf.read_binary(element.second);
117
100
            ordered_map.insert(element);
118
100
        }
119
1
    }
120
121
    void insert_result_into(IColumn& to) const {
122
        auto pair_vector = map_to_vector();
123
        for (auto i = 0; i < pair_vector.size(); i++) {
124
            const auto& element = pair_vector[i];
125
            if constexpr (is_string_type(T)) {
126
                assert_cast<ColumnString&>(to).insert_data(element.second.c_str(),
127
                                                           element.second.length());
128
            } else {
129
                assert_cast<ColVecType&>(to).get_data().push_back(element.second);
130
            }
131
        }
132
    }
133
134
36
    std::string get(const DataTypePtr& data_type) const {
135
36
        std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets;
136
36
        rapidjson::StringBuffer buffer;
137
        // NOTE: We need an extral branch for to handle max_num_buckets == 0,
138
        // when target column is nullable, and input block is all null,
139
        // set_parameters will not be called because of the short-circuit in
140
        // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation.
141
36
        build_histogram(
142
36
                buckets, ordered_map,
143
36
                max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets);
144
36
        histogram_to_json(buffer, buckets, data_type);
145
36
        return {buffer.GetString()};
146
36
    }
Unexecuted instantiation: _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE
Line
Count
Source
134
4
    std::string get(const DataTypePtr& data_type) const {
135
4
        std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets;
136
4
        rapidjson::StringBuffer buffer;
137
        // NOTE: We need an extral branch for to handle max_num_buckets == 0,
138
        // when target column is nullable, and input block is all null,
139
        // set_parameters will not be called because of the short-circuit in
140
        // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation.
141
4
        build_histogram(
142
4
                buckets, ordered_map,
143
4
                max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets);
144
4
        histogram_to_json(buffer, buckets, data_type);
145
4
        return {buffer.GetString()};
146
4
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE
Line
Count
Source
134
4
    std::string get(const DataTypePtr& data_type) const {
135
4
        std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets;
136
4
        rapidjson::StringBuffer buffer;
137
        // NOTE: We need an extral branch for to handle max_num_buckets == 0,
138
        // when target column is nullable, and input block is all null,
139
        // set_parameters will not be called because of the short-circuit in
140
        // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation.
141
4
        build_histogram(
142
4
                buckets, ordered_map,
143
4
                max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets);
144
4
        histogram_to_json(buffer, buckets, data_type);
145
4
        return {buffer.GetString()};
146
4
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE
Line
Count
Source
134
4
    std::string get(const DataTypePtr& data_type) const {
135
4
        std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets;
136
4
        rapidjson::StringBuffer buffer;
137
        // NOTE: We need an extral branch for to handle max_num_buckets == 0,
138
        // when target column is nullable, and input block is all null,
139
        // set_parameters will not be called because of the short-circuit in
140
        // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation.
141
4
        build_histogram(
142
4
                buckets, ordered_map,
143
4
                max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets);
144
4
        histogram_to_json(buffer, buckets, data_type);
145
4
        return {buffer.GetString()};
146
4
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE
Line
Count
Source
134
4
    std::string get(const DataTypePtr& data_type) const {
135
4
        std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets;
136
4
        rapidjson::StringBuffer buffer;
137
        // NOTE: We need an extral branch for to handle max_num_buckets == 0,
138
        // when target column is nullable, and input block is all null,
139
        // set_parameters will not be called because of the short-circuit in
140
        // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation.
141
4
        build_histogram(
142
4
                buckets, ordered_map,
143
4
                max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets);
144
4
        histogram_to_json(buffer, buckets, data_type);
145
4
        return {buffer.GetString()};
146
4
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE
Line
Count
Source
134
4
    std::string get(const DataTypePtr& data_type) const {
135
4
        std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets;
136
4
        rapidjson::StringBuffer buffer;
137
        // NOTE: We need an extral branch for to handle max_num_buckets == 0,
138
        // when target column is nullable, and input block is all null,
139
        // set_parameters will not be called because of the short-circuit in
140
        // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation.
141
4
        build_histogram(
142
4
                buckets, ordered_map,
143
4
                max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets);
144
4
        histogram_to_json(buffer, buckets, data_type);
145
4
        return {buffer.GetString()};
146
4
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE
Line
Count
Source
134
4
    std::string get(const DataTypePtr& data_type) const {
135
4
        std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets;
136
4
        rapidjson::StringBuffer buffer;
137
        // NOTE: We need an extral branch for to handle max_num_buckets == 0,
138
        // when target column is nullable, and input block is all null,
139
        // set_parameters will not be called because of the short-circuit in
140
        // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation.
141
4
        build_histogram(
142
4
                buckets, ordered_map,
143
4
                max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets);
144
4
        histogram_to_json(buffer, buckets, data_type);
145
4
        return {buffer.GetString()};
146
4
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE
Line
Count
Source
134
4
    std::string get(const DataTypePtr& data_type) const {
135
4
        std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets;
136
4
        rapidjson::StringBuffer buffer;
137
        // NOTE: We need an extral branch for to handle max_num_buckets == 0,
138
        // when target column is nullable, and input block is all null,
139
        // set_parameters will not be called because of the short-circuit in
140
        // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation.
141
4
        build_histogram(
142
4
                buckets, ordered_map,
143
4
                max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets);
144
4
        histogram_to_json(buffer, buckets, data_type);
145
4
        return {buffer.GetString()};
146
4
    }
Unexecuted instantiation: _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE
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
134
4
    std::string get(const DataTypePtr& data_type) const {
135
4
        std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets;
136
4
        rapidjson::StringBuffer buffer;
137
        // NOTE: We need an extral branch for to handle max_num_buckets == 0,
138
        // when target column is nullable, and input block is all null,
139
        // set_parameters will not be called because of the short-circuit in
140
        // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation.
141
4
        build_histogram(
142
4
                buckets, ordered_map,
143
4
                max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets);
144
4
        histogram_to_json(buffer, buckets, data_type);
145
4
        return {buffer.GetString()};
146
4
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE
Line
Count
Source
134
2
    std::string get(const DataTypePtr& data_type) const {
135
2
        std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets;
136
2
        rapidjson::StringBuffer buffer;
137
        // NOTE: We need an extral branch for to handle max_num_buckets == 0,
138
        // when target column is nullable, and input block is all null,
139
        // set_parameters will not be called because of the short-circuit in
140
        // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation.
141
2
        build_histogram(
142
2
                buckets, ordered_map,
143
2
                max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets);
144
2
        histogram_to_json(buffer, buckets, data_type);
145
2
        return {buffer.GetString()};
146
2
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE
Line
Count
Source
134
2
    std::string get(const DataTypePtr& data_type) const {
135
2
        std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets;
136
2
        rapidjson::StringBuffer buffer;
137
        // NOTE: We need an extral branch for to handle max_num_buckets == 0,
138
        // when target column is nullable, and input block is all null,
139
        // set_parameters will not be called because of the short-circuit in
140
        // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation.
141
2
        build_histogram(
142
2
                buckets, ordered_map,
143
2
                max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets);
144
2
        histogram_to_json(buffer, buckets, data_type);
145
2
        return {buffer.GetString()};
146
2
    }
147
148
18
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
149
18
        std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector;
150
1.90k
        for (auto it : ordered_map) {
151
1.90k
            pair_vector.emplace_back(it.second, it.first);
152
1.90k
        }
153
18
        return pair_vector;
154
18
    }
Unexecuted instantiation: _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EE13map_to_vectorEv
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EE13map_to_vectorEv
Line
Count
Source
148
2
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
149
2
        std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector;
150
100
        for (auto it : ordered_map) {
151
100
            pair_vector.emplace_back(it.second, it.first);
152
100
        }
153
2
        return pair_vector;
154
2
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EE13map_to_vectorEv
Line
Count
Source
148
2
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
149
2
        std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector;
150
100
        for (auto it : ordered_map) {
151
100
            pair_vector.emplace_back(it.second, it.first);
152
100
        }
153
2
        return pair_vector;
154
2
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EE13map_to_vectorEv
Line
Count
Source
148
2
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
149
2
        std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector;
150
100
        for (auto it : ordered_map) {
151
100
            pair_vector.emplace_back(it.second, it.first);
152
100
        }
153
2
        return pair_vector;
154
2
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EE13map_to_vectorEv
Line
Count
Source
148
2
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
149
2
        std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector;
150
100
        for (auto it : ordered_map) {
151
100
            pair_vector.emplace_back(it.second, it.first);
152
100
        }
153
2
        return pair_vector;
154
2
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EE13map_to_vectorEv
Line
Count
Source
148
2
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
149
2
        std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector;
150
100
        for (auto it : ordered_map) {
151
100
            pair_vector.emplace_back(it.second, it.first);
152
100
        }
153
2
        return pair_vector;
154
2
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EE13map_to_vectorEv
Line
Count
Source
148
2
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
149
2
        std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector;
150
100
        for (auto it : ordered_map) {
151
100
            pair_vector.emplace_back(it.second, it.first);
152
100
        }
153
2
        return pair_vector;
154
2
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EE13map_to_vectorEv
Line
Count
Source
148
2
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
149
2
        std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector;
150
100
        for (auto it : ordered_map) {
151
100
            pair_vector.emplace_back(it.second, it.first);
152
100
        }
153
2
        return pair_vector;
154
2
    }
Unexecuted instantiation: _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EE13map_to_vectorEv
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
148
2
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
149
2
        std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector;
150
1.00k
        for (auto it : ordered_map) {
151
1.00k
            pair_vector.emplace_back(it.second, it.first);
152
1.00k
        }
153
2
        return pair_vector;
154
2
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EE13map_to_vectorEv
Line
Count
Source
148
1
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
149
1
        std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector;
150
100
        for (auto it : ordered_map) {
151
100
            pair_vector.emplace_back(it.second, it.first);
152
100
        }
153
1
        return pair_vector;
154
1
    }
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EE13map_to_vectorEv
Line
Count
Source
148
1
    std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const {
149
1
        std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector;
150
100
        for (auto it : ordered_map) {
151
100
            pair_vector.emplace_back(it.second, it.first);
152
100
        }
153
1
        return pair_vector;
154
1
    }
155
156
private:
157
    size_t max_num_buckets = BUCKET_NUM_INIT_VALUE;
158
    std::map<typename PrimitiveTypeTraits<T>::CppType, size_t> ordered_map;
159
};
160
161
template <typename Data, bool has_input_param>
162
class AggregateFunctionHistogram final
163
        : public IAggregateFunctionDataHelper<Data,
164
                                              AggregateFunctionHistogram<Data, has_input_param>>,
165
          VarargsExpression,
166
          NotNullableAggregateFunction {
167
public:
168
    AggregateFunctionHistogram() = default;
169
    AggregateFunctionHistogram(const DataTypes& argument_types_)
170
18
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
171
18
                      argument_types_),
172
18
              _argument_type(argument_types_[0]) {}
Unexecuted instantiation: _ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
170
1
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
171
1
                      argument_types_),
172
1
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
170
1
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
171
1
                      argument_types_),
172
1
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
170
1
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
171
1
                      argument_types_),
172
1
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
170
1
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
171
1
                      argument_types_),
172
1
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
170
1
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
171
1
                      argument_types_),
172
1
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
170
1
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
171
1
                      argument_types_),
172
1
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
170
1
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
171
1
                      argument_types_),
172
1
              _argument_type(argument_types_[0]) {}
Unexecuted instantiation: _ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
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
170
1
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
171
1
                      argument_types_),
172
1
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
170
1
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
171
1
                      argument_types_),
172
1
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
170
1
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
171
1
                      argument_types_),
172
1
              _argument_type(argument_types_[0]) {}
Unexecuted instantiation: _ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
170
1
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
171
1
                      argument_types_),
172
1
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
170
1
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
171
1
                      argument_types_),
172
1
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
170
1
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
171
1
                      argument_types_),
172
1
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
170
1
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
171
1
                      argument_types_),
172
1
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
170
1
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
171
1
                      argument_types_),
172
1
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
170
1
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
171
1
                      argument_types_),
172
1
              _argument_type(argument_types_[0]) {}
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
170
1
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
171
1
                      argument_types_),
172
1
              _argument_type(argument_types_[0]) {}
Unexecuted instantiation: _ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
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
170
1
            : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>(
171
1
                      argument_types_),
172
1
              _argument_type(argument_types_[0]) {}
Unexecuted instantiation: _ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Unexecuted instantiation: _ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
173
174
0
    std::string get_name() const override { return "histogram"; }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb1EE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb1EE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb1EE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb1EE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb1EE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb1EE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb1EE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb0EE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb0EE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb0EE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb0EE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb0EE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb0EE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb0EE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb0EE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb0EE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb0EE8get_nameB5cxx11Ev
175
176
0
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EE15get_return_typeEv
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EE15get_return_typeEv
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EE15get_return_typeEv
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EE15get_return_typeEv
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EE15get_return_typeEv
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EE15get_return_typeEv
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb1EE15get_return_typeEv
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb1EE15get_return_typeEv
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb1EE15get_return_typeEv
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb1EE15get_return_typeEv
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb1EE15get_return_typeEv
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb1EE15get_return_typeEv
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb1EE15get_return_typeEv
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EE15get_return_typeEv
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EE15get_return_typeEv
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EE15get_return_typeEv
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EE15get_return_typeEv
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EE15get_return_typeEv
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EE15get_return_typeEv
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EE15get_return_typeEv
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb0EE15get_return_typeEv
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb0EE15get_return_typeEv
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb0EE15get_return_typeEv
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb0EE15get_return_typeEv
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb0EE15get_return_typeEv
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb0EE15get_return_typeEv
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb0EE15get_return_typeEv
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb0EE15get_return_typeEv
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb0EE15get_return_typeEv
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb0EE15get_return_typeEv
177
178
    void add(AggregateDataPtr __restrict place, const IColumn** columns, ssize_t row_num,
179
3.80k
             Arena&) const override {
180
3.80k
        if constexpr (has_input_param) {
181
3.80k
            Int32 input_max_num_buckets =
182
3.80k
                    assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num);
183
3.80k
            if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) {
184
0
                throw doris::Exception(
185
0
                        ErrorCode::INVALID_ARGUMENT,
186
0
                        "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]",
187
0
                        input_max_num_buckets, row_num);
188
0
            }
189
3.80k
            this->data(place).set_parameters(input_max_num_buckets);
190
3.80k
        } else {
191
0
            this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM);
192
0
        }
193
194
2.00k
        if constexpr (is_string_type(Data::Ptype)) {
195
2.00k
            this->data(place).add(
196
2.00k
                    assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0])
197
2.00k
                            .get_data_at(row_num));
198
2.00k
        } else {
199
1.80k
            this->data(place).add(
200
1.80k
                    assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>(
201
1.80k
                            *columns[0])
202
1.80k
                            .get_data()[row_num]);
203
1.80k
        }
204
3.80k
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
179
200
             Arena&) const override {
180
200
        if constexpr (has_input_param) {
181
200
            Int32 input_max_num_buckets =
182
200
                    assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num);
183
200
            if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) {
184
0
                throw doris::Exception(
185
0
                        ErrorCode::INVALID_ARGUMENT,
186
0
                        "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]",
187
0
                        input_max_num_buckets, row_num);
188
0
            }
189
200
            this->data(place).set_parameters(input_max_num_buckets);
190
        } else {
191
            this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM);
192
        }
193
194
        if constexpr (is_string_type(Data::Ptype)) {
195
            this->data(place).add(
196
                    assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0])
197
                            .get_data_at(row_num));
198
200
        } else {
199
200
            this->data(place).add(
200
200
                    assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>(
201
200
                            *columns[0])
202
200
                            .get_data()[row_num]);
203
200
        }
204
200
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
179
200
             Arena&) const override {
180
200
        if constexpr (has_input_param) {
181
200
            Int32 input_max_num_buckets =
182
200
                    assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num);
183
200
            if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) {
184
0
                throw doris::Exception(
185
0
                        ErrorCode::INVALID_ARGUMENT,
186
0
                        "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]",
187
0
                        input_max_num_buckets, row_num);
188
0
            }
189
200
            this->data(place).set_parameters(input_max_num_buckets);
190
        } else {
191
            this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM);
192
        }
193
194
        if constexpr (is_string_type(Data::Ptype)) {
195
            this->data(place).add(
196
                    assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0])
197
                            .get_data_at(row_num));
198
200
        } else {
199
200
            this->data(place).add(
200
200
                    assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>(
201
200
                            *columns[0])
202
200
                            .get_data()[row_num]);
203
200
        }
204
200
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
179
200
             Arena&) const override {
180
200
        if constexpr (has_input_param) {
181
200
            Int32 input_max_num_buckets =
182
200
                    assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num);
183
200
            if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) {
184
0
                throw doris::Exception(
185
0
                        ErrorCode::INVALID_ARGUMENT,
186
0
                        "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]",
187
0
                        input_max_num_buckets, row_num);
188
0
            }
189
200
            this->data(place).set_parameters(input_max_num_buckets);
190
        } else {
191
            this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM);
192
        }
193
194
        if constexpr (is_string_type(Data::Ptype)) {
195
            this->data(place).add(
196
                    assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0])
197
                            .get_data_at(row_num));
198
200
        } else {
199
200
            this->data(place).add(
200
200
                    assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>(
201
200
                            *columns[0])
202
200
                            .get_data()[row_num]);
203
200
        }
204
200
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
179
200
             Arena&) const override {
180
200
        if constexpr (has_input_param) {
181
200
            Int32 input_max_num_buckets =
182
200
                    assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num);
183
200
            if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) {
184
0
                throw doris::Exception(
185
0
                        ErrorCode::INVALID_ARGUMENT,
186
0
                        "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]",
187
0
                        input_max_num_buckets, row_num);
188
0
            }
189
200
            this->data(place).set_parameters(input_max_num_buckets);
190
        } else {
191
            this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM);
192
        }
193
194
        if constexpr (is_string_type(Data::Ptype)) {
195
            this->data(place).add(
196
                    assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0])
197
                            .get_data_at(row_num));
198
200
        } else {
199
200
            this->data(place).add(
200
200
                    assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>(
201
200
                            *columns[0])
202
200
                            .get_data()[row_num]);
203
200
        }
204
200
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
179
200
             Arena&) const override {
180
200
        if constexpr (has_input_param) {
181
200
            Int32 input_max_num_buckets =
182
200
                    assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num);
183
200
            if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) {
184
0
                throw doris::Exception(
185
0
                        ErrorCode::INVALID_ARGUMENT,
186
0
                        "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]",
187
0
                        input_max_num_buckets, row_num);
188
0
            }
189
200
            this->data(place).set_parameters(input_max_num_buckets);
190
        } else {
191
            this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM);
192
        }
193
194
        if constexpr (is_string_type(Data::Ptype)) {
195
            this->data(place).add(
196
                    assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0])
197
                            .get_data_at(row_num));
198
200
        } else {
199
200
            this->data(place).add(
200
200
                    assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>(
201
200
                            *columns[0])
202
200
                            .get_data()[row_num]);
203
200
        }
204
200
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
179
200
             Arena&) const override {
180
200
        if constexpr (has_input_param) {
181
200
            Int32 input_max_num_buckets =
182
200
                    assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num);
183
200
            if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) {
184
0
                throw doris::Exception(
185
0
                        ErrorCode::INVALID_ARGUMENT,
186
0
                        "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]",
187
0
                        input_max_num_buckets, row_num);
188
0
            }
189
200
            this->data(place).set_parameters(input_max_num_buckets);
190
        } else {
191
            this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM);
192
        }
193
194
        if constexpr (is_string_type(Data::Ptype)) {
195
            this->data(place).add(
196
                    assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0])
197
                            .get_data_at(row_num));
198
200
        } else {
199
200
            this->data(place).add(
200
200
                    assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>(
201
200
                            *columns[0])
202
200
                            .get_data()[row_num]);
203
200
        }
204
200
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
179
200
             Arena&) const override {
180
200
        if constexpr (has_input_param) {
181
200
            Int32 input_max_num_buckets =
182
200
                    assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num);
183
200
            if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) {
184
0
                throw doris::Exception(
185
0
                        ErrorCode::INVALID_ARGUMENT,
186
0
                        "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]",
187
0
                        input_max_num_buckets, row_num);
188
0
            }
189
200
            this->data(place).set_parameters(input_max_num_buckets);
190
        } else {
191
            this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM);
192
        }
193
194
        if constexpr (is_string_type(Data::Ptype)) {
195
            this->data(place).add(
196
                    assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0])
197
                            .get_data_at(row_num));
198
200
        } else {
199
200
            this->data(place).add(
200
200
                    assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>(
201
200
                            *columns[0])
202
200
                            .get_data()[row_num]);
203
200
        }
204
200
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
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
179
2.00k
             Arena&) const override {
180
2.00k
        if constexpr (has_input_param) {
181
2.00k
            Int32 input_max_num_buckets =
182
2.00k
                    assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num);
183
2.00k
            if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) {
184
0
                throw doris::Exception(
185
0
                        ErrorCode::INVALID_ARGUMENT,
186
0
                        "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]",
187
0
                        input_max_num_buckets, row_num);
188
0
            }
189
2.00k
            this->data(place).set_parameters(input_max_num_buckets);
190
        } else {
191
            this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM);
192
        }
193
194
2.00k
        if constexpr (is_string_type(Data::Ptype)) {
195
2.00k
            this->data(place).add(
196
2.00k
                    assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0])
197
2.00k
                            .get_data_at(row_num));
198
        } else {
199
            this->data(place).add(
200
                    assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>(
201
                            *columns[0])
202
                            .get_data()[row_num]);
203
        }
204
2.00k
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
179
200
             Arena&) const override {
180
200
        if constexpr (has_input_param) {
181
200
            Int32 input_max_num_buckets =
182
200
                    assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num);
183
200
            if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) {
184
0
                throw doris::Exception(
185
0
                        ErrorCode::INVALID_ARGUMENT,
186
0
                        "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]",
187
0
                        input_max_num_buckets, row_num);
188
0
            }
189
200
            this->data(place).set_parameters(input_max_num_buckets);
190
        } else {
191
            this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM);
192
        }
193
194
        if constexpr (is_string_type(Data::Ptype)) {
195
            this->data(place).add(
196
                    assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0])
197
                            .get_data_at(row_num));
198
200
        } else {
199
200
            this->data(place).add(
200
200
                    assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>(
201
200
                            *columns[0])
202
200
                            .get_data()[row_num]);
203
200
        }
204
200
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
179
200
             Arena&) const override {
180
200
        if constexpr (has_input_param) {
181
200
            Int32 input_max_num_buckets =
182
200
                    assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num);
183
200
            if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) {
184
0
                throw doris::Exception(
185
0
                        ErrorCode::INVALID_ARGUMENT,
186
0
                        "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]",
187
0
                        input_max_num_buckets, row_num);
188
0
            }
189
200
            this->data(place).set_parameters(input_max_num_buckets);
190
        } else {
191
            this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM);
192
        }
193
194
        if constexpr (is_string_type(Data::Ptype)) {
195
            this->data(place).add(
196
                    assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0])
197
                            .get_data_at(row_num));
198
200
        } else {
199
200
            this->data(place).add(
200
200
                    assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>(
201
200
                            *columns[0])
202
200
                            .get_data()[row_num]);
203
200
        }
204
200
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE
205
206
0
    void reset(AggregateDataPtr place) const override { this->data(place).reset(); }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EE5resetEPc
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EE5resetEPc
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EE5resetEPc
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EE5resetEPc
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EE5resetEPc
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EE5resetEPc
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb1EE5resetEPc
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb1EE5resetEPc
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb1EE5resetEPc
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb1EE5resetEPc
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb1EE5resetEPc
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb1EE5resetEPc
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb1EE5resetEPc
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EE5resetEPc
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EE5resetEPc
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EE5resetEPc
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EE5resetEPc
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EE5resetEPc
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EE5resetEPc
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EE5resetEPc
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
207
208
    void merge(AggregateDataPtr __restrict place, ConstAggregateDataPtr rhs,
209
18
               Arena&) const override {
210
18
        this->data(place).merge(this->data(rhs));
211
18
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EE5mergeEPcPKcRNS_5ArenaE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
209
1
               Arena&) const override {
210
1
        this->data(place).merge(this->data(rhs));
211
1
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
209
1
               Arena&) const override {
210
1
        this->data(place).merge(this->data(rhs));
211
1
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
209
1
               Arena&) const override {
210
1
        this->data(place).merge(this->data(rhs));
211
1
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
209
1
               Arena&) const override {
210
1
        this->data(place).merge(this->data(rhs));
211
1
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
209
1
               Arena&) const override {
210
1
        this->data(place).merge(this->data(rhs));
211
1
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb1EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
209
1
               Arena&) const override {
210
1
        this->data(place).merge(this->data(rhs));
211
1
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb1EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
209
1
               Arena&) const override {
210
1
        this->data(place).merge(this->data(rhs));
211
1
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb1EE5mergeEPcPKcRNS_5ArenaE
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
209
1
               Arena&) const override {
210
1
        this->data(place).merge(this->data(rhs));
211
1
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
209
1
               Arena&) const override {
210
1
        this->data(place).merge(this->data(rhs));
211
1
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
209
1
               Arena&) const override {
210
1
        this->data(place).merge(this->data(rhs));
211
1
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EE5mergeEPcPKcRNS_5ArenaE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
209
1
               Arena&) const override {
210
1
        this->data(place).merge(this->data(rhs));
211
1
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
209
1
               Arena&) const override {
210
1
        this->data(place).merge(this->data(rhs));
211
1
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
209
1
               Arena&) const override {
210
1
        this->data(place).merge(this->data(rhs));
211
1
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
209
1
               Arena&) const override {
210
1
        this->data(place).merge(this->data(rhs));
211
1
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb0EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
209
1
               Arena&) const override {
210
1
        this->data(place).merge(this->data(rhs));
211
1
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb0EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
209
1
               Arena&) const override {
210
1
        this->data(place).merge(this->data(rhs));
211
1
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb0EE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
209
1
               Arena&) const override {
210
1
        this->data(place).merge(this->data(rhs));
211
1
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb0EE5mergeEPcPKcRNS_5ArenaE
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
209
1
               Arena&) const override {
210
1
        this->data(place).merge(this->data(rhs));
211
1
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb0EE5mergeEPcPKcRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb0EE5mergeEPcPKcRNS_5ArenaE
212
213
18
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
214
18
        this->data(place).write(buf);
215
18
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EE9serializeEPKcRNS_14BufferWritableE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
213
1
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
214
1
        this->data(place).write(buf);
215
1
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
213
1
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
214
1
        this->data(place).write(buf);
215
1
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
213
1
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
214
1
        this->data(place).write(buf);
215
1
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
213
1
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
214
1
        this->data(place).write(buf);
215
1
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
213
1
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
214
1
        this->data(place).write(buf);
215
1
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb1EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
213
1
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
214
1
        this->data(place).write(buf);
215
1
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb1EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
213
1
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
214
1
        this->data(place).write(buf);
215
1
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb1EE9serializeEPKcRNS_14BufferWritableE
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
213
1
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
214
1
        this->data(place).write(buf);
215
1
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
213
1
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
214
1
        this->data(place).write(buf);
215
1
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
213
1
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
214
1
        this->data(place).write(buf);
215
1
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EE9serializeEPKcRNS_14BufferWritableE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
213
1
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
214
1
        this->data(place).write(buf);
215
1
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
213
1
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
214
1
        this->data(place).write(buf);
215
1
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
213
1
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
214
1
        this->data(place).write(buf);
215
1
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
213
1
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
214
1
        this->data(place).write(buf);
215
1
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb0EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
213
1
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
214
1
        this->data(place).write(buf);
215
1
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb0EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
213
1
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
214
1
        this->data(place).write(buf);
215
1
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb0EE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
213
1
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
214
1
        this->data(place).write(buf);
215
1
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb0EE9serializeEPKcRNS_14BufferWritableE
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
213
1
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
214
1
        this->data(place).write(buf);
215
1
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb0EE9serializeEPKcRNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb0EE9serializeEPKcRNS_14BufferWritableE
216
217
    void deserialize(AggregateDataPtr __restrict place, BufferReadable& buf,
218
18
                     Arena&) const override {
219
18
        this->data(place).read(buf);
220
18
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
218
1
                     Arena&) const override {
219
1
        this->data(place).read(buf);
220
1
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
218
1
                     Arena&) const override {
219
1
        this->data(place).read(buf);
220
1
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
218
1
                     Arena&) const override {
219
1
        this->data(place).read(buf);
220
1
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
218
1
                     Arena&) const override {
219
1
        this->data(place).read(buf);
220
1
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
218
1
                     Arena&) const override {
219
1
        this->data(place).read(buf);
220
1
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
218
1
                     Arena&) const override {
219
1
        this->data(place).read(buf);
220
1
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
218
1
                     Arena&) const override {
219
1
        this->data(place).read(buf);
220
1
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
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
218
1
                     Arena&) const override {
219
1
        this->data(place).read(buf);
220
1
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
218
1
                     Arena&) const override {
219
1
        this->data(place).read(buf);
220
1
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
218
1
                     Arena&) const override {
219
1
        this->data(place).read(buf);
220
1
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
218
1
                     Arena&) const override {
219
1
        this->data(place).read(buf);
220
1
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
218
1
                     Arena&) const override {
219
1
        this->data(place).read(buf);
220
1
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
218
1
                     Arena&) const override {
219
1
        this->data(place).read(buf);
220
1
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
218
1
                     Arena&) const override {
219
1
        this->data(place).read(buf);
220
1
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
218
1
                     Arena&) const override {
219
1
        this->data(place).read(buf);
220
1
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
218
1
                     Arena&) const override {
219
1
        this->data(place).read(buf);
220
1
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
218
1
                     Arena&) const override {
219
1
        this->data(place).read(buf);
220
1
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
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
218
1
                     Arena&) const override {
219
1
        this->data(place).read(buf);
220
1
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
221
222
36
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
223
36
        const std::string bucket_json = this->data(place).get(_argument_type);
224
36
        assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length());
225
36
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EE18insert_result_intoEPKcRNS_7IColumnE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
222
2
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
223
2
        const std::string bucket_json = this->data(place).get(_argument_type);
224
2
        assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length());
225
2
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
222
2
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
223
2
        const std::string bucket_json = this->data(place).get(_argument_type);
224
2
        assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length());
225
2
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
222
2
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
223
2
        const std::string bucket_json = this->data(place).get(_argument_type);
224
2
        assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length());
225
2
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
222
2
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
223
2
        const std::string bucket_json = this->data(place).get(_argument_type);
224
2
        assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length());
225
2
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
222
2
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
223
2
        const std::string bucket_json = this->data(place).get(_argument_type);
224
2
        assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length());
225
2
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
222
2
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
223
2
        const std::string bucket_json = this->data(place).get(_argument_type);
224
2
        assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length());
225
2
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
222
2
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
223
2
        const std::string bucket_json = this->data(place).get(_argument_type);
224
2
        assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length());
225
2
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb1EE18insert_result_intoEPKcRNS_7IColumnE
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
222
2
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
223
2
        const std::string bucket_json = this->data(place).get(_argument_type);
224
2
        assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length());
225
2
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
222
2
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
223
2
        const std::string bucket_json = this->data(place).get(_argument_type);
224
2
        assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length());
225
2
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
222
2
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
223
2
        const std::string bucket_json = this->data(place).get(_argument_type);
224
2
        assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length());
225
2
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EE18insert_result_intoEPKcRNS_7IColumnE
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
222
2
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
223
2
        const std::string bucket_json = this->data(place).get(_argument_type);
224
2
        assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length());
225
2
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
222
2
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
223
2
        const std::string bucket_json = this->data(place).get(_argument_type);
224
2
        assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length());
225
2
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
222
2
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
223
2
        const std::string bucket_json = this->data(place).get(_argument_type);
224
2
        assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length());
225
2
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
222
2
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
223
2
        const std::string bucket_json = this->data(place).get(_argument_type);
224
2
        assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length());
225
2
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
222
2
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
223
2
        const std::string bucket_json = this->data(place).get(_argument_type);
224
2
        assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length());
225
2
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
222
2
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
223
2
        const std::string bucket_json = this->data(place).get(_argument_type);
224
2
        assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length());
225
2
    }
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
222
2
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
223
2
        const std::string bucket_json = this->data(place).get(_argument_type);
224
2
        assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length());
225
2
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb0EE18insert_result_intoEPKcRNS_7IColumnE
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
222
2
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
223
2
        const std::string bucket_json = this->data(place).get(_argument_type);
224
2
        assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length());
225
2
    }
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb0EE18insert_result_intoEPKcRNS_7IColumnE
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb0EE18insert_result_intoEPKcRNS_7IColumnE
226
227
private:
228
    DataTypePtr _argument_type;
229
};
230
231
} // namespace doris