Coverage Report

Created: 2026-10-15 15:22

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
be/src/exprs/aggregate/aggregate_function_bitmap.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 <stddef.h>
21
22
#include <algorithm>
23
#include <boost/iterator/iterator_facade.hpp>
24
#include <memory>
25
#include <string>
26
#include <vector>
27
28
#include "agent/be_exec_version_manager.h"
29
#include "common/compiler_util.h" // IWYU pragma: keep
30
#include "core/assert_cast.h"
31
#include "core/column/column_complex.h"
32
#include "core/column/column_nullable.h"
33
#include "core/column/column_vector.h"
34
#include "core/data_type/data_type_bitmap.h"
35
#include "core/data_type/data_type_number.h"
36
#include "core/types.h"
37
#include "core/value/bitmap_value.h"
38
#include "exprs/aggregate/aggregate_function.h"
39
40
namespace doris {
41
42
class Arena;
43
class BufferReadable;
44
class BufferWritable;
45
class IColumn;
46
struct AggregateFunctionBitmapUnionOp {
47
    static constexpr auto name = "bitmap_union";
48
49
    template <typename T>
50
6.08k
    static void add(BitmapValue& res, const T& data, bool& is_first) {
51
6.08k
        res.add(data);
52
6.08k
        is_first = false;
53
6.08k
    }
_ZN5doris30AggregateFunctionBitmapUnionOp3addIaEEvRNS_11BitmapValueERKT_Rb
Line
Count
Source
50
1.52k
    static void add(BitmapValue& res, const T& data, bool& is_first) {
51
1.52k
        res.add(data);
52
1.52k
        is_first = false;
53
1.52k
    }
_ZN5doris30AggregateFunctionBitmapUnionOp3addIsEEvRNS_11BitmapValueERKT_Rb
Line
Count
Source
50
1.52k
    static void add(BitmapValue& res, const T& data, bool& is_first) {
51
1.52k
        res.add(data);
52
1.52k
        is_first = false;
53
1.52k
    }
_ZN5doris30AggregateFunctionBitmapUnionOp3addIiEEvRNS_11BitmapValueERKT_Rb
Line
Count
Source
50
1.52k
    static void add(BitmapValue& res, const T& data, bool& is_first) {
51
1.52k
        res.add(data);
52
1.52k
        is_first = false;
53
1.52k
    }
_ZN5doris30AggregateFunctionBitmapUnionOp3addIlEEvRNS_11BitmapValueERKT_Rb
Line
Count
Source
50
1.52k
    static void add(BitmapValue& res, const T& data, bool& is_first) {
51
1.52k
        res.add(data);
52
1.52k
        is_first = false;
53
1.52k
    }
54
55
75
    static void add(BitmapValue& res, const BitmapValue& data, bool& is_first) {
56
75
        if (UNLIKELY(is_first)) {
57
38
            res = data;
58
38
            is_first = false;
59
38
        } else {
60
37
            res |= data;
61
37
        }
62
75
    }
63
64
3
    static void add_batch(BitmapValue& res, std::vector<const BitmapValue*>& data, bool& is_first) {
65
3
        res.fastunion(data);
66
        // after fastunion, res myabe have many datas, so is_first should be false
67
        // then call add function will not reset res
68
3
        is_first = false;
69
3
    }
70
71
2.15k
    static void merge(BitmapValue& res, const BitmapValue& data, bool& is_first) {
72
2.15k
        if (UNLIKELY(is_first)) {
73
252
            res = data;
74
252
            is_first = false;
75
1.90k
        } else {
76
1.90k
            res |= data;
77
1.90k
        }
78
2.15k
    }
79
};
80
81
struct AggregateFunctionBitmapIntersectOp {
82
    static constexpr auto name = "bitmap_intersect";
83
84
8
    static void add(BitmapValue& res, const BitmapValue& data, bool& is_first) {
85
8
        if (UNLIKELY(is_first)) {
86
4
            res = data;
87
4
            is_first = false;
88
4
        } else {
89
4
            res &= data;
90
4
        }
91
8
    }
92
93
20
    static void merge(BitmapValue& res, const BitmapValue& data, bool& is_first) {
94
20
        if (UNLIKELY(is_first)) {
95
20
            res = data;
96
20
            is_first = false;
97
20
        } else {
98
0
            res &= data;
99
0
        }
100
20
    }
101
};
102
103
struct AggregateFunctionGroupBitmapXorOp {
104
    static constexpr auto name = "group_bitmap_xor";
105
106
9
    static void add(BitmapValue& res, const BitmapValue& data, bool& is_first) {
107
9
        if (UNLIKELY(is_first)) {
108
4
            res = data;
109
4
            is_first = false;
110
5
        } else {
111
5
            res ^= data;
112
5
        }
113
9
    }
114
115
20
    static void merge(BitmapValue& res, const BitmapValue& data, bool& is_first) {
116
20
        if (UNLIKELY(is_first)) {
117
20
            res = data;
118
20
            is_first = false;
119
20
        } else {
120
0
            res ^= data;
121
0
        }
122
20
    }
123
};
124
125
template <typename Op>
126
struct AggregateFunctionBitmapData {
127
    BitmapValue value;
128
    bool is_first = true;
129
130
    template <typename T>
131
6.17k
    void add(const T& data) {
132
6.17k
        Op::add(value, data, is_first);
133
6.17k
    }
_ZN5doris27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEE3addINS_11BitmapValueEEEvRKT_
Line
Count
Source
131
75
    void add(const T& data) {
132
75
        Op::add(value, data, is_first);
133
75
    }
_ZN5doris27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEE3addIaEEvRKT_
Line
Count
Source
131
1.52k
    void add(const T& data) {
132
1.52k
        Op::add(value, data, is_first);
133
1.52k
    }
_ZN5doris27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEE3addIsEEvRKT_
Line
Count
Source
131
1.52k
    void add(const T& data) {
132
1.52k
        Op::add(value, data, is_first);
133
1.52k
    }
_ZN5doris27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEE3addIiEEvRKT_
Line
Count
Source
131
1.52k
    void add(const T& data) {
132
1.52k
        Op::add(value, data, is_first);
133
1.52k
    }
_ZN5doris27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEE3addIlEEvRKT_
Line
Count
Source
131
1.52k
    void add(const T& data) {
132
1.52k
        Op::add(value, data, is_first);
133
1.52k
    }
_ZN5doris27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEE3addINS_11BitmapValueEEEvRKT_
Line
Count
Source
131
8
    void add(const T& data) {
132
8
        Op::add(value, data, is_first);
133
8
    }
_ZN5doris27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEE3addINS_11BitmapValueEEEvRKT_
Line
Count
Source
131
9
    void add(const T& data) {
132
9
        Op::add(value, data, is_first);
133
9
    }
134
135
3
    void add_batch(std::vector<const BitmapValue*>& data) { Op::add_batch(value, data, is_first); }
136
137
2.19k
    void merge(const BitmapValue& data) { Op::merge(value, data, is_first); }
_ZN5doris27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEE5mergeERKNS_11BitmapValueE
Line
Count
Source
137
2.15k
    void merge(const BitmapValue& data) { Op::merge(value, data, is_first); }
_ZN5doris27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEE5mergeERKNS_11BitmapValueE
Line
Count
Source
137
20
    void merge(const BitmapValue& data) { Op::merge(value, data, is_first); }
_ZN5doris27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEE5mergeERKNS_11BitmapValueE
Line
Count
Source
137
20
    void merge(const BitmapValue& data) { Op::merge(value, data, is_first); }
138
139
0
    void write(BufferWritable& buf) const { DataTypeBitMap::serialize_as_stream(value, buf); }
Unexecuted instantiation: _ZNK5doris27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEE5writeERNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEE5writeERNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEE5writeERNS_14BufferWritableE
140
141
0
    void read(BufferReadable& buf) { DataTypeBitMap::deserialize_as_stream(value, buf); }
Unexecuted instantiation: _ZN5doris27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEE4readERNS_14BufferReadableE
Unexecuted instantiation: _ZN5doris27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEE4readERNS_14BufferReadableE
Unexecuted instantiation: _ZN5doris27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEE4readERNS_14BufferReadableE
142
143
46
    void reset() {
144
46
        is_first = true;
145
46
        value.reset(); // it's better to call reset function by self firstly.
146
46
    }
_ZN5doris27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEE5resetEv
Line
Count
Source
143
46
    void reset() {
144
46
        is_first = true;
145
46
        value.reset(); // it's better to call reset function by self firstly.
146
46
    }
Unexecuted instantiation: _ZN5doris27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEE5resetEv
Unexecuted instantiation: _ZN5doris27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEE5resetEv
147
148
    BitmapValue& get() { return value; }
149
150
536
    const BitmapValue& get() const { return value; }
_ZNK5doris27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEE3getEv
Line
Count
Source
150
494
    const BitmapValue& get() const { return value; }
_ZNK5doris27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEE3getEv
Line
Count
Source
150
21
    const BitmapValue& get() const { return value; }
_ZNK5doris27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEE3getEv
Line
Count
Source
150
21
    const BitmapValue& get() const { return value; }
151
};
152
153
template <typename Data, typename Derived>
154
class AggregateFunctionBitmapSerializationHelper
155
        : public IAggregateFunctionDataHelper<Data, Derived> {
156
public:
157
    using BaseHelper = IAggregateFunctionHelper<Derived>;
158
159
    AggregateFunctionBitmapSerializationHelper(const DataTypes& argument_types_)
160
158
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {}
_ZN5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISE_EE
Line
Count
Source
160
1
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {}
_ZN5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISE_EE
Line
Count
Source
160
2
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {}
_ZN5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISE_EE
Line
Count
Source
160
6
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {}
_ZN5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISE_EE
Line
Count
Source
160
6
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {}
_ZN5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISE_EE
Line
Count
Source
160
6
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {}
_ZN5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISE_EE
Line
Count
Source
160
6
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {}
_ZN5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISE_EE
Line
Count
Source
160
6
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {}
_ZN5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISE_EE
Line
Count
Source
160
6
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {}
_ZN5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISE_EE
Line
Count
Source
160
6
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {}
_ZN5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISE_EE
Line
Count
Source
160
6
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {}
_ZN5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_25AggregateFunctionBitmapOpIS2_EEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EE
Line
Count
Source
160
103
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {}
_ZN5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEEENS_25AggregateFunctionBitmapOpIS2_EEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EE
Line
Count
Source
160
2
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {}
_ZN5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEEENS_25AggregateFunctionBitmapOpIS2_EEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EE
Line
Count
Source
160
2
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {}
161
162
    void streaming_agg_serialize_to_column(const IColumn** columns, MutableColumnPtr& dst,
163
47
                                           const size_t num_rows, Arena& arena) const override {
164
47
        auto& col = assert_cast<ColumnBitmap&>(*dst);
165
47
        char place[sizeof(Data)];
166
47
        col.resize(num_rows);
167
47
        auto* data = col.get_data().data();
168
1.81k
        for (size_t i = 0; i != num_rows; ++i) {
169
1.76k
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->create(place);
170
1.76k
            DEFER({
171
1.76k
                assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->destroy(place);
172
1.76k
            });
173
1.76k
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->add(place, columns, i,
174
1.76k
                                                                                arena);
175
1.76k
            data[i] = std::move(this->data(place).value);
176
1.76k
        }
177
47
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWISA_E11mutable_ptrISA_EEmRNS_5ArenaE
Line
Count
Source
163
1
                                           const size_t num_rows, Arena& arena) const override {
164
1
        auto& col = assert_cast<ColumnBitmap&>(*dst);
165
1
        char place[sizeof(Data)];
166
1
        col.resize(num_rows);
167
1
        auto* data = col.get_data().data();
168
4
        for (size_t i = 0; i != num_rows; ++i) {
169
3
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->create(place);
170
3
            DEFER({
171
3
                assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->destroy(place);
172
3
            });
173
3
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->add(place, columns, i,
174
3
                                                                                arena);
175
3
            data[i] = std::move(this->data(place).value);
176
3
        }
177
1
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWISA_E11mutable_ptrISA_EEmRNS_5ArenaE
Line
Count
Source
163
1
                                           const size_t num_rows, Arena& arena) const override {
164
1
        auto& col = assert_cast<ColumnBitmap&>(*dst);
165
1
        char place[sizeof(Data)];
166
1
        col.resize(num_rows);
167
1
        auto* data = col.get_data().data();
168
3
        for (size_t i = 0; i != num_rows; ++i) {
169
2
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->create(place);
170
2
            DEFER({
171
2
                assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->destroy(place);
172
2
            });
173
2
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->add(place, columns, i,
174
2
                                                                                arena);
175
2
            data[i] = std::move(this->data(place).value);
176
2
        }
177
1
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWISA_E11mutable_ptrISA_EEmRNS_5ArenaE
Line
Count
Source
163
6
                                           const size_t num_rows, Arena& arena) const override {
164
6
        auto& col = assert_cast<ColumnBitmap&>(*dst);
165
6
        char place[sizeof(Data)];
166
6
        col.resize(num_rows);
167
6
        auto* data = col.get_data().data();
168
228
        for (size_t i = 0; i != num_rows; ++i) {
169
222
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->create(place);
170
222
            DEFER({
171
222
                assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->destroy(place);
172
222
            });
173
222
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->add(place, columns, i,
174
222
                                                                                arena);
175
222
            data[i] = std::move(this->data(place).value);
176
222
        }
177
6
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWISA_E11mutable_ptrISA_EEmRNS_5ArenaE
Line
Count
Source
163
6
                                           const size_t num_rows, Arena& arena) const override {
164
6
        auto& col = assert_cast<ColumnBitmap&>(*dst);
165
6
        char place[sizeof(Data)];
166
6
        col.resize(num_rows);
167
6
        auto* data = col.get_data().data();
168
228
        for (size_t i = 0; i != num_rows; ++i) {
169
222
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->create(place);
170
222
            DEFER({
171
222
                assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->destroy(place);
172
222
            });
173
222
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->add(place, columns, i,
174
222
                                                                                arena);
175
222
            data[i] = std::move(this->data(place).value);
176
222
        }
177
6
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWISA_E11mutable_ptrISA_EEmRNS_5ArenaE
Line
Count
Source
163
6
                                           const size_t num_rows, Arena& arena) const override {
164
6
        auto& col = assert_cast<ColumnBitmap&>(*dst);
165
6
        char place[sizeof(Data)];
166
6
        col.resize(num_rows);
167
6
        auto* data = col.get_data().data();
168
228
        for (size_t i = 0; i != num_rows; ++i) {
169
222
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->create(place);
170
222
            DEFER({
171
222
                assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->destroy(place);
172
222
            });
173
222
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->add(place, columns, i,
174
222
                                                                                arena);
175
222
            data[i] = std::move(this->data(place).value);
176
222
        }
177
6
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWISA_E11mutable_ptrISA_EEmRNS_5ArenaE
Line
Count
Source
163
6
                                           const size_t num_rows, Arena& arena) const override {
164
6
        auto& col = assert_cast<ColumnBitmap&>(*dst);
165
6
        char place[sizeof(Data)];
166
6
        col.resize(num_rows);
167
6
        auto* data = col.get_data().data();
168
228
        for (size_t i = 0; i != num_rows; ++i) {
169
222
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->create(place);
170
222
            DEFER({
171
222
                assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->destroy(place);
172
222
            });
173
222
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->add(place, columns, i,
174
222
                                                                                arena);
175
222
            data[i] = std::move(this->data(place).value);
176
222
        }
177
6
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWISA_E11mutable_ptrISA_EEmRNS_5ArenaE
Line
Count
Source
163
5
                                           const size_t num_rows, Arena& arena) const override {
164
5
        auto& col = assert_cast<ColumnBitmap&>(*dst);
165
5
        char place[sizeof(Data)];
166
5
        col.resize(num_rows);
167
5
        auto* data = col.get_data().data();
168
221
        for (size_t i = 0; i != num_rows; ++i) {
169
216
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->create(place);
170
216
            DEFER({
171
216
                assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->destroy(place);
172
216
            });
173
216
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->add(place, columns, i,
174
216
                                                                                arena);
175
216
            data[i] = std::move(this->data(place).value);
176
216
        }
177
5
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWISA_E11mutable_ptrISA_EEmRNS_5ArenaE
Line
Count
Source
163
5
                                           const size_t num_rows, Arena& arena) const override {
164
5
        auto& col = assert_cast<ColumnBitmap&>(*dst);
165
5
        char place[sizeof(Data)];
166
5
        col.resize(num_rows);
167
5
        auto* data = col.get_data().data();
168
221
        for (size_t i = 0; i != num_rows; ++i) {
169
216
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->create(place);
170
216
            DEFER({
171
216
                assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->destroy(place);
172
216
            });
173
216
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->add(place, columns, i,
174
216
                                                                                arena);
175
216
            data[i] = std::move(this->data(place).value);
176
216
        }
177
5
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWISA_E11mutable_ptrISA_EEmRNS_5ArenaE
Line
Count
Source
163
5
                                           const size_t num_rows, Arena& arena) const override {
164
5
        auto& col = assert_cast<ColumnBitmap&>(*dst);
165
5
        char place[sizeof(Data)];
166
5
        col.resize(num_rows);
167
5
        auto* data = col.get_data().data();
168
221
        for (size_t i = 0; i != num_rows; ++i) {
169
216
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->create(place);
170
216
            DEFER({
171
216
                assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->destroy(place);
172
216
            });
173
216
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->add(place, columns, i,
174
216
                                                                                arena);
175
216
            data[i] = std::move(this->data(place).value);
176
216
        }
177
5
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWISA_E11mutable_ptrISA_EEmRNS_5ArenaE
Line
Count
Source
163
5
                                           const size_t num_rows, Arena& arena) const override {
164
5
        auto& col = assert_cast<ColumnBitmap&>(*dst);
165
5
        char place[sizeof(Data)];
166
5
        col.resize(num_rows);
167
5
        auto* data = col.get_data().data();
168
221
        for (size_t i = 0; i != num_rows; ++i) {
169
216
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->create(place);
170
216
            DEFER({
171
216
                assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->destroy(place);
172
216
            });
173
216
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->add(place, columns, i,
174
216
                                                                                arena);
175
216
            data[i] = std::move(this->data(place).value);
176
216
        }
177
5
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_25AggregateFunctionBitmapOpIS2_EEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS7_E11mutable_ptrIS7_EEmRNS_5ArenaE
Line
Count
Source
163
1
                                           const size_t num_rows, Arena& arena) const override {
164
1
        auto& col = assert_cast<ColumnBitmap&>(*dst);
165
1
        char place[sizeof(Data)];
166
1
        col.resize(num_rows);
167
1
        auto* data = col.get_data().data();
168
11
        for (size_t i = 0; i != num_rows; ++i) {
169
10
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->create(place);
170
10
            DEFER({
171
10
                assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->destroy(place);
172
10
            });
173
10
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->add(place, columns, i,
174
10
                                                                                arena);
175
10
            data[i] = std::move(this->data(place).value);
176
10
        }
177
1
    }
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEEENS_25AggregateFunctionBitmapOpIS2_EEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS7_E11mutable_ptrIS7_EEmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEEENS_25AggregateFunctionBitmapOpIS2_EEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS7_E11mutable_ptrIS7_EEmRNS_5ArenaE
178
179
    void serialize_to_column(const std::vector<AggregateDataPtr>& places, size_t offset,
180
139
                             MutableColumnPtr& dst, const size_t num_rows) const override {
181
139
        auto& col = assert_cast<ColumnBitmap&>(*dst);
182
139
        col.resize(num_rows);
183
139
        auto* data = col.get_data().data();
184
281
        for (size_t i = 0; i != num_rows; ++i) {
185
142
            data[i] = std::move(this->data(places[i] + offset).value);
186
142
        }
187
139
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE19serialize_to_columnERKSt6vectorIPcSaISB_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISH_EEm
Line
Count
Source
180
3
                             MutableColumnPtr& dst, const size_t num_rows) const override {
181
3
        auto& col = assert_cast<ColumnBitmap&>(*dst);
182
3
        col.resize(num_rows);
183
3
        auto* data = col.get_data().data();
184
6
        for (size_t i = 0; i != num_rows; ++i) {
185
3
            data[i] = std::move(this->data(places[i] + offset).value);
186
3
        }
187
3
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE19serialize_to_columnERKSt6vectorIPcSaISB_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISH_EEm
Line
Count
Source
180
3
                             MutableColumnPtr& dst, const size_t num_rows) const override {
181
3
        auto& col = assert_cast<ColumnBitmap&>(*dst);
182
3
        col.resize(num_rows);
183
3
        auto* data = col.get_data().data();
184
6
        for (size_t i = 0; i != num_rows; ++i) {
185
3
            data[i] = std::move(this->data(places[i] + offset).value);
186
3
        }
187
3
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEEEE19serialize_to_columnERKSt6vectorIPcSaISB_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISH_EEm
Line
Count
Source
180
18
                             MutableColumnPtr& dst, const size_t num_rows) const override {
181
18
        auto& col = assert_cast<ColumnBitmap&>(*dst);
182
18
        col.resize(num_rows);
183
18
        auto* data = col.get_data().data();
184
36
        for (size_t i = 0; i != num_rows; ++i) {
185
18
            data[i] = std::move(this->data(places[i] + offset).value);
186
18
        }
187
18
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEE19serialize_to_columnERKSt6vectorIPcSaISB_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISH_EEm
Line
Count
Source
180
18
                             MutableColumnPtr& dst, const size_t num_rows) const override {
181
18
        auto& col = assert_cast<ColumnBitmap&>(*dst);
182
18
        col.resize(num_rows);
183
18
        auto* data = col.get_data().data();
184
36
        for (size_t i = 0; i != num_rows; ++i) {
185
18
            data[i] = std::move(this->data(places[i] + offset).value);
186
18
        }
187
18
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEE19serialize_to_columnERKSt6vectorIPcSaISB_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISH_EEm
Line
Count
Source
180
18
                             MutableColumnPtr& dst, const size_t num_rows) const override {
181
18
        auto& col = assert_cast<ColumnBitmap&>(*dst);
182
18
        col.resize(num_rows);
183
18
        auto* data = col.get_data().data();
184
36
        for (size_t i = 0; i != num_rows; ++i) {
185
18
            data[i] = std::move(this->data(places[i] + offset).value);
186
18
        }
187
18
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEEEE19serialize_to_columnERKSt6vectorIPcSaISB_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISH_EEm
Line
Count
Source
180
18
                             MutableColumnPtr& dst, const size_t num_rows) const override {
181
18
        auto& col = assert_cast<ColumnBitmap&>(*dst);
182
18
        col.resize(num_rows);
183
18
        auto* data = col.get_data().data();
184
36
        for (size_t i = 0; i != num_rows; ++i) {
185
18
            data[i] = std::move(this->data(places[i] + offset).value);
186
18
        }
187
18
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEEEE19serialize_to_columnERKSt6vectorIPcSaISB_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISH_EEm
Line
Count
Source
180
15
                             MutableColumnPtr& dst, const size_t num_rows) const override {
181
15
        auto& col = assert_cast<ColumnBitmap&>(*dst);
182
15
        col.resize(num_rows);
183
15
        auto* data = col.get_data().data();
184
30
        for (size_t i = 0; i != num_rows; ++i) {
185
15
            data[i] = std::move(this->data(places[i] + offset).value);
186
15
        }
187
15
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEE19serialize_to_columnERKSt6vectorIPcSaISB_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISH_EEm
Line
Count
Source
180
15
                             MutableColumnPtr& dst, const size_t num_rows) const override {
181
15
        auto& col = assert_cast<ColumnBitmap&>(*dst);
182
15
        col.resize(num_rows);
183
15
        auto* data = col.get_data().data();
184
30
        for (size_t i = 0; i != num_rows; ++i) {
185
15
            data[i] = std::move(this->data(places[i] + offset).value);
186
15
        }
187
15
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEE19serialize_to_columnERKSt6vectorIPcSaISB_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISH_EEm
Line
Count
Source
180
15
                             MutableColumnPtr& dst, const size_t num_rows) const override {
181
15
        auto& col = assert_cast<ColumnBitmap&>(*dst);
182
15
        col.resize(num_rows);
183
15
        auto* data = col.get_data().data();
184
30
        for (size_t i = 0; i != num_rows; ++i) {
185
15
            data[i] = std::move(this->data(places[i] + offset).value);
186
15
        }
187
15
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEEEE19serialize_to_columnERKSt6vectorIPcSaISB_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISH_EEm
Line
Count
Source
180
15
                             MutableColumnPtr& dst, const size_t num_rows) const override {
181
15
        auto& col = assert_cast<ColumnBitmap&>(*dst);
182
15
        col.resize(num_rows);
183
15
        auto* data = col.get_data().data();
184
30
        for (size_t i = 0; i != num_rows; ++i) {
185
15
            data[i] = std::move(this->data(places[i] + offset).value);
186
15
        }
187
15
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_25AggregateFunctionBitmapOpIS2_EEE19serialize_to_columnERKSt6vectorIPcSaIS8_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISE_EEm
Line
Count
Source
180
1
                             MutableColumnPtr& dst, const size_t num_rows) const override {
181
1
        auto& col = assert_cast<ColumnBitmap&>(*dst);
182
1
        col.resize(num_rows);
183
1
        auto* data = col.get_data().data();
184
5
        for (size_t i = 0; i != num_rows; ++i) {
185
4
            data[i] = std::move(this->data(places[i] + offset).value);
186
4
        }
187
1
    }
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEEENS_25AggregateFunctionBitmapOpIS2_EEE19serialize_to_columnERKSt6vectorIPcSaIS8_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISE_EEm
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEEENS_25AggregateFunctionBitmapOpIS2_EEE19serialize_to_columnERKSt6vectorIPcSaIS8_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISE_EEm
188
189
    void deserialize_from_column_row(AggregateDataPtr __restrict place, const IColumn& column,
190
30
                                     size_t row, Arena&) const override {
191
30
        DCHECK_LT(row, column.size());
192
30
        const auto& col = assert_cast<const ColumnBitmap&>(column);
193
30
        this->data(place).merge(col.get_data()[row]);
194
30
    }
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE27deserialize_from_column_rowEPcRKNS_7IColumnEmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE27deserialize_from_column_rowEPcRKNS_7IColumnEmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEEEE27deserialize_from_column_rowEPcRKNS_7IColumnEmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEE27deserialize_from_column_rowEPcRKNS_7IColumnEmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEE27deserialize_from_column_rowEPcRKNS_7IColumnEmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEEEE27deserialize_from_column_rowEPcRKNS_7IColumnEmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEEEE27deserialize_from_column_rowEPcRKNS_7IColumnEmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEE27deserialize_from_column_rowEPcRKNS_7IColumnEmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEE27deserialize_from_column_rowEPcRKNS_7IColumnEmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEEEE27deserialize_from_column_rowEPcRKNS_7IColumnEmRNS_5ArenaE
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_25AggregateFunctionBitmapOpIS2_EEE27deserialize_from_column_rowEPcRKNS_7IColumnEmRNS_5ArenaE
Line
Count
Source
190
10
                                     size_t row, Arena&) const override {
191
        DCHECK_LT(row, column.size());
192
10
        const auto& col = assert_cast<const ColumnBitmap&>(column);
193
10
        this->data(place).merge(col.get_data()[row]);
194
10
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEEENS_25AggregateFunctionBitmapOpIS2_EEE27deserialize_from_column_rowEPcRKNS_7IColumnEmRNS_5ArenaE
Line
Count
Source
190
10
                                     size_t row, Arena&) const override {
191
        DCHECK_LT(row, column.size());
192
10
        const auto& col = assert_cast<const ColumnBitmap&>(column);
193
10
        this->data(place).merge(col.get_data()[row]);
194
10
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEEENS_25AggregateFunctionBitmapOpIS2_EEE27deserialize_from_column_rowEPcRKNS_7IColumnEmRNS_5ArenaE
Line
Count
Source
190
10
                                     size_t row, Arena&) const override {
191
        DCHECK_LT(row, column.size());
192
10
        const auto& col = assert_cast<const ColumnBitmap&>(column);
193
10
        this->data(place).merge(col.get_data()[row]);
194
10
    }
195
196
    void deserialize_and_merge_from_column_range(AggregateDataPtr __restrict place,
197
                                                 const IColumn& column, size_t begin, size_t end,
198
242
                                                 Arena&) const override {
199
242
        DCHECK(end <= column.size() && begin <= end)
200
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
201
242
        const auto& col = assert_cast<const ColumnBitmap&>(column);
202
242
        const auto* data = col.get_data().data();
203
2.19k
        for (size_t i = begin; i <= end; ++i) {
204
1.95k
            this->data(place).merge(data[i]);
205
1.95k
        }
206
242
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
198
2
                                                 Arena&) const override {
199
2
        DCHECK(end <= column.size() && begin <= end)
200
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
201
2
        const auto& col = assert_cast<const ColumnBitmap&>(column);
202
2
        const auto* data = col.get_data().data();
203
6
        for (size_t i = begin; i <= end; ++i) {
204
4
            this->data(place).merge(data[i]);
205
4
        }
206
2
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
198
2
                                                 Arena&) const override {
199
2
        DCHECK(end <= column.size() && begin <= end)
200
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
201
2
        const auto& col = assert_cast<const ColumnBitmap&>(column);
202
2
        const auto* data = col.get_data().data();
203
5
        for (size_t i = begin; i <= end; ++i) {
204
3
            this->data(place).merge(data[i]);
205
3
        }
206
2
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
198
12
                                                 Arena&) const override {
199
12
        DCHECK(end <= column.size() && begin <= end)
200
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
201
12
        const auto& col = assert_cast<const ColumnBitmap&>(column);
202
12
        const auto* data = col.get_data().data();
203
240
        for (size_t i = begin; i <= end; ++i) {
204
228
            this->data(place).merge(data[i]);
205
228
        }
206
12
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
198
12
                                                 Arena&) const override {
199
12
        DCHECK(end <= column.size() && begin <= end)
200
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
201
12
        const auto& col = assert_cast<const ColumnBitmap&>(column);
202
12
        const auto* data = col.get_data().data();
203
240
        for (size_t i = begin; i <= end; ++i) {
204
228
            this->data(place).merge(data[i]);
205
228
        }
206
12
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
198
12
                                                 Arena&) const override {
199
12
        DCHECK(end <= column.size() && begin <= end)
200
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
201
12
        const auto& col = assert_cast<const ColumnBitmap&>(column);
202
12
        const auto* data = col.get_data().data();
203
240
        for (size_t i = begin; i <= end; ++i) {
204
228
            this->data(place).merge(data[i]);
205
228
        }
206
12
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
198
12
                                                 Arena&) const override {
199
12
        DCHECK(end <= column.size() && begin <= end)
200
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
201
12
        const auto& col = assert_cast<const ColumnBitmap&>(column);
202
12
        const auto* data = col.get_data().data();
203
240
        for (size_t i = begin; i <= end; ++i) {
204
228
            this->data(place).merge(data[i]);
205
228
        }
206
12
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
198
10
                                                 Arena&) const override {
199
10
        DCHECK(end <= column.size() && begin <= end)
200
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
201
10
        const auto& col = assert_cast<const ColumnBitmap&>(column);
202
10
        const auto* data = col.get_data().data();
203
231
        for (size_t i = begin; i <= end; ++i) {
204
221
            this->data(place).merge(data[i]);
205
221
        }
206
10
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
198
10
                                                 Arena&) const override {
199
10
        DCHECK(end <= column.size() && begin <= end)
200
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
201
10
        const auto& col = assert_cast<const ColumnBitmap&>(column);
202
10
        const auto* data = col.get_data().data();
203
231
        for (size_t i = begin; i <= end; ++i) {
204
221
            this->data(place).merge(data[i]);
205
221
        }
206
10
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
198
10
                                                 Arena&) const override {
199
10
        DCHECK(end <= column.size() && begin <= end)
200
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
201
10
        const auto& col = assert_cast<const ColumnBitmap&>(column);
202
10
        const auto* data = col.get_data().data();
203
231
        for (size_t i = begin; i <= end; ++i) {
204
221
            this->data(place).merge(data[i]);
205
221
        }
206
10
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
198
10
                                                 Arena&) const override {
199
10
        DCHECK(end <= column.size() && begin <= end)
200
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
201
10
        const auto& col = assert_cast<const ColumnBitmap&>(column);
202
10
        const auto* data = col.get_data().data();
203
231
        for (size_t i = begin; i <= end; ++i) {
204
221
            this->data(place).merge(data[i]);
205
221
        }
206
10
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_25AggregateFunctionBitmapOpIS2_EEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
198
130
                                                 Arena&) const override {
199
130
        DCHECK(end <= column.size() && begin <= end)
200
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
201
130
        const auto& col = assert_cast<const ColumnBitmap&>(column);
202
130
        const auto* data = col.get_data().data();
203
260
        for (size_t i = begin; i <= end; ++i) {
204
130
            this->data(place).merge(data[i]);
205
130
        }
206
130
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEEENS_25AggregateFunctionBitmapOpIS2_EEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
198
10
                                                 Arena&) const override {
199
10
        DCHECK(end <= column.size() && begin <= end)
200
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
201
10
        const auto& col = assert_cast<const ColumnBitmap&>(column);
202
10
        const auto* data = col.get_data().data();
203
20
        for (size_t i = begin; i <= end; ++i) {
204
10
            this->data(place).merge(data[i]);
205
10
        }
206
10
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEEENS_25AggregateFunctionBitmapOpIS2_EEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
198
10
                                                 Arena&) const override {
199
10
        DCHECK(end <= column.size() && begin <= end)
200
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
201
10
        const auto& col = assert_cast<const ColumnBitmap&>(column);
202
10
        const auto* data = col.get_data().data();
203
20
        for (size_t i = begin; i <= end; ++i) {
204
10
            this->data(place).merge(data[i]);
205
10
        }
206
10
    }
207
208
69
    bool needs_deserialize_and_merge_scratch() const override { return false; }
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE35needs_deserialize_and_merge_scratchEv
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE35needs_deserialize_and_merge_scratchEv
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEEEE35needs_deserialize_and_merge_scratchEv
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEE35needs_deserialize_and_merge_scratchEv
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEE35needs_deserialize_and_merge_scratchEv
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEEEE35needs_deserialize_and_merge_scratchEv
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEEEE35needs_deserialize_and_merge_scratchEv
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEE35needs_deserialize_and_merge_scratchEv
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEE35needs_deserialize_and_merge_scratchEv
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEEEE35needs_deserialize_and_merge_scratchEv
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_25AggregateFunctionBitmapOpIS2_EEE35needs_deserialize_and_merge_scratchEv
Line
Count
Source
208
69
    bool needs_deserialize_and_merge_scratch() const override { return false; }
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEEENS_25AggregateFunctionBitmapOpIS2_EEE35needs_deserialize_and_merge_scratchEv
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEEENS_25AggregateFunctionBitmapOpIS2_EEE35needs_deserialize_and_merge_scratchEv
209
210
    void deserialize_and_merge_vec(const AggregateDataPtr* places, size_t offset,
211
                                   AggregateDataPtr rhs, const IColumn* column, Arena&,
212
58
                                   const size_t num_rows) const override {
213
58
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
58
        const auto* data = col.get_data().data();
215
176
        for (size_t i = 0; i != num_rows; ++i) {
216
118
            this->data(places[i] + offset).merge(data[i]);
217
118
        }
218
58
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE25deserialize_and_merge_vecEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
212
1
                                   const size_t num_rows) const override {
213
1
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
1
        const auto* data = col.get_data().data();
215
2
        for (size_t i = 0; i != num_rows; ++i) {
216
1
            this->data(places[i] + offset).merge(data[i]);
217
1
        }
218
1
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE25deserialize_and_merge_vecEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
212
1
                                   const size_t num_rows) const override {
213
1
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
1
        const auto* data = col.get_data().data();
215
2
        for (size_t i = 0; i != num_rows; ++i) {
216
1
            this->data(places[i] + offset).merge(data[i]);
217
1
        }
218
1
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEEEE25deserialize_and_merge_vecEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
212
6
                                   const size_t num_rows) const override {
213
6
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
6
        const auto* data = col.get_data().data();
215
12
        for (size_t i = 0; i != num_rows; ++i) {
216
6
            this->data(places[i] + offset).merge(data[i]);
217
6
        }
218
6
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEE25deserialize_and_merge_vecEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
212
6
                                   const size_t num_rows) const override {
213
6
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
6
        const auto* data = col.get_data().data();
215
12
        for (size_t i = 0; i != num_rows; ++i) {
216
6
            this->data(places[i] + offset).merge(data[i]);
217
6
        }
218
6
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEE25deserialize_and_merge_vecEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
212
6
                                   const size_t num_rows) const override {
213
6
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
6
        const auto* data = col.get_data().data();
215
12
        for (size_t i = 0; i != num_rows; ++i) {
216
6
            this->data(places[i] + offset).merge(data[i]);
217
6
        }
218
6
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEEEE25deserialize_and_merge_vecEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
212
6
                                   const size_t num_rows) const override {
213
6
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
6
        const auto* data = col.get_data().data();
215
12
        for (size_t i = 0; i != num_rows; ++i) {
216
6
            this->data(places[i] + offset).merge(data[i]);
217
6
        }
218
6
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEEEE25deserialize_and_merge_vecEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
212
5
                                   const size_t num_rows) const override {
213
5
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
5
        const auto* data = col.get_data().data();
215
10
        for (size_t i = 0; i != num_rows; ++i) {
216
5
            this->data(places[i] + offset).merge(data[i]);
217
5
        }
218
5
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEE25deserialize_and_merge_vecEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
212
5
                                   const size_t num_rows) const override {
213
5
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
5
        const auto* data = col.get_data().data();
215
10
        for (size_t i = 0; i != num_rows; ++i) {
216
5
            this->data(places[i] + offset).merge(data[i]);
217
5
        }
218
5
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEE25deserialize_and_merge_vecEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
212
5
                                   const size_t num_rows) const override {
213
5
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
5
        const auto* data = col.get_data().data();
215
10
        for (size_t i = 0; i != num_rows; ++i) {
216
5
            this->data(places[i] + offset).merge(data[i]);
217
5
        }
218
5
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEEEE25deserialize_and_merge_vecEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
212
5
                                   const size_t num_rows) const override {
213
5
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
5
        const auto* data = col.get_data().data();
215
10
        for (size_t i = 0; i != num_rows; ++i) {
216
5
            this->data(places[i] + offset).merge(data[i]);
217
5
        }
218
5
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_25AggregateFunctionBitmapOpIS2_EEE25deserialize_and_merge_vecEPKPcmS7_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
212
12
                                   const size_t num_rows) const override {
213
12
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
12
        const auto* data = col.get_data().data();
215
84
        for (size_t i = 0; i != num_rows; ++i) {
216
72
            this->data(places[i] + offset).merge(data[i]);
217
72
        }
218
12
    }
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEEENS_25AggregateFunctionBitmapOpIS2_EEE25deserialize_and_merge_vecEPKPcmS7_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEEENS_25AggregateFunctionBitmapOpIS2_EEE25deserialize_and_merge_vecEPKPcmS7_PKNS_7IColumnERNS_5ArenaEm
219
220
    void deserialize_and_merge_vec_selected(const AggregateDataPtr* places, size_t offset,
221
                                            AggregateDataPtr rhs, const IColumn* column, Arena&,
222
66
                                            const size_t num_rows) const override {
223
66
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
224
66
        const auto* data = col.get_data().data();
225
232
        for (size_t i = 0; i != num_rows; ++i) {
226
166
            if (places[i]) {
227
94
                this->data(places[i] + offset).merge(data[i]);
228
94
            }
229
166
        }
230
66
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE34deserialize_and_merge_vec_selectedEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
222
1
                                            const size_t num_rows) const override {
223
1
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
224
1
        const auto* data = col.get_data().data();
225
2
        for (size_t i = 0; i != num_rows; ++i) {
226
1
            if (places[i]) {
227
1
                this->data(places[i] + offset).merge(data[i]);
228
1
            }
229
1
        }
230
1
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE34deserialize_and_merge_vec_selectedEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
222
1
                                            const size_t num_rows) const override {
223
1
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
224
1
        const auto* data = col.get_data().data();
225
2
        for (size_t i = 0; i != num_rows; ++i) {
226
1
            if (places[i]) {
227
1
                this->data(places[i] + offset).merge(data[i]);
228
1
            }
229
1
        }
230
1
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEEEE34deserialize_and_merge_vec_selectedEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
222
6
                                            const size_t num_rows) const override {
223
6
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
224
6
        const auto* data = col.get_data().data();
225
12
        for (size_t i = 0; i != num_rows; ++i) {
226
6
            if (places[i]) {
227
6
                this->data(places[i] + offset).merge(data[i]);
228
6
            }
229
6
        }
230
6
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEE34deserialize_and_merge_vec_selectedEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
222
6
                                            const size_t num_rows) const override {
223
6
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
224
6
        const auto* data = col.get_data().data();
225
12
        for (size_t i = 0; i != num_rows; ++i) {
226
6
            if (places[i]) {
227
6
                this->data(places[i] + offset).merge(data[i]);
228
6
            }
229
6
        }
230
6
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEE34deserialize_and_merge_vec_selectedEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
222
6
                                            const size_t num_rows) const override {
223
6
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
224
6
        const auto* data = col.get_data().data();
225
12
        for (size_t i = 0; i != num_rows; ++i) {
226
6
            if (places[i]) {
227
6
                this->data(places[i] + offset).merge(data[i]);
228
6
            }
229
6
        }
230
6
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEEEE34deserialize_and_merge_vec_selectedEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
222
6
                                            const size_t num_rows) const override {
223
6
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
224
6
        const auto* data = col.get_data().data();
225
12
        for (size_t i = 0; i != num_rows; ++i) {
226
6
            if (places[i]) {
227
6
                this->data(places[i] + offset).merge(data[i]);
228
6
            }
229
6
        }
230
6
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEEEE34deserialize_and_merge_vec_selectedEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
222
5
                                            const size_t num_rows) const override {
223
5
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
224
5
        const auto* data = col.get_data().data();
225
10
        for (size_t i = 0; i != num_rows; ++i) {
226
5
            if (places[i]) {
227
5
                this->data(places[i] + offset).merge(data[i]);
228
5
            }
229
5
        }
230
5
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEE34deserialize_and_merge_vec_selectedEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
222
5
                                            const size_t num_rows) const override {
223
5
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
224
5
        const auto* data = col.get_data().data();
225
10
        for (size_t i = 0; i != num_rows; ++i) {
226
5
            if (places[i]) {
227
5
                this->data(places[i] + offset).merge(data[i]);
228
5
            }
229
5
        }
230
5
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEE34deserialize_and_merge_vec_selectedEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
222
5
                                            const size_t num_rows) const override {
223
5
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
224
5
        const auto* data = col.get_data().data();
225
10
        for (size_t i = 0; i != num_rows; ++i) {
226
5
            if (places[i]) {
227
5
                this->data(places[i] + offset).merge(data[i]);
228
5
            }
229
5
        }
230
5
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEEEE34deserialize_and_merge_vec_selectedEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
222
5
                                            const size_t num_rows) const override {
223
5
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
224
5
        const auto* data = col.get_data().data();
225
10
        for (size_t i = 0; i != num_rows; ++i) {
226
5
            if (places[i]) {
227
5
                this->data(places[i] + offset).merge(data[i]);
228
5
            }
229
5
        }
230
5
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_25AggregateFunctionBitmapOpIS2_EEE34deserialize_and_merge_vec_selectedEPKPcmS7_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
222
20
                                            const size_t num_rows) const override {
223
20
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
224
20
        const auto* data = col.get_data().data();
225
140
        for (size_t i = 0; i != num_rows; ++i) {
226
120
            if (places[i]) {
227
48
                this->data(places[i] + offset).merge(data[i]);
228
48
            }
229
120
        }
230
20
    }
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEEENS_25AggregateFunctionBitmapOpIS2_EEE34deserialize_and_merge_vec_selectedEPKPcmS7_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEEENS_25AggregateFunctionBitmapOpIS2_EEE34deserialize_and_merge_vec_selectedEPKPcmS7_PKNS_7IColumnERNS_5ArenaEm
231
232
    void serialize_without_key_to_column(ConstAggregateDataPtr __restrict place,
233
64
                                         IColumn& to) const override {
234
64
        auto& col = assert_cast<ColumnBitmap&>(to);
235
64
        size_t old_size = col.size();
236
64
        col.resize(old_size + 1);
237
64
        col.get_data()[old_size] = std::move(this->data(place).value);
238
64
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
233
1
                                         IColumn& to) const override {
234
1
        auto& col = assert_cast<ColumnBitmap&>(to);
235
1
        size_t old_size = col.size();
236
1
        col.resize(old_size + 1);
237
1
        col.get_data()[old_size] = std::move(this->data(place).value);
238
1
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
233
1
                                         IColumn& to) const override {
234
1
        auto& col = assert_cast<ColumnBitmap&>(to);
235
1
        size_t old_size = col.size();
236
1
        col.resize(old_size + 1);
237
1
        col.get_data()[old_size] = std::move(this->data(place).value);
238
1
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
233
6
                                         IColumn& to) const override {
234
6
        auto& col = assert_cast<ColumnBitmap&>(to);
235
6
        size_t old_size = col.size();
236
6
        col.resize(old_size + 1);
237
6
        col.get_data()[old_size] = std::move(this->data(place).value);
238
6
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
233
6
                                         IColumn& to) const override {
234
6
        auto& col = assert_cast<ColumnBitmap&>(to);
235
6
        size_t old_size = col.size();
236
6
        col.resize(old_size + 1);
237
6
        col.get_data()[old_size] = std::move(this->data(place).value);
238
6
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
233
6
                                         IColumn& to) const override {
234
6
        auto& col = assert_cast<ColumnBitmap&>(to);
235
6
        size_t old_size = col.size();
236
6
        col.resize(old_size + 1);
237
6
        col.get_data()[old_size] = std::move(this->data(place).value);
238
6
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
233
6
                                         IColumn& to) const override {
234
6
        auto& col = assert_cast<ColumnBitmap&>(to);
235
6
        size_t old_size = col.size();
236
6
        col.resize(old_size + 1);
237
6
        col.get_data()[old_size] = std::move(this->data(place).value);
238
6
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
233
5
                                         IColumn& to) const override {
234
5
        auto& col = assert_cast<ColumnBitmap&>(to);
235
5
        size_t old_size = col.size();
236
5
        col.resize(old_size + 1);
237
5
        col.get_data()[old_size] = std::move(this->data(place).value);
238
5
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
233
5
                                         IColumn& to) const override {
234
5
        auto& col = assert_cast<ColumnBitmap&>(to);
235
5
        size_t old_size = col.size();
236
5
        col.resize(old_size + 1);
237
5
        col.get_data()[old_size] = std::move(this->data(place).value);
238
5
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
233
5
                                         IColumn& to) const override {
234
5
        auto& col = assert_cast<ColumnBitmap&>(to);
235
5
        size_t old_size = col.size();
236
5
        col.resize(old_size + 1);
237
5
        col.get_data()[old_size] = std::move(this->data(place).value);
238
5
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
233
5
                                         IColumn& to) const override {
234
5
        auto& col = assert_cast<ColumnBitmap&>(to);
235
5
        size_t old_size = col.size();
236
5
        col.resize(old_size + 1);
237
5
        col.get_data()[old_size] = std::move(this->data(place).value);
238
5
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_25AggregateFunctionBitmapOpIS2_EEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
233
10
                                         IColumn& to) const override {
234
10
        auto& col = assert_cast<ColumnBitmap&>(to);
235
10
        size_t old_size = col.size();
236
10
        col.resize(old_size + 1);
237
10
        col.get_data()[old_size] = std::move(this->data(place).value);
238
10
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEEENS_25AggregateFunctionBitmapOpIS2_EEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
233
4
                                         IColumn& to) const override {
234
4
        auto& col = assert_cast<ColumnBitmap&>(to);
235
4
        size_t old_size = col.size();
236
4
        col.resize(old_size + 1);
237
4
        col.get_data()[old_size] = std::move(this->data(place).value);
238
4
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEEENS_25AggregateFunctionBitmapOpIS2_EEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
233
4
                                         IColumn& to) const override {
234
4
        auto& col = assert_cast<ColumnBitmap&>(to);
235
4
        size_t old_size = col.size();
236
4
        col.resize(old_size + 1);
237
4
        col.get_data()[old_size] = std::move(this->data(place).value);
238
4
    }
239
240
273
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
273
        return ColumnBitmap::create();
242
273
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE23create_serialize_columnEv
Line
Count
Source
240
5
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
5
        return ColumnBitmap::create();
242
5
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE23create_serialize_columnEv
Line
Count
Source
240
5
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
5
        return ColumnBitmap::create();
242
5
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEEEE23create_serialize_columnEv
Line
Count
Source
240
30
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
30
        return ColumnBitmap::create();
242
30
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEE23create_serialize_columnEv
Line
Count
Source
240
30
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
30
        return ColumnBitmap::create();
242
30
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEE23create_serialize_columnEv
Line
Count
Source
240
30
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
30
        return ColumnBitmap::create();
242
30
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEEEE23create_serialize_columnEv
Line
Count
Source
240
30
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
30
        return ColumnBitmap::create();
242
30
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEEEE23create_serialize_columnEv
Line
Count
Source
240
25
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
25
        return ColumnBitmap::create();
242
25
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEE23create_serialize_columnEv
Line
Count
Source
240
25
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
25
        return ColumnBitmap::create();
242
25
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEE23create_serialize_columnEv
Line
Count
Source
240
25
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
25
        return ColumnBitmap::create();
242
25
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEEEE23create_serialize_columnEv
Line
Count
Source
240
25
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
25
        return ColumnBitmap::create();
242
25
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_25AggregateFunctionBitmapOpIS2_EEE23create_serialize_columnEv
Line
Count
Source
240
31
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
31
        return ColumnBitmap::create();
242
31
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEEENS_25AggregateFunctionBitmapOpIS2_EEE23create_serialize_columnEv
Line
Count
Source
240
6
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
6
        return ColumnBitmap::create();
242
6
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEEENS_25AggregateFunctionBitmapOpIS2_EEE23create_serialize_columnEv
Line
Count
Source
240
6
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
6
        return ColumnBitmap::create();
242
6
    }
243
244
104
    [[nodiscard]] DataTypePtr get_serialized_type() const override {
245
104
        return std::make_shared<DataTypeBitMap>();
246
104
    }
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE19get_serialized_typeEv
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE19get_serialized_typeEv
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEEEE19get_serialized_typeEv
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEE19get_serialized_typeEv
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEE19get_serialized_typeEv
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEEEE19get_serialized_typeEv
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEEEE19get_serialized_typeEv
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEE19get_serialized_typeEv
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEE19get_serialized_typeEv
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEEEE19get_serialized_typeEv
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_25AggregateFunctionBitmapOpIS2_EEE19get_serialized_typeEv
Line
Count
Source
244
102
    [[nodiscard]] DataTypePtr get_serialized_type() const override {
245
102
        return std::make_shared<DataTypeBitMap>();
246
102
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEEENS_25AggregateFunctionBitmapOpIS2_EEE19get_serialized_typeEv
Line
Count
Source
244
1
    [[nodiscard]] DataTypePtr get_serialized_type() const override {
245
1
        return std::make_shared<DataTypeBitMap>();
246
1
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEEENS_25AggregateFunctionBitmapOpIS2_EEE19get_serialized_typeEv
Line
Count
Source
244
1
    [[nodiscard]] DataTypePtr get_serialized_type() const override {
245
1
        return std::make_shared<DataTypeBitMap>();
246
1
    }
247
248
protected:
249
    using IAggregateFunction::version;
250
};
251
252
template <typename Op>
253
class AggregateFunctionBitmapOp final
254
        : public AggregateFunctionBitmapSerializationHelper<AggregateFunctionBitmapData<Op>,
255
                                                            AggregateFunctionBitmapOp<Op>>,
256
          UnaryExpression,
257
          NullableAggregateFunction {
258
public:
259
    using ResultDataType = BitmapValue;
260
    using ColVecType = ColumnBitmap;
261
    using ColVecResult = ColumnBitmap;
262
263
3
    String get_name() const override { return Op::name; }
_ZNK5doris25AggregateFunctionBitmapOpINS_30AggregateFunctionBitmapUnionOpEE8get_nameB5cxx11Ev
Line
Count
Source
263
3
    String get_name() const override { return Op::name; }
Unexecuted instantiation: _ZNK5doris25AggregateFunctionBitmapOpINS_34AggregateFunctionBitmapIntersectOpEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris25AggregateFunctionBitmapOpINS_33AggregateFunctionGroupBitmapXorOpEE8get_nameB5cxx11Ev
264
265
    AggregateFunctionBitmapOp(const DataTypes& argument_types_)
266
107
            : AggregateFunctionBitmapSerializationHelper<AggregateFunctionBitmapData<Op>,
267
107
                                                         AggregateFunctionBitmapOp<Op>>(
268
107
                      argument_types_) {}
_ZN5doris25AggregateFunctionBitmapOpINS_30AggregateFunctionBitmapUnionOpEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS7_EE
Line
Count
Source
266
103
            : AggregateFunctionBitmapSerializationHelper<AggregateFunctionBitmapData<Op>,
267
103
                                                         AggregateFunctionBitmapOp<Op>>(
268
103
                      argument_types_) {}
_ZN5doris25AggregateFunctionBitmapOpINS_34AggregateFunctionBitmapIntersectOpEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS7_EE
Line
Count
Source
266
2
            : AggregateFunctionBitmapSerializationHelper<AggregateFunctionBitmapData<Op>,
267
2
                                                         AggregateFunctionBitmapOp<Op>>(
268
2
                      argument_types_) {}
_ZN5doris25AggregateFunctionBitmapOpINS_33AggregateFunctionGroupBitmapXorOpEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS7_EE
Line
Count
Source
266
2
            : AggregateFunctionBitmapSerializationHelper<AggregateFunctionBitmapData<Op>,
267
2
                                                         AggregateFunctionBitmapOp<Op>>(
268
2
                      argument_types_) {}
269
270
76
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeBitMap>(); }
_ZNK5doris25AggregateFunctionBitmapOpINS_30AggregateFunctionBitmapUnionOpEE15get_return_typeEv
Line
Count
Source
270
70
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeBitMap>(); }
_ZNK5doris25AggregateFunctionBitmapOpINS_34AggregateFunctionBitmapIntersectOpEE15get_return_typeEv
Line
Count
Source
270
3
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeBitMap>(); }
_ZNK5doris25AggregateFunctionBitmapOpINS_33AggregateFunctionGroupBitmapXorOpEE15get_return_typeEv
Line
Count
Source
270
3
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeBitMap>(); }
271
272
    void add(AggregateDataPtr __restrict place, const IColumn** columns, ssize_t row_num,
273
55
             Arena&) const override {
274
55
        const auto& column =
275
55
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
276
55
        this->data(place).add(column.get_data()[row_num]);
277
55
    }
_ZNK5doris25AggregateFunctionBitmapOpINS_30AggregateFunctionBitmapUnionOpEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
273
38
             Arena&) const override {
274
38
        const auto& column =
275
38
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
276
38
        this->data(place).add(column.get_data()[row_num]);
277
38
    }
_ZNK5doris25AggregateFunctionBitmapOpINS_34AggregateFunctionBitmapIntersectOpEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
273
8
             Arena&) const override {
274
8
        const auto& column =
275
8
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
276
8
        this->data(place).add(column.get_data()[row_num]);
277
8
    }
_ZNK5doris25AggregateFunctionBitmapOpINS_33AggregateFunctionGroupBitmapXorOpEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
273
9
             Arena&) const override {
274
9
        const auto& column =
275
9
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
276
9
        this->data(place).add(column.get_data()[row_num]);
277
9
    }
278
279
    void add_many(AggregateDataPtr __restrict place, const IColumn** columns,
280
3
                  std::vector<int>& rows, Arena&) const override {
281
        // now this only for bitmap_union function
282
3
        if constexpr (std::is_same_v<Op, AggregateFunctionBitmapUnionOp>) {
283
3
            const auto& column =
284
3
                    assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
285
3
            std::vector<const BitmapValue*> values;
286
6
            for (auto row : rows) {
287
6
                values.push_back(&(column.get_data()[row]));
288
6
            }
289
3
            this->data(place).add_batch(values);
290
3
        }
291
3
    }
_ZNK5doris25AggregateFunctionBitmapOpINS_30AggregateFunctionBitmapUnionOpEE8add_manyEPcPPKNS_7IColumnERSt6vectorIiSaIiEERNS_5ArenaE
Line
Count
Source
280
3
                  std::vector<int>& rows, Arena&) const override {
281
        // now this only for bitmap_union function
282
3
        if constexpr (std::is_same_v<Op, AggregateFunctionBitmapUnionOp>) {
283
3
            const auto& column =
284
3
                    assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
285
3
            std::vector<const BitmapValue*> values;
286
6
            for (auto row : rows) {
287
6
                values.push_back(&(column.get_data()[row]));
288
6
            }
289
3
            this->data(place).add_batch(values);
290
3
        }
291
3
    }
Unexecuted instantiation: _ZNK5doris25AggregateFunctionBitmapOpINS_34AggregateFunctionBitmapIntersectOpEE8add_manyEPcPPKNS_7IColumnERSt6vectorIiSaIiEERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris25AggregateFunctionBitmapOpINS_33AggregateFunctionGroupBitmapXorOpEE8add_manyEPcPPKNS_7IColumnERSt6vectorIiSaIiEERNS_5ArenaE
292
293
    void add_batch_range(size_t batch_begin, size_t batch_end, AggregateDataPtr place,
294
0
                         const IColumn** columns, Arena& arena, bool has_null) override {
295
        // now this only for bitmap_union function
296
0
        if constexpr (std::is_same_v<Op, AggregateFunctionBitmapUnionOp>) {
297
0
            const auto& column =
298
0
                    assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
299
0
            std::vector<const BitmapValue*> values;
300
0
            for (size_t i = batch_begin; i <= batch_end; ++i) {
301
0
                values.push_back(&(column.get_data()[i]));
302
0
            }
303
0
            this->data(place).add_batch(values);
304
0
        } else {
305
0
            for (size_t i = batch_begin; i <= batch_end; ++i) {
306
0
                this->add(place, columns, i, arena);
307
0
            }
308
0
        }
309
0
    }
Unexecuted instantiation: _ZN5doris25AggregateFunctionBitmapOpINS_30AggregateFunctionBitmapUnionOpEE15add_batch_rangeEmmPcPPKNS_7IColumnERNS_5ArenaEb
Unexecuted instantiation: _ZN5doris25AggregateFunctionBitmapOpINS_34AggregateFunctionBitmapIntersectOpEE15add_batch_rangeEmmPcPPKNS_7IColumnERNS_5ArenaEb
Unexecuted instantiation: _ZN5doris25AggregateFunctionBitmapOpINS_33AggregateFunctionGroupBitmapXorOpEE15add_batch_rangeEmmPcPPKNS_7IColumnERNS_5ArenaEb
310
311
    void merge(AggregateDataPtr __restrict place, ConstAggregateDataPtr rhs,
312
0
               Arena&) const override {
313
0
        this->data(place).merge(this->data(rhs).get());
314
0
    }
Unexecuted instantiation: _ZNK5doris25AggregateFunctionBitmapOpINS_30AggregateFunctionBitmapUnionOpEE5mergeEPcPKcRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris25AggregateFunctionBitmapOpINS_34AggregateFunctionBitmapIntersectOpEE5mergeEPcPKcRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris25AggregateFunctionBitmapOpINS_33AggregateFunctionGroupBitmapXorOpEE5mergeEPcPKcRNS_5ArenaE
315
316
0
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
317
0
        this->data(place).write(buf);
318
0
    }
Unexecuted instantiation: _ZNK5doris25AggregateFunctionBitmapOpINS_30AggregateFunctionBitmapUnionOpEE9serializeEPKcRNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris25AggregateFunctionBitmapOpINS_34AggregateFunctionBitmapIntersectOpEE9serializeEPKcRNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris25AggregateFunctionBitmapOpINS_33AggregateFunctionGroupBitmapXorOpEE9serializeEPKcRNS_14BufferWritableE
319
320
    void deserialize(AggregateDataPtr __restrict place, BufferReadable& buf,
321
0
                     Arena&) const override {
322
0
        this->data(place).read(buf);
323
0
    }
Unexecuted instantiation: _ZNK5doris25AggregateFunctionBitmapOpINS_30AggregateFunctionBitmapUnionOpEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris25AggregateFunctionBitmapOpINS_34AggregateFunctionBitmapIntersectOpEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris25AggregateFunctionBitmapOpINS_33AggregateFunctionGroupBitmapXorOpEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
324
325
255
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
326
255
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
327
255
        column.get_data().push_back(this->data(place).get());
328
255
    }
_ZNK5doris25AggregateFunctionBitmapOpINS_30AggregateFunctionBitmapUnionOpEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
325
213
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
326
213
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
327
213
        column.get_data().push_back(this->data(place).get());
328
213
    }
_ZNK5doris25AggregateFunctionBitmapOpINS_34AggregateFunctionBitmapIntersectOpEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
325
21
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
326
21
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
327
21
        column.get_data().push_back(this->data(place).get());
328
21
    }
_ZNK5doris25AggregateFunctionBitmapOpINS_33AggregateFunctionGroupBitmapXorOpEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
325
21
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
326
21
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
327
21
        column.get_data().push_back(this->data(place).get());
328
21
    }
329
330
0
    void reset(AggregateDataPtr __restrict place) const override { this->data(place).reset(); }
Unexecuted instantiation: _ZNK5doris25AggregateFunctionBitmapOpINS_30AggregateFunctionBitmapUnionOpEE5resetEPc
Unexecuted instantiation: _ZNK5doris25AggregateFunctionBitmapOpINS_34AggregateFunctionBitmapIntersectOpEE5resetEPc
Unexecuted instantiation: _ZNK5doris25AggregateFunctionBitmapOpINS_33AggregateFunctionGroupBitmapXorOpEE5resetEPc
331
};
332
333
template <bool arg_is_nullable, typename ColVecType>
334
class AggregateFunctionBitmapCount final
335
        : public AggregateFunctionBitmapSerializationHelper<
336
                  AggregateFunctionBitmapData<AggregateFunctionBitmapUnionOp>,
337
                  AggregateFunctionBitmapCount<arg_is_nullable, ColVecType>>,
338
          UnaryExpression,
339
          NotNullableAggregateFunction {
340
public:
341
    // using ColVecType = ColumnBitmap;
342
    using ColVecResult = ColumnInt64;
343
    using AggFunctionData = AggregateFunctionBitmapData<AggregateFunctionBitmapUnionOp>;
344
    static int constexpr BATCH_HALF_ROWS = 4064 / 2;
345
346
    AggregateFunctionBitmapCount(const DataTypes& argument_types_)
347
51
            : AggregateFunctionBitmapSerializationHelper<
348
51
                      AggregateFunctionBitmapData<AggregateFunctionBitmapUnionOp>,
349
51
                      AggregateFunctionBitmapCount<arg_is_nullable, ColVecType>>(argument_types_) {}
_ZN5doris28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
347
1
            : AggregateFunctionBitmapSerializationHelper<
348
1
                      AggregateFunctionBitmapData<AggregateFunctionBitmapUnionOp>,
349
1
                      AggregateFunctionBitmapCount<arg_is_nullable, ColVecType>>(argument_types_) {}
_ZN5doris28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
347
2
            : AggregateFunctionBitmapSerializationHelper<
348
2
                      AggregateFunctionBitmapData<AggregateFunctionBitmapUnionOp>,
349
2
                      AggregateFunctionBitmapCount<arg_is_nullable, ColVecType>>(argument_types_) {}
_ZN5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
347
6
            : AggregateFunctionBitmapSerializationHelper<
348
6
                      AggregateFunctionBitmapData<AggregateFunctionBitmapUnionOp>,
349
6
                      AggregateFunctionBitmapCount<arg_is_nullable, ColVecType>>(argument_types_) {}
_ZN5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
347
6
            : AggregateFunctionBitmapSerializationHelper<
348
6
                      AggregateFunctionBitmapData<AggregateFunctionBitmapUnionOp>,
349
6
                      AggregateFunctionBitmapCount<arg_is_nullable, ColVecType>>(argument_types_) {}
_ZN5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
347
6
            : AggregateFunctionBitmapSerializationHelper<
348
6
                      AggregateFunctionBitmapData<AggregateFunctionBitmapUnionOp>,
349
6
                      AggregateFunctionBitmapCount<arg_is_nullable, ColVecType>>(argument_types_) {}
_ZN5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
347
6
            : AggregateFunctionBitmapSerializationHelper<
348
6
                      AggregateFunctionBitmapData<AggregateFunctionBitmapUnionOp>,
349
6
                      AggregateFunctionBitmapCount<arg_is_nullable, ColVecType>>(argument_types_) {}
_ZN5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
347
6
            : AggregateFunctionBitmapSerializationHelper<
348
6
                      AggregateFunctionBitmapData<AggregateFunctionBitmapUnionOp>,
349
6
                      AggregateFunctionBitmapCount<arg_is_nullable, ColVecType>>(argument_types_) {}
_ZN5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
347
6
            : AggregateFunctionBitmapSerializationHelper<
348
6
                      AggregateFunctionBitmapData<AggregateFunctionBitmapUnionOp>,
349
6
                      AggregateFunctionBitmapCount<arg_is_nullable, ColVecType>>(argument_types_) {}
_ZN5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
347
6
            : AggregateFunctionBitmapSerializationHelper<
348
6
                      AggregateFunctionBitmapData<AggregateFunctionBitmapUnionOp>,
349
6
                      AggregateFunctionBitmapCount<arg_is_nullable, ColVecType>>(argument_types_) {}
_ZN5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
347
6
            : AggregateFunctionBitmapSerializationHelper<
348
6
                      AggregateFunctionBitmapData<AggregateFunctionBitmapUnionOp>,
349
6
                      AggregateFunctionBitmapCount<arg_is_nullable, ColVecType>>(argument_types_) {}
350
351
46
    String get_name() const override {
352
46
        if constexpr (std::is_same_v<ColVecType, ColumnBitmap>) {
353
2
            return "bitmap_union_count";
354
44
        } else {
355
44
            return "bitmap_union_int";
356
44
        }
357
46
    }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE8get_nameB5cxx11Ev
Line
Count
Source
351
1
    String get_name() const override {
352
1
        if constexpr (std::is_same_v<ColVecType, ColumnBitmap>) {
353
1
            return "bitmap_union_count";
354
        } else {
355
            return "bitmap_union_int";
356
        }
357
1
    }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE8get_nameB5cxx11Ev
Line
Count
Source
351
1
    String get_name() const override {
352
1
        if constexpr (std::is_same_v<ColVecType, ColumnBitmap>) {
353
1
            return "bitmap_union_count";
354
        } else {
355
            return "bitmap_union_int";
356
        }
357
1
    }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEE8get_nameB5cxx11Ev
Line
Count
Source
351
6
    String get_name() const override {
352
        if constexpr (std::is_same_v<ColVecType, ColumnBitmap>) {
353
            return "bitmap_union_count";
354
6
        } else {
355
6
            return "bitmap_union_int";
356
6
        }
357
6
    }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEE8get_nameB5cxx11Ev
Line
Count
Source
351
6
    String get_name() const override {
352
        if constexpr (std::is_same_v<ColVecType, ColumnBitmap>) {
353
            return "bitmap_union_count";
354
6
        } else {
355
6
            return "bitmap_union_int";
356
6
        }
357
6
    }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEE8get_nameB5cxx11Ev
Line
Count
Source
351
6
    String get_name() const override {
352
        if constexpr (std::is_same_v<ColVecType, ColumnBitmap>) {
353
            return "bitmap_union_count";
354
6
        } else {
355
6
            return "bitmap_union_int";
356
6
        }
357
6
    }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEE8get_nameB5cxx11Ev
Line
Count
Source
351
6
    String get_name() const override {
352
        if constexpr (std::is_same_v<ColVecType, ColumnBitmap>) {
353
            return "bitmap_union_count";
354
6
        } else {
355
6
            return "bitmap_union_int";
356
6
        }
357
6
    }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEE8get_nameB5cxx11Ev
Line
Count
Source
351
5
    String get_name() const override {
352
        if constexpr (std::is_same_v<ColVecType, ColumnBitmap>) {
353
            return "bitmap_union_count";
354
5
        } else {
355
5
            return "bitmap_union_int";
356
5
        }
357
5
    }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEE8get_nameB5cxx11Ev
Line
Count
Source
351
5
    String get_name() const override {
352
        if constexpr (std::is_same_v<ColVecType, ColumnBitmap>) {
353
            return "bitmap_union_count";
354
5
        } else {
355
5
            return "bitmap_union_int";
356
5
        }
357
5
    }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEE8get_nameB5cxx11Ev
Line
Count
Source
351
5
    String get_name() const override {
352
        if constexpr (std::is_same_v<ColVecType, ColumnBitmap>) {
353
            return "bitmap_union_count";
354
5
        } else {
355
5
            return "bitmap_union_int";
356
5
        }
357
5
    }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEE8get_nameB5cxx11Ev
Line
Count
Source
351
5
    String get_name() const override {
352
        if constexpr (std::is_same_v<ColVecType, ColumnBitmap>) {
353
            return "bitmap_union_count";
354
5
        } else {
355
5
            return "bitmap_union_int";
356
5
        }
357
5
    }
358
359
322
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeInt64>(); }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE15get_return_typeEv
Line
Count
Source
359
7
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeInt64>(); }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE15get_return_typeEv
Line
Count
Source
359
7
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeInt64>(); }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEE15get_return_typeEv
Line
Count
Source
359
42
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeInt64>(); }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEE15get_return_typeEv
Line
Count
Source
359
42
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeInt64>(); }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEE15get_return_typeEv
Line
Count
Source
359
42
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeInt64>(); }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEE15get_return_typeEv
Line
Count
Source
359
42
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeInt64>(); }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEE15get_return_typeEv
Line
Count
Source
359
35
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeInt64>(); }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEE15get_return_typeEv
Line
Count
Source
359
35
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeInt64>(); }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEE15get_return_typeEv
Line
Count
Source
359
35
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeInt64>(); }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEE15get_return_typeEv
Line
Count
Source
359
35
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeInt64>(); }
360
361
    void add(AggregateDataPtr __restrict place, const IColumn** columns, ssize_t row_num,
362
12.3k
             Arena&) const override {
363
12.3k
        const IColumn* data_column = columns[0];
364
12.3k
        if constexpr (arg_is_nullable) {
365
6.23k
            const auto& nullable_column =
366
6.23k
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*columns[0]);
367
6.23k
            if (nullable_column.is_null_at(row_num)) {
368
175
                return;
369
175
            }
370
6.06k
            data_column = &nullable_column.get_nested_column();
371
6.06k
        }
372
0
        const auto& value =
373
12.3k
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*data_column)
374
12.3k
                        .get_data()[row_num];
375
12.3k
        if constexpr (!std::is_same_v<ColVecType, ColumnBitmap>) {
376
            // Match bitmap_agg and to_bitmap before conversion to uint64_t.
377
12.3k
            if (value < 0) {
378
6.04k
                return;
379
6.04k
            }
380
12.3k
        }
381
6.25k
        this->data(place).add(value);
382
12.3k
    }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
362
21
             Arena&) const override {
363
21
        const IColumn* data_column = columns[0];
364
21
        if constexpr (arg_is_nullable) {
365
21
            const auto& nullable_column =
366
21
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*columns[0]);
367
21
            if (nullable_column.is_null_at(row_num)) {
368
7
                return;
369
7
            }
370
14
            data_column = &nullable_column.get_nested_column();
371
14
        }
372
0
        const auto& value =
373
21
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*data_column)
374
21
                        .get_data()[row_num];
375
        if constexpr (!std::is_same_v<ColVecType, ColumnBitmap>) {
376
            // Match bitmap_agg and to_bitmap before conversion to uint64_t.
377
            if (value < 0) {
378
                return;
379
            }
380
        }
381
21
        this->data(place).add(value);
382
21
    }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
362
23
             Arena&) const override {
363
23
        const IColumn* data_column = columns[0];
364
        if constexpr (arg_is_nullable) {
365
            const auto& nullable_column =
366
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*columns[0]);
367
            if (nullable_column.is_null_at(row_num)) {
368
                return;
369
            }
370
            data_column = &nullable_column.get_nested_column();
371
        }
372
23
        const auto& value =
373
23
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*data_column)
374
23
                        .get_data()[row_num];
375
        if constexpr (!std::is_same_v<ColVecType, ColumnBitmap>) {
376
            // Match bitmap_agg and to_bitmap before conversion to uint64_t.
377
            if (value < 0) {
378
                return;
379
            }
380
        }
381
23
        this->data(place).add(value);
382
23
    }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
362
1.55k
             Arena&) const override {
363
1.55k
        const IColumn* data_column = columns[0];
364
1.55k
        if constexpr (arg_is_nullable) {
365
1.55k
            const auto& nullable_column =
366
1.55k
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*columns[0]);
367
1.55k
            if (nullable_column.is_null_at(row_num)) {
368
42
                return;
369
42
            }
370
1.51k
            data_column = &nullable_column.get_nested_column();
371
1.51k
        }
372
0
        const auto& value =
373
1.55k
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*data_column)
374
1.55k
                        .get_data()[row_num];
375
1.55k
        if constexpr (!std::is_same_v<ColVecType, ColumnBitmap>) {
376
            // Match bitmap_agg and to_bitmap before conversion to uint64_t.
377
1.55k
            if (value < 0) {
378
756
                return;
379
756
            }
380
1.55k
        }
381
798
        this->data(place).add(value);
382
1.55k
    }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
362
1.55k
             Arena&) const override {
363
1.55k
        const IColumn* data_column = columns[0];
364
1.55k
        if constexpr (arg_is_nullable) {
365
1.55k
            const auto& nullable_column =
366
1.55k
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*columns[0]);
367
1.55k
            if (nullable_column.is_null_at(row_num)) {
368
42
                return;
369
42
            }
370
1.51k
            data_column = &nullable_column.get_nested_column();
371
1.51k
        }
372
0
        const auto& value =
373
1.55k
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*data_column)
374
1.55k
                        .get_data()[row_num];
375
1.55k
        if constexpr (!std::is_same_v<ColVecType, ColumnBitmap>) {
376
            // Match bitmap_agg and to_bitmap before conversion to uint64_t.
377
1.55k
            if (value < 0) {
378
756
                return;
379
756
            }
380
1.55k
        }
381
798
        this->data(place).add(value);
382
1.55k
    }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
362
1.55k
             Arena&) const override {
363
1.55k
        const IColumn* data_column = columns[0];
364
1.55k
        if constexpr (arg_is_nullable) {
365
1.55k
            const auto& nullable_column =
366
1.55k
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*columns[0]);
367
1.55k
            if (nullable_column.is_null_at(row_num)) {
368
42
                return;
369
42
            }
370
1.51k
            data_column = &nullable_column.get_nested_column();
371
1.51k
        }
372
0
        const auto& value =
373
1.55k
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*data_column)
374
1.55k
                        .get_data()[row_num];
375
1.55k
        if constexpr (!std::is_same_v<ColVecType, ColumnBitmap>) {
376
            // Match bitmap_agg and to_bitmap before conversion to uint64_t.
377
1.55k
            if (value < 0) {
378
756
                return;
379
756
            }
380
1.55k
        }
381
798
        this->data(place).add(value);
382
1.55k
    }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
362
1.55k
             Arena&) const override {
363
1.55k
        const IColumn* data_column = columns[0];
364
1.55k
        if constexpr (arg_is_nullable) {
365
1.55k
            const auto& nullable_column =
366
1.55k
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*columns[0]);
367
1.55k
            if (nullable_column.is_null_at(row_num)) {
368
42
                return;
369
42
            }
370
1.51k
            data_column = &nullable_column.get_nested_column();
371
1.51k
        }
372
0
        const auto& value =
373
1.55k
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*data_column)
374
1.55k
                        .get_data()[row_num];
375
1.55k
        if constexpr (!std::is_same_v<ColVecType, ColumnBitmap>) {
376
            // Match bitmap_agg and to_bitmap before conversion to uint64_t.
377
1.55k
            if (value < 0) {
378
756
                return;
379
756
            }
380
1.55k
        }
381
798
        this->data(place).add(value);
382
1.55k
    }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
362
1.52k
             Arena&) const override {
363
1.52k
        const IColumn* data_column = columns[0];
364
        if constexpr (arg_is_nullable) {
365
            const auto& nullable_column =
366
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*columns[0]);
367
            if (nullable_column.is_null_at(row_num)) {
368
                return;
369
            }
370
            data_column = &nullable_column.get_nested_column();
371
        }
372
1.52k
        const auto& value =
373
1.52k
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*data_column)
374
1.52k
                        .get_data()[row_num];
375
1.52k
        if constexpr (!std::is_same_v<ColVecType, ColumnBitmap>) {
376
            // Match bitmap_agg and to_bitmap before conversion to uint64_t.
377
1.52k
            if (value < 0) {
378
756
                return;
379
756
            }
380
1.52k
        }
381
765
        this->data(place).add(value);
382
1.52k
    }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
362
1.52k
             Arena&) const override {
363
1.52k
        const IColumn* data_column = columns[0];
364
        if constexpr (arg_is_nullable) {
365
            const auto& nullable_column =
366
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*columns[0]);
367
            if (nullable_column.is_null_at(row_num)) {
368
                return;
369
            }
370
            data_column = &nullable_column.get_nested_column();
371
        }
372
1.52k
        const auto& value =
373
1.52k
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*data_column)
374
1.52k
                        .get_data()[row_num];
375
1.52k
        if constexpr (!std::is_same_v<ColVecType, ColumnBitmap>) {
376
            // Match bitmap_agg and to_bitmap before conversion to uint64_t.
377
1.52k
            if (value < 0) {
378
756
                return;
379
756
            }
380
1.52k
        }
381
765
        this->data(place).add(value);
382
1.52k
    }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
362
1.52k
             Arena&) const override {
363
1.52k
        const IColumn* data_column = columns[0];
364
        if constexpr (arg_is_nullable) {
365
            const auto& nullable_column =
366
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*columns[0]);
367
            if (nullable_column.is_null_at(row_num)) {
368
                return;
369
            }
370
            data_column = &nullable_column.get_nested_column();
371
        }
372
1.52k
        const auto& value =
373
1.52k
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*data_column)
374
1.52k
                        .get_data()[row_num];
375
1.52k
        if constexpr (!std::is_same_v<ColVecType, ColumnBitmap>) {
376
            // Match bitmap_agg and to_bitmap before conversion to uint64_t.
377
1.52k
            if (value < 0) {
378
756
                return;
379
756
            }
380
1.52k
        }
381
765
        this->data(place).add(value);
382
1.52k
    }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
362
1.52k
             Arena&) const override {
363
1.52k
        const IColumn* data_column = columns[0];
364
        if constexpr (arg_is_nullable) {
365
            const auto& nullable_column =
366
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*columns[0]);
367
            if (nullable_column.is_null_at(row_num)) {
368
                return;
369
            }
370
            data_column = &nullable_column.get_nested_column();
371
        }
372
1.52k
        const auto& value =
373
1.52k
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*data_column)
374
1.52k
                        .get_data()[row_num];
375
1.52k
        if constexpr (!std::is_same_v<ColVecType, ColumnBitmap>) {
376
            // Match bitmap_agg and to_bitmap before conversion to uint64_t.
377
1.52k
            if (value < 0) {
378
756
                return;
379
756
            }
380
1.52k
        }
381
765
        this->data(place).add(value);
382
1.52k
    }
383
384
    void add_many(AggregateDataPtr __restrict place, const IColumn** columns,
385
0
                  std::vector<int>& rows, Arena&) const override {
386
        // now this only for bitmap_union_count function
387
0
        if constexpr (arg_is_nullable && std::is_same_v<ColVecType, ColumnBitmap>) {
388
0
            const auto& nullable_column =
389
0
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*columns[0]);
390
0
            const auto& column = assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(
391
0
                    nullable_column.get_nested_column());
392
0
            std::vector<const BitmapValue*> values;
393
0
            for (auto row : rows) {
394
0
                if (!nullable_column.is_null_at(row)) {
395
0
                    values.push_back(&(column.get_data()[row]));
396
0
                }
397
0
            }
398
0
            this->data(place).add_batch(values);
399
0
        } else if constexpr (std::is_same_v<ColVecType, ColumnBitmap>) {
400
0
            const auto& column =
401
0
                    assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
402
0
            std::vector<const BitmapValue*> values;
403
0
            for (auto row : rows) {
404
0
                values.push_back(&(column.get_data()[row]));
405
0
            }
406
0
            this->data(place).add_batch(values);
407
0
        }
408
0
    }
Unexecuted instantiation: _ZNK5doris28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE8add_manyEPcPPKNS_7IColumnERSt6vectorIiSaIiEERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE8add_manyEPcPPKNS_7IColumnERSt6vectorIiSaIiEERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEE8add_manyEPcPPKNS_7IColumnERSt6vectorIiSaIiEERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEE8add_manyEPcPPKNS_7IColumnERSt6vectorIiSaIiEERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEE8add_manyEPcPPKNS_7IColumnERSt6vectorIiSaIiEERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEE8add_manyEPcPPKNS_7IColumnERSt6vectorIiSaIiEERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEE8add_manyEPcPPKNS_7IColumnERSt6vectorIiSaIiEERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEE8add_manyEPcPPKNS_7IColumnERSt6vectorIiSaIiEERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEE8add_manyEPcPPKNS_7IColumnERSt6vectorIiSaIiEERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEE8add_manyEPcPPKNS_7IColumnERSt6vectorIiSaIiEERNS_5ArenaE
409
410
    void add_batch_single_place(size_t batch_size, AggregateDataPtr place, const IColumn** columns,
411
276
                                Arena& arena) const override {
412
276
        auto normal_add_lambda = [&]() {
413
10.8k
            for (size_t i = 0; i < batch_size; ++i) {
414
10.5k
                this->add(place, columns, i, arena);
415
10.5k
            }
416
276
        };
_ZZNK5doris28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE22add_batch_single_placeEmPcPPKNS_7IColumnERNS_5ArenaEENKUlvE_clEv
Line
Count
Source
412
6
        auto normal_add_lambda = [&]() {
413
24
            for (size_t i = 0; i < batch_size; ++i) {
414
18
                this->add(place, columns, i, arena);
415
18
            }
416
6
        };
_ZZNK5doris28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE22add_batch_single_placeEmPcPPKNS_7IColumnERNS_5ArenaEENKUlvE_clEv
Line
Count
Source
412
6
        auto normal_add_lambda = [&]() {
413
18
            for (size_t i = 0; i < batch_size; ++i) {
414
12
                this->add(place, columns, i, arena);
415
12
            }
416
6
        };
_ZZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEE22add_batch_single_placeEmPcPPKNS_7IColumnERNS_5ArenaEENKUlvE_clEv
Line
Count
Source
412
36
        auto normal_add_lambda = [&]() {
413
1.36k
            for (size_t i = 0; i < batch_size; ++i) {
414
1.33k
                this->add(place, columns, i, arena);
415
1.33k
            }
416
36
        };
_ZZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEE22add_batch_single_placeEmPcPPKNS_7IColumnERNS_5ArenaEENKUlvE_clEv
Line
Count
Source
412
36
        auto normal_add_lambda = [&]() {
413
1.36k
            for (size_t i = 0; i < batch_size; ++i) {
414
1.33k
                this->add(place, columns, i, arena);
415
1.33k
            }
416
36
        };
_ZZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEE22add_batch_single_placeEmPcPPKNS_7IColumnERNS_5ArenaEENKUlvE_clEv
Line
Count
Source
412
36
        auto normal_add_lambda = [&]() {
413
1.36k
            for (size_t i = 0; i < batch_size; ++i) {
414
1.33k
                this->add(place, columns, i, arena);
415
1.33k
            }
416
36
        };
_ZZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEE22add_batch_single_placeEmPcPPKNS_7IColumnERNS_5ArenaEENKUlvE_clEv
Line
Count
Source
412
36
        auto normal_add_lambda = [&]() {
413
1.36k
            for (size_t i = 0; i < batch_size; ++i) {
414
1.33k
                this->add(place, columns, i, arena);
415
1.33k
            }
416
36
        };
_ZZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEE22add_batch_single_placeEmPcPPKNS_7IColumnERNS_5ArenaEENKUlvE_clEv
Line
Count
Source
412
30
        auto normal_add_lambda = [&]() {
413
1.32k
            for (size_t i = 0; i < batch_size; ++i) {
414
1.29k
                this->add(place, columns, i, arena);
415
1.29k
            }
416
30
        };
_ZZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEE22add_batch_single_placeEmPcPPKNS_7IColumnERNS_5ArenaEENKUlvE_clEv
Line
Count
Source
412
30
        auto normal_add_lambda = [&]() {
413
1.32k
            for (size_t i = 0; i < batch_size; ++i) {
414
1.29k
                this->add(place, columns, i, arena);
415
1.29k
            }
416
30
        };
_ZZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEE22add_batch_single_placeEmPcPPKNS_7IColumnERNS_5ArenaEENKUlvE_clEv
Line
Count
Source
412
30
        auto normal_add_lambda = [&]() {
413
1.32k
            for (size_t i = 0; i < batch_size; ++i) {
414
1.29k
                this->add(place, columns, i, arena);
415
1.29k
            }
416
30
        };
_ZZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEE22add_batch_single_placeEmPcPPKNS_7IColumnERNS_5ArenaEENKUlvE_clEv
Line
Count
Source
412
30
        auto normal_add_lambda = [&]() {
413
1.32k
            for (size_t i = 0; i < batch_size; ++i) {
414
1.29k
                this->add(place, columns, i, arena);
415
1.29k
            }
416
30
        };
417
418
        // now this only for bitmap_union_count function
419
276
        if constexpr (std::is_same_v<ColVecType, ColumnBitmap>) {
420
            // if batch_size is small, the add_batch of fast union seems to be slower than normal add
421
12
            if (batch_size < BATCH_HALF_ROWS) {
422
12
                normal_add_lambda();
423
12
                return;
424
12
            }
425
0
            auto add_batch_lambda = [&](const IColumn& data_column, const NullMap* null_map) {
426
0
                const auto& column =
427
0
                        assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(data_column);
428
0
                std::vector<const BitmapValue*> values;
429
0
                for (size_t i = 0; i < batch_size; ++i) {
430
0
                    if constexpr (arg_is_nullable) {
431
0
                        if ((*null_map)[i]) {
432
0
                            continue; // skip null value
433
0
                        }
434
0
                    }
435
0
                    values.push_back(&(column.get_data()[i]));
436
0
                }
437
0
                this->data(place).add_batch(values);
438
0
            };
Unexecuted instantiation: _ZZNK5doris28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE22add_batch_single_placeEmPcPPKNS_7IColumnERNS_5ArenaEENKUlRS7_PKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEE_clESC_SJ_
Unexecuted instantiation: _ZZNK5doris28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE22add_batch_single_placeEmPcPPKNS_7IColumnERNS_5ArenaEENKUlRS7_PKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEE_clESC_SJ_
439
440
0
            if constexpr (arg_is_nullable) {
441
0
                const auto& nullable_column =
442
0
                        assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(
443
0
                                *columns[0]);
444
0
                add_batch_lambda(nullable_column.get_nested_column(),
445
0
                                 &(nullable_column.get_null_map_data()));
446
0
            } else {
447
0
                add_batch_lambda(*columns[0], nullptr);
448
0
            }
449
264
        } else {
450
264
            normal_add_lambda();
451
264
        }
452
276
    }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE22add_batch_single_placeEmPcPPKNS_7IColumnERNS_5ArenaE
Line
Count
Source
411
6
                                Arena& arena) const override {
412
6
        auto normal_add_lambda = [&]() {
413
6
            for (size_t i = 0; i < batch_size; ++i) {
414
6
                this->add(place, columns, i, arena);
415
6
            }
416
6
        };
417
418
        // now this only for bitmap_union_count function
419
6
        if constexpr (std::is_same_v<ColVecType, ColumnBitmap>) {
420
            // if batch_size is small, the add_batch of fast union seems to be slower than normal add
421
6
            if (batch_size < BATCH_HALF_ROWS) {
422
6
                normal_add_lambda();
423
6
                return;
424
6
            }
425
0
            auto add_batch_lambda = [&](const IColumn& data_column, const NullMap* null_map) {
426
0
                const auto& column =
427
0
                        assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(data_column);
428
0
                std::vector<const BitmapValue*> values;
429
0
                for (size_t i = 0; i < batch_size; ++i) {
430
0
                    if constexpr (arg_is_nullable) {
431
0
                        if ((*null_map)[i]) {
432
0
                            continue; // skip null value
433
0
                        }
434
0
                    }
435
0
                    values.push_back(&(column.get_data()[i]));
436
0
                }
437
0
                this->data(place).add_batch(values);
438
0
            };
439
440
0
            if constexpr (arg_is_nullable) {
441
0
                const auto& nullable_column =
442
0
                        assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(
443
0
                                *columns[0]);
444
0
                add_batch_lambda(nullable_column.get_nested_column(),
445
0
                                 &(nullable_column.get_null_map_data()));
446
            } else {
447
                add_batch_lambda(*columns[0], nullptr);
448
            }
449
        } else {
450
            normal_add_lambda();
451
        }
452
6
    }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE22add_batch_single_placeEmPcPPKNS_7IColumnERNS_5ArenaE
Line
Count
Source
411
6
                                Arena& arena) const override {
412
6
        auto normal_add_lambda = [&]() {
413
6
            for (size_t i = 0; i < batch_size; ++i) {
414
6
                this->add(place, columns, i, arena);
415
6
            }
416
6
        };
417
418
        // now this only for bitmap_union_count function
419
6
        if constexpr (std::is_same_v<ColVecType, ColumnBitmap>) {
420
            // if batch_size is small, the add_batch of fast union seems to be slower than normal add
421
6
            if (batch_size < BATCH_HALF_ROWS) {
422
6
                normal_add_lambda();
423
6
                return;
424
6
            }
425
0
            auto add_batch_lambda = [&](const IColumn& data_column, const NullMap* null_map) {
426
0
                const auto& column =
427
0
                        assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(data_column);
428
0
                std::vector<const BitmapValue*> values;
429
0
                for (size_t i = 0; i < batch_size; ++i) {
430
0
                    if constexpr (arg_is_nullable) {
431
0
                        if ((*null_map)[i]) {
432
0
                            continue; // skip null value
433
0
                        }
434
0
                    }
435
0
                    values.push_back(&(column.get_data()[i]));
436
0
                }
437
0
                this->data(place).add_batch(values);
438
0
            };
439
440
            if constexpr (arg_is_nullable) {
441
                const auto& nullable_column =
442
                        assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(
443
                                *columns[0]);
444
                add_batch_lambda(nullable_column.get_nested_column(),
445
                                 &(nullable_column.get_null_map_data()));
446
0
            } else {
447
0
                add_batch_lambda(*columns[0], nullptr);
448
0
            }
449
        } else {
450
            normal_add_lambda();
451
        }
452
6
    }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEE22add_batch_single_placeEmPcPPKNS_7IColumnERNS_5ArenaE
Line
Count
Source
411
36
                                Arena& arena) const override {
412
36
        auto normal_add_lambda = [&]() {
413
36
            for (size_t i = 0; i < batch_size; ++i) {
414
36
                this->add(place, columns, i, arena);
415
36
            }
416
36
        };
417
418
        // now this only for bitmap_union_count function
419
        if constexpr (std::is_same_v<ColVecType, ColumnBitmap>) {
420
            // if batch_size is small, the add_batch of fast union seems to be slower than normal add
421
            if (batch_size < BATCH_HALF_ROWS) {
422
                normal_add_lambda();
423
                return;
424
            }
425
            auto add_batch_lambda = [&](const IColumn& data_column, const NullMap* null_map) {
426
                const auto& column =
427
                        assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(data_column);
428
                std::vector<const BitmapValue*> values;
429
                for (size_t i = 0; i < batch_size; ++i) {
430
                    if constexpr (arg_is_nullable) {
431
                        if ((*null_map)[i]) {
432
                            continue; // skip null value
433
                        }
434
                    }
435
                    values.push_back(&(column.get_data()[i]));
436
                }
437
                this->data(place).add_batch(values);
438
            };
439
440
            if constexpr (arg_is_nullable) {
441
                const auto& nullable_column =
442
                        assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(
443
                                *columns[0]);
444
                add_batch_lambda(nullable_column.get_nested_column(),
445
                                 &(nullable_column.get_null_map_data()));
446
            } else {
447
                add_batch_lambda(*columns[0], nullptr);
448
            }
449
36
        } else {
450
36
            normal_add_lambda();
451
36
        }
452
36
    }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEE22add_batch_single_placeEmPcPPKNS_7IColumnERNS_5ArenaE
Line
Count
Source
411
36
                                Arena& arena) const override {
412
36
        auto normal_add_lambda = [&]() {
413
36
            for (size_t i = 0; i < batch_size; ++i) {
414
36
                this->add(place, columns, i, arena);
415
36
            }
416
36
        };
417
418
        // now this only for bitmap_union_count function
419
        if constexpr (std::is_same_v<ColVecType, ColumnBitmap>) {
420
            // if batch_size is small, the add_batch of fast union seems to be slower than normal add
421
            if (batch_size < BATCH_HALF_ROWS) {
422
                normal_add_lambda();
423
                return;
424
            }
425
            auto add_batch_lambda = [&](const IColumn& data_column, const NullMap* null_map) {
426
                const auto& column =
427
                        assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(data_column);
428
                std::vector<const BitmapValue*> values;
429
                for (size_t i = 0; i < batch_size; ++i) {
430
                    if constexpr (arg_is_nullable) {
431
                        if ((*null_map)[i]) {
432
                            continue; // skip null value
433
                        }
434
                    }
435
                    values.push_back(&(column.get_data()[i]));
436
                }
437
                this->data(place).add_batch(values);
438
            };
439
440
            if constexpr (arg_is_nullable) {
441
                const auto& nullable_column =
442
                        assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(
443
                                *columns[0]);
444
                add_batch_lambda(nullable_column.get_nested_column(),
445
                                 &(nullable_column.get_null_map_data()));
446
            } else {
447
                add_batch_lambda(*columns[0], nullptr);
448
            }
449
36
        } else {
450
36
            normal_add_lambda();
451
36
        }
452
36
    }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEE22add_batch_single_placeEmPcPPKNS_7IColumnERNS_5ArenaE
Line
Count
Source
411
36
                                Arena& arena) const override {
412
36
        auto normal_add_lambda = [&]() {
413
36
            for (size_t i = 0; i < batch_size; ++i) {
414
36
                this->add(place, columns, i, arena);
415
36
            }
416
36
        };
417
418
        // now this only for bitmap_union_count function
419
        if constexpr (std::is_same_v<ColVecType, ColumnBitmap>) {
420
            // if batch_size is small, the add_batch of fast union seems to be slower than normal add
421
            if (batch_size < BATCH_HALF_ROWS) {
422
                normal_add_lambda();
423
                return;
424
            }
425
            auto add_batch_lambda = [&](const IColumn& data_column, const NullMap* null_map) {
426
                const auto& column =
427
                        assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(data_column);
428
                std::vector<const BitmapValue*> values;
429
                for (size_t i = 0; i < batch_size; ++i) {
430
                    if constexpr (arg_is_nullable) {
431
                        if ((*null_map)[i]) {
432
                            continue; // skip null value
433
                        }
434
                    }
435
                    values.push_back(&(column.get_data()[i]));
436
                }
437
                this->data(place).add_batch(values);
438
            };
439
440
            if constexpr (arg_is_nullable) {
441
                const auto& nullable_column =
442
                        assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(
443
                                *columns[0]);
444
                add_batch_lambda(nullable_column.get_nested_column(),
445
                                 &(nullable_column.get_null_map_data()));
446
            } else {
447
                add_batch_lambda(*columns[0], nullptr);
448
            }
449
36
        } else {
450
36
            normal_add_lambda();
451
36
        }
452
36
    }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEE22add_batch_single_placeEmPcPPKNS_7IColumnERNS_5ArenaE
Line
Count
Source
411
36
                                Arena& arena) const override {
412
36
        auto normal_add_lambda = [&]() {
413
36
            for (size_t i = 0; i < batch_size; ++i) {
414
36
                this->add(place, columns, i, arena);
415
36
            }
416
36
        };
417
418
        // now this only for bitmap_union_count function
419
        if constexpr (std::is_same_v<ColVecType, ColumnBitmap>) {
420
            // if batch_size is small, the add_batch of fast union seems to be slower than normal add
421
            if (batch_size < BATCH_HALF_ROWS) {
422
                normal_add_lambda();
423
                return;
424
            }
425
            auto add_batch_lambda = [&](const IColumn& data_column, const NullMap* null_map) {
426
                const auto& column =
427
                        assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(data_column);
428
                std::vector<const BitmapValue*> values;
429
                for (size_t i = 0; i < batch_size; ++i) {
430
                    if constexpr (arg_is_nullable) {
431
                        if ((*null_map)[i]) {
432
                            continue; // skip null value
433
                        }
434
                    }
435
                    values.push_back(&(column.get_data()[i]));
436
                }
437
                this->data(place).add_batch(values);
438
            };
439
440
            if constexpr (arg_is_nullable) {
441
                const auto& nullable_column =
442
                        assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(
443
                                *columns[0]);
444
                add_batch_lambda(nullable_column.get_nested_column(),
445
                                 &(nullable_column.get_null_map_data()));
446
            } else {
447
                add_batch_lambda(*columns[0], nullptr);
448
            }
449
36
        } else {
450
36
            normal_add_lambda();
451
36
        }
452
36
    }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEE22add_batch_single_placeEmPcPPKNS_7IColumnERNS_5ArenaE
Line
Count
Source
411
30
                                Arena& arena) const override {
412
30
        auto normal_add_lambda = [&]() {
413
30
            for (size_t i = 0; i < batch_size; ++i) {
414
30
                this->add(place, columns, i, arena);
415
30
            }
416
30
        };
417
418
        // now this only for bitmap_union_count function
419
        if constexpr (std::is_same_v<ColVecType, ColumnBitmap>) {
420
            // if batch_size is small, the add_batch of fast union seems to be slower than normal add
421
            if (batch_size < BATCH_HALF_ROWS) {
422
                normal_add_lambda();
423
                return;
424
            }
425
            auto add_batch_lambda = [&](const IColumn& data_column, const NullMap* null_map) {
426
                const auto& column =
427
                        assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(data_column);
428
                std::vector<const BitmapValue*> values;
429
                for (size_t i = 0; i < batch_size; ++i) {
430
                    if constexpr (arg_is_nullable) {
431
                        if ((*null_map)[i]) {
432
                            continue; // skip null value
433
                        }
434
                    }
435
                    values.push_back(&(column.get_data()[i]));
436
                }
437
                this->data(place).add_batch(values);
438
            };
439
440
            if constexpr (arg_is_nullable) {
441
                const auto& nullable_column =
442
                        assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(
443
                                *columns[0]);
444
                add_batch_lambda(nullable_column.get_nested_column(),
445
                                 &(nullable_column.get_null_map_data()));
446
            } else {
447
                add_batch_lambda(*columns[0], nullptr);
448
            }
449
30
        } else {
450
30
            normal_add_lambda();
451
30
        }
452
30
    }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEE22add_batch_single_placeEmPcPPKNS_7IColumnERNS_5ArenaE
Line
Count
Source
411
30
                                Arena& arena) const override {
412
30
        auto normal_add_lambda = [&]() {
413
30
            for (size_t i = 0; i < batch_size; ++i) {
414
30
                this->add(place, columns, i, arena);
415
30
            }
416
30
        };
417
418
        // now this only for bitmap_union_count function
419
        if constexpr (std::is_same_v<ColVecType, ColumnBitmap>) {
420
            // if batch_size is small, the add_batch of fast union seems to be slower than normal add
421
            if (batch_size < BATCH_HALF_ROWS) {
422
                normal_add_lambda();
423
                return;
424
            }
425
            auto add_batch_lambda = [&](const IColumn& data_column, const NullMap* null_map) {
426
                const auto& column =
427
                        assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(data_column);
428
                std::vector<const BitmapValue*> values;
429
                for (size_t i = 0; i < batch_size; ++i) {
430
                    if constexpr (arg_is_nullable) {
431
                        if ((*null_map)[i]) {
432
                            continue; // skip null value
433
                        }
434
                    }
435
                    values.push_back(&(column.get_data()[i]));
436
                }
437
                this->data(place).add_batch(values);
438
            };
439
440
            if constexpr (arg_is_nullable) {
441
                const auto& nullable_column =
442
                        assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(
443
                                *columns[0]);
444
                add_batch_lambda(nullable_column.get_nested_column(),
445
                                 &(nullable_column.get_null_map_data()));
446
            } else {
447
                add_batch_lambda(*columns[0], nullptr);
448
            }
449
30
        } else {
450
30
            normal_add_lambda();
451
30
        }
452
30
    }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEE22add_batch_single_placeEmPcPPKNS_7IColumnERNS_5ArenaE
Line
Count
Source
411
30
                                Arena& arena) const override {
412
30
        auto normal_add_lambda = [&]() {
413
30
            for (size_t i = 0; i < batch_size; ++i) {
414
30
                this->add(place, columns, i, arena);
415
30
            }
416
30
        };
417
418
        // now this only for bitmap_union_count function
419
        if constexpr (std::is_same_v<ColVecType, ColumnBitmap>) {
420
            // if batch_size is small, the add_batch of fast union seems to be slower than normal add
421
            if (batch_size < BATCH_HALF_ROWS) {
422
                normal_add_lambda();
423
                return;
424
            }
425
            auto add_batch_lambda = [&](const IColumn& data_column, const NullMap* null_map) {
426
                const auto& column =
427
                        assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(data_column);
428
                std::vector<const BitmapValue*> values;
429
                for (size_t i = 0; i < batch_size; ++i) {
430
                    if constexpr (arg_is_nullable) {
431
                        if ((*null_map)[i]) {
432
                            continue; // skip null value
433
                        }
434
                    }
435
                    values.push_back(&(column.get_data()[i]));
436
                }
437
                this->data(place).add_batch(values);
438
            };
439
440
            if constexpr (arg_is_nullable) {
441
                const auto& nullable_column =
442
                        assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(
443
                                *columns[0]);
444
                add_batch_lambda(nullable_column.get_nested_column(),
445
                                 &(nullable_column.get_null_map_data()));
446
            } else {
447
                add_batch_lambda(*columns[0], nullptr);
448
            }
449
30
        } else {
450
30
            normal_add_lambda();
451
30
        }
452
30
    }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEE22add_batch_single_placeEmPcPPKNS_7IColumnERNS_5ArenaE
Line
Count
Source
411
30
                                Arena& arena) const override {
412
30
        auto normal_add_lambda = [&]() {
413
30
            for (size_t i = 0; i < batch_size; ++i) {
414
30
                this->add(place, columns, i, arena);
415
30
            }
416
30
        };
417
418
        // now this only for bitmap_union_count function
419
        if constexpr (std::is_same_v<ColVecType, ColumnBitmap>) {
420
            // if batch_size is small, the add_batch of fast union seems to be slower than normal add
421
            if (batch_size < BATCH_HALF_ROWS) {
422
                normal_add_lambda();
423
                return;
424
            }
425
            auto add_batch_lambda = [&](const IColumn& data_column, const NullMap* null_map) {
426
                const auto& column =
427
                        assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(data_column);
428
                std::vector<const BitmapValue*> values;
429
                for (size_t i = 0; i < batch_size; ++i) {
430
                    if constexpr (arg_is_nullable) {
431
                        if ((*null_map)[i]) {
432
                            continue; // skip null value
433
                        }
434
                    }
435
                    values.push_back(&(column.get_data()[i]));
436
                }
437
                this->data(place).add_batch(values);
438
            };
439
440
            if constexpr (arg_is_nullable) {
441
                const auto& nullable_column =
442
                        assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(
443
                                *columns[0]);
444
                add_batch_lambda(nullable_column.get_nested_column(),
445
                                 &(nullable_column.get_null_map_data()));
446
            } else {
447
                add_batch_lambda(*columns[0], nullptr);
448
            }
449
30
        } else {
450
30
            normal_add_lambda();
451
30
        }
452
30
    }
453
454
    void merge(AggregateDataPtr __restrict place, ConstAggregateDataPtr rhs,
455
0
               Arena&) const override {
456
0
        this->data(place).merge(this->data(rhs).get());
457
0
    }
Unexecuted instantiation: _ZNK5doris28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE5mergeEPcPKcRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE5mergeEPcPKcRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEE5mergeEPcPKcRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEE5mergeEPcPKcRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEE5mergeEPcPKcRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEE5mergeEPcPKcRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEE5mergeEPcPKcRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEE5mergeEPcPKcRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEE5mergeEPcPKcRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEE5mergeEPcPKcRNS_5ArenaE
458
459
0
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
460
0
        this->data(place).write(buf);
461
0
    }
Unexecuted instantiation: _ZNK5doris28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE9serializeEPKcRNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE9serializeEPKcRNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEE9serializeEPKcRNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEE9serializeEPKcRNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEE9serializeEPKcRNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEE9serializeEPKcRNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEE9serializeEPKcRNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEE9serializeEPKcRNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEE9serializeEPKcRNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEE9serializeEPKcRNS_14BufferWritableE
462
463
    void deserialize(AggregateDataPtr __restrict place, BufferReadable& buf,
464
0
                     Arena&) const override {
465
0
        this->data(place).read(buf);
466
0
    }
Unexecuted instantiation: _ZNK5doris28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Unexecuted instantiation: _ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
467
468
281
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
469
281
        auto& value_data = this->data(place).get();
470
281
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
471
281
        column.get_data().push_back(value_data.cardinality());
472
281
    }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
468
6
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
469
6
        auto& value_data = this->data(place).get();
470
6
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
471
6
        column.get_data().push_back(value_data.cardinality());
472
6
    }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
468
7
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
469
7
        auto& value_data = this->data(place).get();
470
7
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
471
7
        column.get_data().push_back(value_data.cardinality());
472
7
    }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
468
36
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
469
36
        auto& value_data = this->data(place).get();
470
36
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
471
36
        column.get_data().push_back(value_data.cardinality());
472
36
    }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
468
36
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
469
36
        auto& value_data = this->data(place).get();
470
36
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
471
36
        column.get_data().push_back(value_data.cardinality());
472
36
    }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
468
36
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
469
36
        auto& value_data = this->data(place).get();
470
36
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
471
36
        column.get_data().push_back(value_data.cardinality());
472
36
    }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
468
36
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
469
36
        auto& value_data = this->data(place).get();
470
36
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
471
36
        column.get_data().push_back(value_data.cardinality());
472
36
    }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
468
31
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
469
31
        auto& value_data = this->data(place).get();
470
31
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
471
31
        column.get_data().push_back(value_data.cardinality());
472
31
    }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
468
31
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
469
31
        auto& value_data = this->data(place).get();
470
31
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
471
31
        column.get_data().push_back(value_data.cardinality());
472
31
    }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
468
31
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
469
31
        auto& value_data = this->data(place).get();
470
31
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
471
31
        column.get_data().push_back(value_data.cardinality());
472
31
    }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
468
31
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
469
31
        auto& value_data = this->data(place).get();
470
31
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
471
31
        column.get_data().push_back(value_data.cardinality());
472
31
    }
473
474
46
    void reset(AggregateDataPtr __restrict place) const override { this->data(place).reset(); }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE5resetEPc
Line
Count
Source
474
1
    void reset(AggregateDataPtr __restrict place) const override { this->data(place).reset(); }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE5resetEPc
Line
Count
Source
474
1
    void reset(AggregateDataPtr __restrict place) const override { this->data(place).reset(); }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEE5resetEPc
Line
Count
Source
474
6
    void reset(AggregateDataPtr __restrict place) const override { this->data(place).reset(); }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEE5resetEPc
Line
Count
Source
474
6
    void reset(AggregateDataPtr __restrict place) const override { this->data(place).reset(); }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEE5resetEPc
Line
Count
Source
474
6
    void reset(AggregateDataPtr __restrict place) const override { this->data(place).reset(); }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEE5resetEPc
Line
Count
Source
474
6
    void reset(AggregateDataPtr __restrict place) const override { this->data(place).reset(); }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEE5resetEPc
Line
Count
Source
474
5
    void reset(AggregateDataPtr __restrict place) const override { this->data(place).reset(); }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEE5resetEPc
Line
Count
Source
474
5
    void reset(AggregateDataPtr __restrict place) const override { this->data(place).reset(); }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEE5resetEPc
Line
Count
Source
474
5
    void reset(AggregateDataPtr __restrict place) const override { this->data(place).reset(); }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEE5resetEPc
Line
Count
Source
474
5
    void reset(AggregateDataPtr __restrict place) const override { this->data(place).reset(); }
475
};
476
477
AggregateFunctionPtr create_aggregate_function_bitmap_union(const std::string& name,
478
                                                            const DataTypes& argument_types,
479
                                                            const bool result_is_nullable);
480
481
} // namespace doris