Coverage Report

Created: 2026-10-16 04:35

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.55k
    static void add(BitmapValue& res, const T& data, bool& is_first) {
51
6.55k
        res.add(data);
52
6.55k
        is_first = false;
53
6.55k
    }
_ZN5doris30AggregateFunctionBitmapUnionOp3addIaEEvRNS_11BitmapValueERKT_Rb
Line
Count
Source
50
1.62k
    static void add(BitmapValue& res, const T& data, bool& is_first) {
51
1.62k
        res.add(data);
52
1.62k
        is_first = false;
53
1.62k
    }
_ZN5doris30AggregateFunctionBitmapUnionOp3addIsEEvRNS_11BitmapValueERKT_Rb
Line
Count
Source
50
1.65k
    static void add(BitmapValue& res, const T& data, bool& is_first) {
51
1.65k
        res.add(data);
52
1.65k
        is_first = false;
53
1.65k
    }
_ZN5doris30AggregateFunctionBitmapUnionOp3addIiEEvRNS_11BitmapValueERKT_Rb
Line
Count
Source
50
1.75k
    static void add(BitmapValue& res, const T& data, bool& is_first) {
51
1.75k
        res.add(data);
52
1.75k
        is_first = false;
53
1.75k
    }
_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
145k
    static void add(BitmapValue& res, const BitmapValue& data, bool& is_first) {
56
145k
        if (UNLIKELY(is_first)) {
57
41.8k
            res = data;
58
41.8k
            is_first = false;
59
103k
        } else {
60
103k
            res |= data;
61
103k
        }
62
145k
    }
63
64
17.0k
    static void add_batch(BitmapValue& res, std::vector<const BitmapValue*>& data, bool& is_first) {
65
17.0k
        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
17.0k
        is_first = false;
69
17.0k
    }
70
71
44.5k
    static void merge(BitmapValue& res, const BitmapValue& data, bool& is_first) {
72
44.5k
        if (UNLIKELY(is_first)) {
73
41.9k
            res = data;
74
41.9k
            is_first = false;
75
41.9k
        } else {
76
2.59k
            res |= data;
77
2.59k
        }
78
44.5k
    }
79
};
80
81
struct AggregateFunctionBitmapIntersectOp {
82
    static constexpr auto name = "bitmap_intersect";
83
84
5.72k
    static void add(BitmapValue& res, const BitmapValue& data, bool& is_first) {
85
5.72k
        if (UNLIKELY(is_first)) {
86
1.69k
            res = data;
87
1.69k
            is_first = false;
88
4.03k
        } else {
89
4.03k
            res &= data;
90
4.03k
        }
91
5.72k
    }
92
93
256
    static void merge(BitmapValue& res, const BitmapValue& data, bool& is_first) {
94
256
        if (UNLIKELY(is_first)) {
95
143
            res = data;
96
143
            is_first = false;
97
143
        } else {
98
113
            res &= data;
99
113
        }
100
256
    }
101
};
102
103
struct AggregateFunctionGroupBitmapXorOp {
104
    static constexpr auto name = "group_bitmap_xor";
105
106
289
    static void add(BitmapValue& res, const BitmapValue& data, bool& is_first) {
107
289
        if (UNLIKELY(is_first)) {
108
219
            res = data;
109
219
            is_first = false;
110
219
        } else {
111
70
            res ^= data;
112
70
        }
113
289
    }
114
115
211
    static void merge(BitmapValue& res, const BitmapValue& data, bool& is_first) {
116
211
        if (UNLIKELY(is_first)) {
117
103
            res = data;
118
103
            is_first = false;
119
108
        } else {
120
108
            res ^= data;
121
108
        }
122
211
    }
123
};
124
125
template <typename Op>
126
struct AggregateFunctionBitmapData {
127
    BitmapValue value;
128
    bool is_first = true;
129
130
    template <typename T>
131
158k
    void add(const T& data) {
132
158k
        Op::add(value, data, is_first);
133
158k
    }
_ZN5doris27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEE3addINS_11BitmapValueEEEvRKT_
Line
Count
Source
131
145k
    void add(const T& data) {
132
145k
        Op::add(value, data, is_first);
133
145k
    }
_ZN5doris27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEE3addIaEEvRKT_
Line
Count
Source
131
1.62k
    void add(const T& data) {
132
1.62k
        Op::add(value, data, is_first);
133
1.62k
    }
_ZN5doris27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEE3addIsEEvRKT_
Line
Count
Source
131
1.65k
    void add(const T& data) {
132
1.65k
        Op::add(value, data, is_first);
133
1.65k
    }
_ZN5doris27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEE3addIiEEvRKT_
Line
Count
Source
131
1.75k
    void add(const T& data) {
132
1.75k
        Op::add(value, data, is_first);
133
1.75k
    }
_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
5.72k
    void add(const T& data) {
132
5.72k
        Op::add(value, data, is_first);
133
5.72k
    }
_ZN5doris27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEE3addINS_11BitmapValueEEEvRKT_
Line
Count
Source
131
289
    void add(const T& data) {
132
289
        Op::add(value, data, is_first);
133
289
    }
134
135
17.0k
    void add_batch(std::vector<const BitmapValue*>& data) { Op::add_batch(value, data, is_first); }
136
137
44.9k
    void merge(const BitmapValue& data) { Op::merge(value, data, is_first); }
_ZN5doris27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEE5mergeERKNS_11BitmapValueE
Line
Count
Source
137
44.5k
    void merge(const BitmapValue& data) { Op::merge(value, data, is_first); }
_ZN5doris27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEE5mergeERKNS_11BitmapValueE
Line
Count
Source
137
256
    void merge(const BitmapValue& data) { Op::merge(value, data, is_first); }
_ZN5doris27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEE5mergeERKNS_11BitmapValueE
Line
Count
Source
137
211
    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
16.9k
    void reset() {
144
16.9k
        is_first = true;
145
16.9k
        value.reset(); // it's better to call reset function by self firstly.
146
16.9k
    }
_ZN5doris27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEE5resetEv
Line
Count
Source
143
16.8k
    void reset() {
144
16.8k
        is_first = true;
145
16.8k
        value.reset(); // it's better to call reset function by self firstly.
146
16.8k
    }
_ZN5doris27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEE5resetEv
Line
Count
Source
143
51
    void reset() {
144
51
        is_first = true;
145
51
        value.reset(); // it's better to call reset function by self firstly.
146
51
    }
_ZN5doris27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEE5resetEv
Line
Count
Source
143
38
    void reset() {
144
38
        is_first = true;
145
38
        value.reset(); // it's better to call reset function by self firstly.
146
38
    }
147
148
    BitmapValue& get() { return value; }
149
150
61.1k
    const BitmapValue& get() const { return value; }
_ZNK5doris27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEE3getEv
Line
Count
Source
150
59.5k
    const BitmapValue& get() const { return value; }
_ZNK5doris27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEE3getEv
Line
Count
Source
150
1.55k
    const BitmapValue& get() const { return value; }
_ZNK5doris27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEE3getEv
Line
Count
Source
150
99
    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
4.69k
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {}
_ZN5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISE_EE
Line
Count
Source
160
29
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {}
_ZN5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISE_EE
Line
Count
Source
160
464
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {}
_ZN5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISE_EE
Line
Count
Source
160
17
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {}
_ZN5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISE_EE
Line
Count
Source
160
19
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {}
_ZN5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISE_EE
Line
Count
Source
160
272
            : 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
14
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {}
_ZN5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISE_EE
Line
Count
Source
160
14
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {}
_ZN5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISE_EE
Line
Count
Source
160
20
            : 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
2.61k
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {}
_ZN5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEEENS_25AggregateFunctionBitmapOpIS2_EEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EE
Line
Count
Source
160
939
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {}
_ZN5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEEENS_25AggregateFunctionBitmapOpIS2_EEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EE
Line
Count
Source
160
286
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {}
161
162
    void streaming_agg_serialize_to_column(const IColumn** columns, MutableColumnPtr& dst,
163
115
                                           const size_t num_rows, Arena& arena) const override {
164
115
        auto& col = assert_cast<ColumnBitmap&>(*dst);
165
115
        char place[sizeof(Data)];
166
115
        col.resize(num_rows);
167
115
        auto* data = col.get_data().data();
168
2.34k
        for (size_t i = 0; i != num_rows; ++i) {
169
2.23k
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->create(place);
170
2.23k
            DEFER({
171
2.23k
                assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->destroy(place);
172
2.23k
            });
173
2.23k
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->add(place, columns, i,
174
2.23k
                                                                                arena);
175
2.23k
            data[i] = std::move(this->data(place).value);
176
2.23k
        }
177
115
    }
_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
10
                                           const size_t num_rows, Arena& arena) const override {
164
10
        auto& col = assert_cast<ColumnBitmap&>(*dst);
165
10
        char place[sizeof(Data)];
166
10
        col.resize(num_rows);
167
10
        auto* data = col.get_data().data();
168
120
        for (size_t i = 0; i != num_rows; ++i) {
169
110
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->create(place);
170
110
            DEFER({
171
110
                assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->destroy(place);
172
110
            });
173
110
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->add(place, columns, i,
174
110
                                                                                arena);
175
110
            data[i] = std::move(this->data(place).value);
176
110
        }
177
10
    }
_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
15
                                           const size_t num_rows, Arena& arena) const override {
164
15
        auto& col = assert_cast<ColumnBitmap&>(*dst);
165
15
        char place[sizeof(Data)];
166
15
        col.resize(num_rows);
167
15
        auto* data = col.get_data().data();
168
345
        for (size_t i = 0; i != num_rows; ++i) {
169
330
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->create(place);
170
330
            DEFER({
171
330
                assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->destroy(place);
172
330
            });
173
330
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->add(place, columns, i,
174
330
                                                                                arena);
175
330
            data[i] = std::move(this->data(place).value);
176
330
        }
177
15
    }
_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
7
                                           const size_t num_rows, Arena& arena) const override {
164
7
        auto& col = assert_cast<ColumnBitmap&>(*dst);
165
7
        char place[sizeof(Data)];
166
7
        col.resize(num_rows);
167
7
        auto* data = col.get_data().data();
168
23
        for (size_t i = 0; i != num_rows; ++i) {
169
16
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->create(place);
170
16
            DEFER({
171
16
                assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->destroy(place);
172
16
            });
173
16
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->add(place, columns, i,
174
16
                                                                                arena);
175
16
            data[i] = std::move(this->data(place).value);
176
16
        }
177
7
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEEENS_25AggregateFunctionBitmapOpIS2_EEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS7_E11mutable_ptrIS7_EEmRNS_5ArenaE
Line
Count
Source
163
35
                                           const size_t num_rows, Arena& arena) const override {
164
35
        auto& col = assert_cast<ColumnBitmap&>(*dst);
165
35
        char place[sizeof(Data)];
166
35
        col.resize(num_rows);
167
35
        auto* data = col.get_data().data();
168
169
        for (size_t i = 0; i != num_rows; ++i) {
169
134
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->create(place);
170
134
            DEFER({
171
134
                assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->destroy(place);
172
134
            });
173
134
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->add(place, columns, i,
174
134
                                                                                arena);
175
134
            data[i] = std::move(this->data(place).value);
176
134
        }
177
35
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEEENS_25AggregateFunctionBitmapOpIS2_EEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWIS7_E11mutable_ptrIS7_EEmRNS_5ArenaE
Line
Count
Source
163
9
                                           const size_t num_rows, Arena& arena) const override {
164
9
        auto& col = assert_cast<ColumnBitmap&>(*dst);
165
9
        char place[sizeof(Data)];
166
9
        col.resize(num_rows);
167
9
        auto* data = col.get_data().data();
168
117
        for (size_t i = 0; i != num_rows; ++i) {
169
108
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->create(place);
170
108
            DEFER({
171
108
                assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->destroy(place);
172
108
            });
173
108
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->add(place, columns, i,
174
108
                                                                                arena);
175
108
            data[i] = std::move(this->data(place).value);
176
108
        }
177
9
    }
178
179
    void serialize_to_column(const std::vector<AggregateDataPtr>& places, size_t offset,
180
1.24k
                             MutableColumnPtr& dst, const size_t num_rows) const override {
181
1.24k
        auto& col = assert_cast<ColumnBitmap&>(*dst);
182
1.24k
        col.resize(num_rows);
183
1.24k
        auto* data = col.get_data().data();
184
42.9k
        for (size_t i = 0; i != num_rows; ++i) {
185
41.7k
            data[i] = std::move(this->data(places[i] + offset).value);
186
41.7k
        }
187
1.24k
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE19serialize_to_columnERKSt6vectorIPcSaISB_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISH_EEm
Line
Count
Source
180
28
                             MutableColumnPtr& dst, const size_t num_rows) const override {
181
28
        auto& col = assert_cast<ColumnBitmap&>(*dst);
182
28
        col.resize(num_rows);
183
28
        auto* data = col.get_data().data();
184
43
        for (size_t i = 0; i != num_rows; ++i) {
185
15
            data[i] = std::move(this->data(places[i] + offset).value);
186
15
        }
187
28
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE19serialize_to_columnERKSt6vectorIPcSaISB_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISH_EEm
Line
Count
Source
180
253
                             MutableColumnPtr& dst, const size_t num_rows) const override {
181
253
        auto& col = assert_cast<ColumnBitmap&>(*dst);
182
253
        col.resize(num_rows);
183
253
        auto* data = col.get_data().data();
184
556
        for (size_t i = 0; i != num_rows; ++i) {
185
303
            data[i] = std::move(this->data(places[i] + offset).value);
186
303
        }
187
253
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEEEE19serialize_to_columnERKSt6vectorIPcSaISB_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISH_EEm
Line
Count
Source
180
32
                             MutableColumnPtr& dst, const size_t num_rows) const override {
181
32
        auto& col = assert_cast<ColumnBitmap&>(*dst);
182
32
        col.resize(num_rows);
183
32
        auto* data = col.get_data().data();
184
90
        for (size_t i = 0; i != num_rows; ++i) {
185
58
            data[i] = std::move(this->data(places[i] + offset).value);
186
58
        }
187
32
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEE19serialize_to_columnERKSt6vectorIPcSaISB_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISH_EEm
Line
Count
Source
180
32
                             MutableColumnPtr& dst, const size_t num_rows) const override {
181
32
        auto& col = assert_cast<ColumnBitmap&>(*dst);
182
32
        col.resize(num_rows);
183
32
        auto* data = col.get_data().data();
184
90
        for (size_t i = 0; i != num_rows; ++i) {
185
58
            data[i] = std::move(this->data(places[i] + offset).value);
186
58
        }
187
32
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEE19serialize_to_columnERKSt6vectorIPcSaISB_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISH_EEm
Line
Count
Source
180
32
                             MutableColumnPtr& dst, const size_t num_rows) const override {
181
32
        auto& col = assert_cast<ColumnBitmap&>(*dst);
182
32
        col.resize(num_rows);
183
32
        auto* data = col.get_data().data();
184
90
        for (size_t i = 0; i != num_rows; ++i) {
185
58
            data[i] = std::move(this->data(places[i] + offset).value);
186
58
        }
187
32
    }
_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
21
                             MutableColumnPtr& dst, const size_t num_rows) const override {
181
21
        auto& col = assert_cast<ColumnBitmap&>(*dst);
182
21
        col.resize(num_rows);
183
21
        auto* data = col.get_data().data();
184
52
        for (size_t i = 0; i != num_rows; ++i) {
185
31
            data[i] = std::move(this->data(places[i] + offset).value);
186
31
        }
187
21
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEE19serialize_to_columnERKSt6vectorIPcSaISB_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISH_EEm
Line
Count
Source
180
21
                             MutableColumnPtr& dst, const size_t num_rows) const override {
181
21
        auto& col = assert_cast<ColumnBitmap&>(*dst);
182
21
        col.resize(num_rows);
183
21
        auto* data = col.get_data().data();
184
52
        for (size_t i = 0; i != num_rows; ++i) {
185
31
            data[i] = std::move(this->data(places[i] + offset).value);
186
31
        }
187
21
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEE19serialize_to_columnERKSt6vectorIPcSaISB_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISH_EEm
Line
Count
Source
180
21
                             MutableColumnPtr& dst, const size_t num_rows) const override {
181
21
        auto& col = assert_cast<ColumnBitmap&>(*dst);
182
21
        col.resize(num_rows);
183
21
        auto* data = col.get_data().data();
184
52
        for (size_t i = 0; i != num_rows; ++i) {
185
31
            data[i] = std::move(this->data(places[i] + offset).value);
186
31
        }
187
21
    }
_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
730
                             MutableColumnPtr& dst, const size_t num_rows) const override {
181
730
        auto& col = assert_cast<ColumnBitmap&>(*dst);
182
730
        col.resize(num_rows);
183
730
        auto* data = col.get_data().data();
184
41.7k
        for (size_t i = 0; i != num_rows; ++i) {
185
40.9k
            data[i] = std::move(this->data(places[i] + offset).value);
186
40.9k
        }
187
730
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEEENS_25AggregateFunctionBitmapOpIS2_EEE19serialize_to_columnERKSt6vectorIPcSaIS8_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISE_EEm
Line
Count
Source
180
23
                             MutableColumnPtr& dst, const size_t num_rows) const override {
181
23
        auto& col = assert_cast<ColumnBitmap&>(*dst);
182
23
        col.resize(num_rows);
183
23
        auto* data = col.get_data().data();
184
83
        for (size_t i = 0; i != num_rows; ++i) {
185
60
            data[i] = std::move(this->data(places[i] + offset).value);
186
60
        }
187
23
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEEENS_25AggregateFunctionBitmapOpIS2_EEE19serialize_to_columnERKSt6vectorIPcSaIS8_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISE_EEm
Line
Count
Source
180
20
                             MutableColumnPtr& dst, const size_t num_rows) const override {
181
20
        auto& col = assert_cast<ColumnBitmap&>(*dst);
182
20
        col.resize(num_rows);
183
20
        auto* data = col.get_data().data();
184
76
        for (size_t i = 0; i != num_rows; ++i) {
185
56
            data[i] = std::move(this->data(places[i] + offset).value);
186
56
        }
187
20
    }
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
1.02k
                                                 Arena&) const override {
199
1.02k
        DCHECK(end <= column.size() && begin <= end)
200
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
201
1.02k
        const auto& col = assert_cast<const ColumnBitmap&>(column);
202
1.02k
        const auto* data = col.get_data().data();
203
3.88k
        for (size_t i = begin; i <= end; ++i) {
204
2.85k
            this->data(place).merge(data[i]);
205
2.85k
        }
206
1.02k
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
198
7
                                                 Arena&) const override {
199
7
        DCHECK(end <= column.size() && begin <= end)
200
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
201
7
        const auto& col = assert_cast<const ColumnBitmap&>(column);
202
7
        const auto* data = col.get_data().data();
203
16
        for (size_t i = begin; i <= end; ++i) {
204
9
            this->data(place).merge(data[i]);
205
9
        }
206
7
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
198
160
                                                 Arena&) const override {
199
160
        DCHECK(end <= column.size() && begin <= end)
200
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
201
160
        const auto& col = assert_cast<const ColumnBitmap&>(column);
202
160
        const auto* data = col.get_data().data();
203
338
        for (size_t i = begin; i <= end; ++i) {
204
178
            this->data(place).merge(data[i]);
205
178
        }
206
160
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
198
22
                                                 Arena&) const override {
199
22
        DCHECK(end <= column.size() && begin <= end)
200
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
201
22
        const auto& col = assert_cast<const ColumnBitmap&>(column);
202
22
        const auto* data = col.get_data().data();
203
269
        for (size_t i = begin; i <= end; ++i) {
204
247
            this->data(place).merge(data[i]);
205
247
        }
206
22
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
198
22
                                                 Arena&) const override {
199
22
        DCHECK(end <= column.size() && begin <= end)
200
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
201
22
        const auto& col = assert_cast<const ColumnBitmap&>(column);
202
22
        const auto* data = col.get_data().data();
203
269
        for (size_t i = begin; i <= end; ++i) {
204
247
            this->data(place).merge(data[i]);
205
247
        }
206
22
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
198
144
                                                 Arena&) const override {
199
144
        DCHECK(end <= column.size() && begin <= end)
200
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
201
144
        const auto& col = assert_cast<const ColumnBitmap&>(column);
202
144
        const auto* data = col.get_data().data();
203
513
        for (size_t i = begin; i <= end; ++i) {
204
369
            this->data(place).merge(data[i]);
205
369
        }
206
144
    }
_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
20
                                                 Arena&) const override {
199
20
        DCHECK(end <= column.size() && begin <= end)
200
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
201
20
        const auto& col = assert_cast<const ColumnBitmap&>(column);
202
20
        const auto* data = col.get_data().data();
203
259
        for (size_t i = begin; i <= end; ++i) {
204
239
            this->data(place).merge(data[i]);
205
239
        }
206
20
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
198
20
                                                 Arena&) const override {
199
20
        DCHECK(end <= column.size() && begin <= end)
200
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
201
20
        const auto& col = assert_cast<const ColumnBitmap&>(column);
202
20
        const auto* data = col.get_data().data();
203
259
        for (size_t i = begin; i <= end; ++i) {
204
239
            this->data(place).merge(data[i]);
205
239
        }
206
20
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
198
21
                                                 Arena&) const override {
199
21
        DCHECK(end <= column.size() && begin <= end)
200
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
201
21
        const auto& col = assert_cast<const ColumnBitmap&>(column);
202
21
        const auto* data = col.get_data().data();
203
261
        for (size_t i = begin; i <= end; ++i) {
204
240
            this->data(place).merge(data[i]);
205
240
        }
206
21
    }
_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
253
                                                 Arena&) const override {
199
253
        DCHECK(end <= column.size() && begin <= end)
200
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
201
253
        const auto& col = assert_cast<const ColumnBitmap&>(column);
202
253
        const auto* data = col.get_data().data();
203
523
        for (size_t i = begin; i <= end; ++i) {
204
270
            this->data(place).merge(data[i]);
205
270
        }
206
253
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEEENS_25AggregateFunctionBitmapOpIS2_EEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
198
184
                                                 Arena&) const override {
199
184
        DCHECK(end <= column.size() && begin <= end)
200
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
201
184
        const auto& col = assert_cast<const ColumnBitmap&>(column);
202
184
        const auto* data = col.get_data().data();
203
385
        for (size_t i = begin; i <= end; ++i) {
204
201
            this->data(place).merge(data[i]);
205
201
        }
206
184
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEEENS_25AggregateFunctionBitmapOpIS2_EEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
198
153
                                                 Arena&) const override {
199
153
        DCHECK(end <= column.size() && begin <= end)
200
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
201
153
        const auto& col = assert_cast<const ColumnBitmap&>(column);
202
153
        const auto* data = col.get_data().data();
203
323
        for (size_t i = begin; i <= end; ++i) {
204
170
            this->data(place).merge(data[i]);
205
170
        }
206
153
    }
207
208
86
    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
78
    bool needs_deserialize_and_merge_scratch() const override { return false; }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEEENS_25AggregateFunctionBitmapOpIS2_EEE35needs_deserialize_and_merge_scratchEv
Line
Count
Source
208
8
    bool needs_deserialize_and_merge_scratch() const override { return false; }
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
740
                                   const size_t num_rows) const override {
213
740
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
740
        const auto* data = col.get_data().data();
215
42.5k
        for (size_t i = 0; i != num_rows; ++i) {
216
41.8k
            this->data(places[i] + offset).merge(data[i]);
217
41.8k
        }
218
740
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE25deserialize_and_merge_vecEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
212
10
                                   const size_t num_rows) const override {
213
10
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
10
        const auto* data = col.get_data().data();
215
23
        for (size_t i = 0; i != num_rows; ++i) {
216
13
            this->data(places[i] + offset).merge(data[i]);
217
13
        }
218
10
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE25deserialize_and_merge_vecEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
212
148
                                   const size_t num_rows) const override {
213
148
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
148
        const auto* data = col.get_data().data();
215
424
        for (size_t i = 0; i != num_rows; ++i) {
216
276
            this->data(places[i] + offset).merge(data[i]);
217
276
        }
218
148
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEEEE25deserialize_and_merge_vecEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
212
16
                                   const size_t num_rows) const override {
213
16
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
16
        const auto* data = col.get_data().data();
215
49
        for (size_t i = 0; i != num_rows; ++i) {
216
33
            this->data(places[i] + offset).merge(data[i]);
217
33
        }
218
16
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEE25deserialize_and_merge_vecEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
212
16
                                   const size_t num_rows) const override {
213
16
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
16
        const auto* data = col.get_data().data();
215
49
        for (size_t i = 0; i != num_rows; ++i) {
216
33
            this->data(places[i] + offset).merge(data[i]);
217
33
        }
218
16
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEE25deserialize_and_merge_vecEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
212
14
                                   const size_t num_rows) const override {
213
14
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
14
        const auto* data = col.get_data().data();
215
47
        for (size_t i = 0; i != num_rows; ++i) {
216
33
            this->data(places[i] + offset).merge(data[i]);
217
33
        }
218
14
    }
_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
7
                                   const size_t num_rows) const override {
213
7
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
7
        const auto* data = col.get_data().data();
215
16
        for (size_t i = 0; i != num_rows; ++i) {
216
9
            this->data(places[i] + offset).merge(data[i]);
217
9
        }
218
7
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEE25deserialize_and_merge_vecEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
212
7
                                   const size_t num_rows) const override {
213
7
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
7
        const auto* data = col.get_data().data();
215
16
        for (size_t i = 0; i != num_rows; ++i) {
216
9
            this->data(places[i] + offset).merge(data[i]);
217
9
        }
218
7
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEE25deserialize_and_merge_vecEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
212
7
                                   const size_t num_rows) const override {
213
7
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
7
        const auto* data = col.get_data().data();
215
16
        for (size_t i = 0; i != num_rows; ++i) {
216
9
            this->data(places[i] + offset).merge(data[i]);
217
9
        }
218
7
    }
_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
473
                                   const size_t num_rows) const override {
213
473
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
473
        const auto* data = col.get_data().data();
215
41.8k
        for (size_t i = 0; i != num_rows; ++i) {
216
41.3k
            this->data(places[i] + offset).merge(data[i]);
217
41.3k
        }
218
473
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEEENS_25AggregateFunctionBitmapOpIS2_EEE25deserialize_and_merge_vecEPKPcmS7_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
212
20
                                   const size_t num_rows) const override {
213
20
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
20
        const auto* data = col.get_data().data();
215
65
        for (size_t i = 0; i != num_rows; ++i) {
216
45
            this->data(places[i] + offset).merge(data[i]);
217
45
        }
218
20
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEEENS_25AggregateFunctionBitmapOpIS2_EEE25deserialize_and_merge_vecEPKPcmS7_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
212
11
                                   const size_t num_rows) const override {
213
11
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
11
        const auto* data = col.get_data().data();
215
42
        for (size_t i = 0; i != num_rows; ++i) {
216
31
            this->data(places[i] + offset).merge(data[i]);
217
31
        }
218
11
    }
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
505
                                         IColumn& to) const override {
234
505
        auto& col = assert_cast<ColumnBitmap&>(to);
235
505
        size_t old_size = col.size();
236
505
        col.resize(old_size + 1);
237
505
        col.get_data()[old_size] = std::move(this->data(place).value);
238
505
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE31serialize_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_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
233
82
                                         IColumn& to) const override {
234
82
        auto& col = assert_cast<ColumnBitmap&>(to);
235
82
        size_t old_size = col.size();
236
82
        col.resize(old_size + 1);
237
82
        col.get_data()[old_size] = std::move(this->data(place).value);
238
82
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
233
12
                                         IColumn& to) const override {
234
12
        auto& col = assert_cast<ColumnBitmap&>(to);
235
12
        size_t old_size = col.size();
236
12
        col.resize(old_size + 1);
237
12
        col.get_data()[old_size] = std::move(this->data(place).value);
238
12
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
233
12
                                         IColumn& to) const override {
234
12
        auto& col = assert_cast<ColumnBitmap&>(to);
235
12
        size_t old_size = col.size();
236
12
        col.resize(old_size + 1);
237
12
        col.get_data()[old_size] = std::move(this->data(place).value);
238
12
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
233
65
                                         IColumn& to) const override {
234
65
        auto& col = assert_cast<ColumnBitmap&>(to);
235
65
        size_t old_size = col.size();
236
65
        col.resize(old_size + 1);
237
65
        col.get_data()[old_size] = std::move(this->data(place).value);
238
65
    }
_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
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_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
233
11
                                         IColumn& to) const override {
234
11
        auto& col = assert_cast<ColumnBitmap&>(to);
235
11
        size_t old_size = col.size();
236
11
        col.resize(old_size + 1);
237
11
        col.get_data()[old_size] = std::move(this->data(place).value);
238
11
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
233
12
                                         IColumn& to) const override {
234
12
        auto& col = assert_cast<ColumnBitmap&>(to);
235
12
        size_t old_size = col.size();
236
12
        col.resize(old_size + 1);
237
12
        col.get_data()[old_size] = std::move(this->data(place).value);
238
12
    }
_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
115
                                         IColumn& to) const override {
234
115
        auto& col = assert_cast<ColumnBitmap&>(to);
235
115
        size_t old_size = col.size();
236
115
        col.resize(old_size + 1);
237
115
        col.get_data()[old_size] = std::move(this->data(place).value);
238
115
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEEENS_25AggregateFunctionBitmapOpIS2_EEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
233
99
                                         IColumn& to) const override {
234
99
        auto& col = assert_cast<ColumnBitmap&>(to);
235
99
        size_t old_size = col.size();
236
99
        col.resize(old_size + 1);
237
99
        col.get_data()[old_size] = std::move(this->data(place).value);
238
99
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEEENS_25AggregateFunctionBitmapOpIS2_EEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
233
70
                                         IColumn& to) const override {
234
70
        auto& col = assert_cast<ColumnBitmap&>(to);
235
70
        size_t old_size = col.size();
236
70
        col.resize(old_size + 1);
237
70
        col.get_data()[old_size] = std::move(this->data(place).value);
238
70
    }
239
240
2.90k
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
2.90k
        return ColumnBitmap::create();
242
2.90k
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE23create_serialize_columnEv
Line
Count
Source
240
34
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
34
        return ColumnBitmap::create();
242
34
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE23create_serialize_columnEv
Line
Count
Source
240
520
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
520
        return ColumnBitmap::create();
242
520
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEEEE23create_serialize_columnEv
Line
Count
Source
240
50
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
50
        return ColumnBitmap::create();
242
50
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEE23create_serialize_columnEv
Line
Count
Source
240
49
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
49
        return ColumnBitmap::create();
242
49
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEE23create_serialize_columnEv
Line
Count
Source
240
287
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
287
        return ColumnBitmap::create();
242
287
    }
_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
36
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
36
        return ColumnBitmap::create();
242
36
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEE23create_serialize_columnEv
Line
Count
Source
240
37
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
37
        return ColumnBitmap::create();
242
37
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEE23create_serialize_columnEv
Line
Count
Source
240
38
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
38
        return ColumnBitmap::create();
242
38
    }
_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
972
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
972
        return ColumnBitmap::create();
242
972
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEEENS_25AggregateFunctionBitmapOpIS2_EEE23create_serialize_columnEv
Line
Count
Source
240
553
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
553
        return ColumnBitmap::create();
242
553
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEEENS_25AggregateFunctionBitmapOpIS2_EEE23create_serialize_columnEv
Line
Count
Source
240
275
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
275
        return ColumnBitmap::create();
242
275
    }
243
244
2.90k
    [[nodiscard]] DataTypePtr get_serialized_type() const override {
245
2.90k
        return std::make_shared<DataTypeBitMap>();
246
2.90k
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE19get_serialized_typeEv
Line
Count
Source
244
30
    [[nodiscard]] DataTypePtr get_serialized_type() const override {
245
30
        return std::make_shared<DataTypeBitMap>();
246
30
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE19get_serialized_typeEv
Line
Count
Source
244
529
    [[nodiscard]] DataTypePtr get_serialized_type() const override {
245
529
        return std::make_shared<DataTypeBitMap>();
246
529
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEEEE19get_serialized_typeEv
Line
Count
Source
244
20
    [[nodiscard]] DataTypePtr get_serialized_type() const override {
245
20
        return std::make_shared<DataTypeBitMap>();
246
20
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEE19get_serialized_typeEv
Line
Count
Source
244
19
    [[nodiscard]] DataTypePtr get_serialized_type() const override {
245
19
        return std::make_shared<DataTypeBitMap>();
246
19
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEE19get_serialized_typeEv
Line
Count
Source
244
270
    [[nodiscard]] DataTypePtr get_serialized_type() const override {
245
270
        return std::make_shared<DataTypeBitMap>();
246
270
    }
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEEEE19get_serialized_typeEv
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEEEE19get_serialized_typeEv
Line
Count
Source
244
12
    [[nodiscard]] DataTypePtr get_serialized_type() const override {
245
12
        return std::make_shared<DataTypeBitMap>();
246
12
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEE19get_serialized_typeEv
Line
Count
Source
244
12
    [[nodiscard]] DataTypePtr get_serialized_type() const override {
245
12
        return std::make_shared<DataTypeBitMap>();
246
12
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEE19get_serialized_typeEv
Line
Count
Source
244
13
    [[nodiscard]] DataTypePtr get_serialized_type() const override {
245
13
        return std::make_shared<DataTypeBitMap>();
246
13
    }
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEEEE19get_serialized_typeEv
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_25AggregateFunctionBitmapOpIS2_EEE19get_serialized_typeEv
Line
Count
Source
244
1.05k
    [[nodiscard]] DataTypePtr get_serialized_type() const override {
245
1.05k
        return std::make_shared<DataTypeBitMap>();
246
1.05k
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEEENS_25AggregateFunctionBitmapOpIS2_EEE19get_serialized_typeEv
Line
Count
Source
244
660
    [[nodiscard]] DataTypePtr get_serialized_type() const override {
245
660
        return std::make_shared<DataTypeBitMap>();
246
660
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEEENS_25AggregateFunctionBitmapOpIS2_EEE19get_serialized_typeEv
Line
Count
Source
244
281
    [[nodiscard]] DataTypePtr get_serialized_type() const override {
245
281
        return std::make_shared<DataTypeBitMap>();
246
281
    }
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
146
    String get_name() const override { return Op::name; }
_ZNK5doris25AggregateFunctionBitmapOpINS_30AggregateFunctionBitmapUnionOpEE8get_nameB5cxx11Ev
Line
Count
Source
263
34
    String get_name() const override { return Op::name; }
_ZNK5doris25AggregateFunctionBitmapOpINS_34AggregateFunctionBitmapIntersectOpEE8get_nameB5cxx11Ev
Line
Count
Source
263
81
    String get_name() const override { return Op::name; }
_ZNK5doris25AggregateFunctionBitmapOpINS_33AggregateFunctionGroupBitmapXorOpEE8get_nameB5cxx11Ev
Line
Count
Source
263
31
    String get_name() const override { return Op::name; }
264
265
    AggregateFunctionBitmapOp(const DataTypes& argument_types_)
266
3.83k
            : AggregateFunctionBitmapSerializationHelper<AggregateFunctionBitmapData<Op>,
267
3.83k
                                                         AggregateFunctionBitmapOp<Op>>(
268
3.83k
                      argument_types_) {}
_ZN5doris25AggregateFunctionBitmapOpINS_30AggregateFunctionBitmapUnionOpEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS7_EE
Line
Count
Source
266
2.61k
            : AggregateFunctionBitmapSerializationHelper<AggregateFunctionBitmapData<Op>,
267
2.61k
                                                         AggregateFunctionBitmapOp<Op>>(
268
2.61k
                      argument_types_) {}
_ZN5doris25AggregateFunctionBitmapOpINS_34AggregateFunctionBitmapIntersectOpEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS7_EE
Line
Count
Source
266
939
            : AggregateFunctionBitmapSerializationHelper<AggregateFunctionBitmapData<Op>,
267
939
                                                         AggregateFunctionBitmapOp<Op>>(
268
939
                      argument_types_) {}
_ZN5doris25AggregateFunctionBitmapOpINS_33AggregateFunctionGroupBitmapXorOpEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS7_EE
Line
Count
Source
266
285
            : AggregateFunctionBitmapSerializationHelper<AggregateFunctionBitmapData<Op>,
267
285
                                                         AggregateFunctionBitmapOp<Op>>(
268
285
                      argument_types_) {}
269
270
5.08k
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeBitMap>(); }
_ZNK5doris25AggregateFunctionBitmapOpINS_30AggregateFunctionBitmapUnionOpEE15get_return_typeEv
Line
Count
Source
270
4.48k
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeBitMap>(); }
_ZNK5doris25AggregateFunctionBitmapOpINS_34AggregateFunctionBitmapIntersectOpEE15get_return_typeEv
Line
Count
Source
270
461
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeBitMap>(); }
_ZNK5doris25AggregateFunctionBitmapOpINS_33AggregateFunctionGroupBitmapXorOpEE15get_return_typeEv
Line
Count
Source
270
136
    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
151k
             Arena&) const override {
274
151k
        const auto& column =
275
151k
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
276
151k
        this->data(place).add(column.get_data()[row_num]);
277
151k
    }
_ZNK5doris25AggregateFunctionBitmapOpINS_30AggregateFunctionBitmapUnionOpEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
273
145k
             Arena&) const override {
274
145k
        const auto& column =
275
145k
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
276
145k
        this->data(place).add(column.get_data()[row_num]);
277
145k
    }
_ZNK5doris25AggregateFunctionBitmapOpINS_34AggregateFunctionBitmapIntersectOpEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
273
5.72k
             Arena&) const override {
274
5.72k
        const auto& column =
275
5.72k
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
276
5.72k
        this->data(place).add(column.get_data()[row_num]);
277
5.72k
    }
_ZNK5doris25AggregateFunctionBitmapOpINS_33AggregateFunctionGroupBitmapXorOpEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
273
289
             Arena&) const override {
274
289
        const auto& column =
275
289
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
276
289
        this->data(place).add(column.get_data()[row_num]);
277
289
    }
278
279
    void add_many(AggregateDataPtr __restrict place, const IColumn** columns,
280
255
                  std::vector<int>& rows, Arena&) const override {
281
        // now this only for bitmap_union function
282
255
        if constexpr (std::is_same_v<Op, AggregateFunctionBitmapUnionOp>) {
283
255
            const auto& column =
284
255
                    assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
285
255
            std::vector<const BitmapValue*> values;
286
598
            for (auto row : rows) {
287
598
                values.push_back(&(column.get_data()[row]));
288
598
            }
289
255
            this->data(place).add_batch(values);
290
255
        }
291
255
    }
_ZNK5doris25AggregateFunctionBitmapOpINS_30AggregateFunctionBitmapUnionOpEE8add_manyEPcPPKNS_7IColumnERSt6vectorIiSaIiEERNS_5ArenaE
Line
Count
Source
280
255
                  std::vector<int>& rows, Arena&) const override {
281
        // now this only for bitmap_union function
282
255
        if constexpr (std::is_same_v<Op, AggregateFunctionBitmapUnionOp>) {
283
255
            const auto& column =
284
255
                    assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
285
255
            std::vector<const BitmapValue*> values;
286
598
            for (auto row : rows) {
287
598
                values.push_back(&(column.get_data()[row]));
288
598
            }
289
255
            this->data(place).add_batch(values);
290
255
        }
291
255
    }
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
16.7k
                         const IColumn** columns, Arena& arena, bool has_null) override {
295
        // now this only for bitmap_union function
296
16.7k
        if constexpr (std::is_same_v<Op, AggregateFunctionBitmapUnionOp>) {
297
16.7k
            const auto& column =
298
16.7k
                    assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
299
16.7k
            std::vector<const BitmapValue*> values;
300
33.5k
            for (size_t i = batch_begin; i <= batch_end; ++i) {
301
16.7k
                values.push_back(&(column.get_data()[i]));
302
16.7k
            }
303
16.7k
            this->data(place).add_batch(values);
304
16.7k
        } 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
16.7k
    }
_ZN5doris25AggregateFunctionBitmapOpINS_30AggregateFunctionBitmapUnionOpEE15add_batch_rangeEmmPcPPKNS_7IColumnERNS_5ArenaEb
Line
Count
Source
294
16.7k
                         const IColumn** columns, Arena& arena, bool has_null) override {
295
        // now this only for bitmap_union function
296
16.7k
        if constexpr (std::is_same_v<Op, AggregateFunctionBitmapUnionOp>) {
297
16.7k
            const auto& column =
298
16.7k
                    assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
299
16.7k
            std::vector<const BitmapValue*> values;
300
33.5k
            for (size_t i = batch_begin; i <= batch_end; ++i) {
301
16.7k
                values.push_back(&(column.get_data()[i]));
302
16.7k
            }
303
16.7k
            this->data(place).add_batch(values);
304
        } else {
305
            for (size_t i = batch_begin; i <= batch_end; ++i) {
306
                this->add(place, columns, i, arena);
307
            }
308
        }
309
16.7k
    }
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
60.4k
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
326
60.4k
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
327
60.4k
        column.get_data().push_back(this->data(place).get());
328
60.4k
    }
_ZNK5doris25AggregateFunctionBitmapOpINS_30AggregateFunctionBitmapUnionOpEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
325
58.7k
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
326
58.7k
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
327
58.7k
        column.get_data().push_back(this->data(place).get());
328
58.7k
    }
_ZNK5doris25AggregateFunctionBitmapOpINS_34AggregateFunctionBitmapIntersectOpEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
325
1.55k
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
326
1.55k
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
327
1.55k
        column.get_data().push_back(this->data(place).get());
328
1.55k
    }
_ZNK5doris25AggregateFunctionBitmapOpINS_33AggregateFunctionGroupBitmapXorOpEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
325
99
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
326
99
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
327
99
        column.get_data().push_back(this->data(place).get());
328
99
    }
329
330
16.8k
    void reset(AggregateDataPtr __restrict place) const override { this->data(place).reset(); }
_ZNK5doris25AggregateFunctionBitmapOpINS_30AggregateFunctionBitmapUnionOpEE5resetEPc
Line
Count
Source
330
16.7k
    void reset(AggregateDataPtr __restrict place) const override { this->data(place).reset(); }
_ZNK5doris25AggregateFunctionBitmapOpINS_34AggregateFunctionBitmapIntersectOpEE5resetEPc
Line
Count
Source
330
51
    void reset(AggregateDataPtr __restrict place) const override { this->data(place).reset(); }
_ZNK5doris25AggregateFunctionBitmapOpINS_33AggregateFunctionGroupBitmapXorOpEE5resetEPc
Line
Count
Source
330
38
    void reset(AggregateDataPtr __restrict place) const override { this->data(place).reset(); }
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
862
            : AggregateFunctionBitmapSerializationHelper<
348
862
                      AggregateFunctionBitmapData<AggregateFunctionBitmapUnionOp>,
349
862
                      AggregateFunctionBitmapCount<arg_is_nullable, ColVecType>>(argument_types_) {}
_ZN5doris28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
347
29
            : AggregateFunctionBitmapSerializationHelper<
348
29
                      AggregateFunctionBitmapData<AggregateFunctionBitmapUnionOp>,
349
29
                      AggregateFunctionBitmapCount<arg_is_nullable, ColVecType>>(argument_types_) {}
_ZN5doris28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
347
465
            : AggregateFunctionBitmapSerializationHelper<
348
465
                      AggregateFunctionBitmapData<AggregateFunctionBitmapUnionOp>,
349
465
                      AggregateFunctionBitmapCount<arg_is_nullable, ColVecType>>(argument_types_) {}
_ZN5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
347
17
            : AggregateFunctionBitmapSerializationHelper<
348
17
                      AggregateFunctionBitmapData<AggregateFunctionBitmapUnionOp>,
349
17
                      AggregateFunctionBitmapCount<arg_is_nullable, ColVecType>>(argument_types_) {}
_ZN5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
347
19
            : AggregateFunctionBitmapSerializationHelper<
348
19
                      AggregateFunctionBitmapData<AggregateFunctionBitmapUnionOp>,
349
19
                      AggregateFunctionBitmapCount<arg_is_nullable, ColVecType>>(argument_types_) {}
_ZN5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
347
272
            : AggregateFunctionBitmapSerializationHelper<
348
272
                      AggregateFunctionBitmapData<AggregateFunctionBitmapUnionOp>,
349
272
                      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
14
            : AggregateFunctionBitmapSerializationHelper<
348
14
                      AggregateFunctionBitmapData<AggregateFunctionBitmapUnionOp>,
349
14
                      AggregateFunctionBitmapCount<arg_is_nullable, ColVecType>>(argument_types_) {}
_ZN5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
347
14
            : AggregateFunctionBitmapSerializationHelper<
348
14
                      AggregateFunctionBitmapData<AggregateFunctionBitmapUnionOp>,
349
14
                      AggregateFunctionBitmapCount<arg_is_nullable, ColVecType>>(argument_types_) {}
_ZN5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
347
20
            : AggregateFunctionBitmapSerializationHelper<
348
20
                      AggregateFunctionBitmapData<AggregateFunctionBitmapUnionOp>,
349
20
                      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
113
    String get_name() const override {
352
113
        if constexpr (std::is_same_v<ColVecType, ColumnBitmap>) {
353
39
            return "bitmap_union_count";
354
74
        } else {
355
74
            return "bitmap_union_int";
356
74
        }
357
113
    }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE8get_nameB5cxx11Ev
Line
Count
Source
351
11
    String get_name() const override {
352
11
        if constexpr (std::is_same_v<ColVecType, ColumnBitmap>) {
353
11
            return "bitmap_union_count";
354
        } else {
355
            return "bitmap_union_int";
356
        }
357
11
    }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE8get_nameB5cxx11Ev
Line
Count
Source
351
28
    String get_name() const override {
352
28
        if constexpr (std::is_same_v<ColVecType, ColumnBitmap>) {
353
28
            return "bitmap_union_count";
354
        } else {
355
            return "bitmap_union_int";
356
        }
357
28
    }
_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
16
    String get_name() const override {
352
        if constexpr (std::is_same_v<ColVecType, ColumnBitmap>) {
353
            return "bitmap_union_count";
354
16
        } else {
355
16
            return "bitmap_union_int";
356
16
        }
357
16
    }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEE8get_nameB5cxx11Ev
Line
Count
Source
351
26
    String get_name() const override {
352
        if constexpr (std::is_same_v<ColVecType, ColumnBitmap>) {
353
            return "bitmap_union_count";
354
26
        } else {
355
26
            return "bitmap_union_int";
356
26
        }
357
26
    }
_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
1.46k
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeInt64>(); }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE15get_return_typeEv
Line
Count
Source
359
139
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeInt64>(); }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE15get_return_typeEv
Line
Count
Source
359
793
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeInt64>(); }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEE15get_return_typeEv
Line
Count
Source
359
75
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeInt64>(); }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEE15get_return_typeEv
Line
Count
Source
359
93
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeInt64>(); }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEE15get_return_typeEv
Line
Count
Source
359
92
    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
57
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeInt64>(); }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEE15get_return_typeEv
Line
Count
Source
359
57
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeInt64>(); }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEE15get_return_typeEv
Line
Count
Source
359
81
    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
13.8k
             Arena&) const override {
363
13.8k
        const IColumn* data_column = columns[0];
364
13.8k
        if constexpr (arg_is_nullable) {
365
6.67k
            const auto& nullable_column =
366
6.67k
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*columns[0]);
367
6.67k
            if (nullable_column.is_null_at(row_num)) {
368
203
                return;
369
203
            }
370
6.46k
            data_column = &nullable_column.get_nested_column();
371
6.46k
        }
372
0
        const auto& value =
373
13.8k
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*data_column)
374
13.8k
                        .get_data()[row_num];
375
13.8k
        if constexpr (!std::is_same_v<ColVecType, ColumnBitmap>) {
376
            // Match bitmap_agg and to_bitmap before conversion to uint64_t.
377
12.8k
            if (value < 0) {
378
6.04k
                return;
379
6.04k
            }
380
12.8k
        }
381
6.75k
        this->data(place).add(value);
382
13.8k
    }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
362
97
             Arena&) const override {
363
97
        const IColumn* data_column = columns[0];
364
97
        if constexpr (arg_is_nullable) {
365
97
            const auto& nullable_column =
366
97
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*columns[0]);
367
97
            if (nullable_column.is_null_at(row_num)) {
368
8
                return;
369
8
            }
370
89
            data_column = &nullable_column.get_nested_column();
371
89
        }
372
0
        const auto& value =
373
97
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*data_column)
374
97
                        .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
97
        this->data(place).add(value);
382
97
    }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
362
977
             Arena&) const override {
363
977
        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
977
        const auto& value =
373
977
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*data_column)
374
977
                        .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
977
        this->data(place).add(value);
382
977
    }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
362
1.61k
             Arena&) const override {
363
1.61k
        const IColumn* data_column = columns[0];
364
1.61k
        if constexpr (arg_is_nullable) {
365
1.61k
            const auto& nullable_column =
366
1.61k
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*columns[0]);
367
1.61k
            if (nullable_column.is_null_at(row_num)) {
368
47
                return;
369
47
            }
370
1.57k
            data_column = &nullable_column.get_nested_column();
371
1.57k
        }
372
0
        const auto& value =
373
1.61k
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*data_column)
374
1.61k
                        .get_data()[row_num];
375
1.61k
        if constexpr (!std::is_same_v<ColVecType, ColumnBitmap>) {
376
            // Match bitmap_agg and to_bitmap before conversion to uint64_t.
377
1.61k
            if (value < 0) {
378
756
                return;
379
756
            }
380
1.61k
        }
381
863
        this->data(place).add(value);
382
1.61k
    }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
362
1.64k
             Arena&) const override {
363
1.64k
        const IColumn* data_column = columns[0];
364
1.64k
        if constexpr (arg_is_nullable) {
365
1.64k
            const auto& nullable_column =
366
1.64k
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*columns[0]);
367
1.64k
            if (nullable_column.is_null_at(row_num)) {
368
49
                return;
369
49
            }
370
1.59k
            data_column = &nullable_column.get_nested_column();
371
1.59k
        }
372
0
        const auto& value =
373
1.64k
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*data_column)
374
1.64k
                        .get_data()[row_num];
375
1.64k
        if constexpr (!std::is_same_v<ColVecType, ColumnBitmap>) {
376
            // Match bitmap_agg and to_bitmap before conversion to uint64_t.
377
1.64k
            if (value < 0) {
378
756
                return;
379
756
            }
380
1.64k
        }
381
890
        this->data(place).add(value);
382
1.64k
    }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
362
1.75k
             Arena&) const override {
363
1.75k
        const IColumn* data_column = columns[0];
364
1.75k
        if constexpr (arg_is_nullable) {
365
1.75k
            const auto& nullable_column =
366
1.75k
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*columns[0]);
367
1.75k
            if (nullable_column.is_null_at(row_num)) {
368
57
                return;
369
57
            }
370
1.69k
            data_column = &nullable_column.get_nested_column();
371
1.69k
        }
372
0
        const auto& value =
373
1.75k
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*data_column)
374
1.75k
                        .get_data()[row_num];
375
1.75k
        if constexpr (!std::is_same_v<ColVecType, ColumnBitmap>) {
376
            // Match bitmap_agg and to_bitmap before conversion to uint64_t.
377
1.75k
            if (value < 0) {
378
756
                return;
379
756
            }
380
1.75k
        }
381
999
        this->data(place).add(value);
382
1.75k
    }
_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.56k
             Arena&) const override {
363
1.56k
        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.56k
        const auto& value =
373
1.56k
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*data_column)
374
1.56k
                        .get_data()[row_num];
375
1.56k
        if constexpr (!std::is_same_v<ColVecType, ColumnBitmap>) {
376
            // Match bitmap_agg and to_bitmap before conversion to uint64_t.
377
1.56k
            if (value < 0) {
378
756
                return;
379
756
            }
380
1.56k
        }
381
813
        this->data(place).add(value);
382
1.56k
    }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
362
1.56k
             Arena&) const override {
363
1.56k
        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.56k
        const auto& value =
373
1.56k
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*data_column)
374
1.56k
                        .get_data()[row_num];
375
1.56k
        if constexpr (!std::is_same_v<ColVecType, ColumnBitmap>) {
376
            // Match bitmap_agg and to_bitmap before conversion to uint64_t.
377
1.56k
            if (value < 0) {
378
756
                return;
379
756
            }
380
1.56k
        }
381
813
        this->data(place).add(value);
382
1.56k
    }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
362
1.57k
             Arena&) const override {
363
1.57k
        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.57k
        const auto& value =
373
1.57k
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*data_column)
374
1.57k
                        .get_data()[row_num];
375
1.57k
        if constexpr (!std::is_same_v<ColVecType, ColumnBitmap>) {
376
            // Match bitmap_agg and to_bitmap before conversion to uint64_t.
377
1.57k
            if (value < 0) {
378
756
                return;
379
756
            }
380
1.57k
        }
381
815
        this->data(place).add(value);
382
1.57k
    }
_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
52
                  std::vector<int>& rows, Arena&) const override {
386
        // now this only for bitmap_union_count function
387
52
        if constexpr (arg_is_nullable && std::is_same_v<ColVecType, ColumnBitmap>) {
388
9
            const auto& nullable_column =
389
9
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*columns[0]);
390
9
            const auto& column = assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(
391
9
                    nullable_column.get_nested_column());
392
9
            std::vector<const BitmapValue*> values;
393
13
            for (auto row : rows) {
394
13
                if (!nullable_column.is_null_at(row)) {
395
13
                    values.push_back(&(column.get_data()[row]));
396
13
                }
397
13
            }
398
9
            this->data(place).add_batch(values);
399
43
        } else if constexpr (std::is_same_v<ColVecType, ColumnBitmap>) {
400
43
            const auto& column =
401
43
                    assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
402
43
            std::vector<const BitmapValue*> values;
403
51
            for (auto row : rows) {
404
51
                values.push_back(&(column.get_data()[row]));
405
51
            }
406
43
            this->data(place).add_batch(values);
407
43
        }
408
52
    }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE8add_manyEPcPPKNS_7IColumnERSt6vectorIiSaIiEERNS_5ArenaE
Line
Count
Source
385
9
                  std::vector<int>& rows, Arena&) const override {
386
        // now this only for bitmap_union_count function
387
9
        if constexpr (arg_is_nullable && std::is_same_v<ColVecType, ColumnBitmap>) {
388
9
            const auto& nullable_column =
389
9
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*columns[0]);
390
9
            const auto& column = assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(
391
9
                    nullable_column.get_nested_column());
392
9
            std::vector<const BitmapValue*> values;
393
13
            for (auto row : rows) {
394
13
                if (!nullable_column.is_null_at(row)) {
395
13
                    values.push_back(&(column.get_data()[row]));
396
13
                }
397
13
            }
398
9
            this->data(place).add_batch(values);
399
        } else if constexpr (std::is_same_v<ColVecType, ColumnBitmap>) {
400
            const auto& column =
401
                    assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
402
            std::vector<const BitmapValue*> values;
403
            for (auto row : rows) {
404
                values.push_back(&(column.get_data()[row]));
405
            }
406
            this->data(place).add_batch(values);
407
        }
408
9
    }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE8add_manyEPcPPKNS_7IColumnERSt6vectorIiSaIiEERNS_5ArenaE
Line
Count
Source
385
43
                  std::vector<int>& rows, Arena&) const override {
386
        // now this only for bitmap_union_count function
387
        if constexpr (arg_is_nullable && std::is_same_v<ColVecType, ColumnBitmap>) {
388
            const auto& nullable_column =
389
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*columns[0]);
390
            const auto& column = assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(
391
                    nullable_column.get_nested_column());
392
            std::vector<const BitmapValue*> values;
393
            for (auto row : rows) {
394
                if (!nullable_column.is_null_at(row)) {
395
                    values.push_back(&(column.get_data()[row]));
396
                }
397
            }
398
            this->data(place).add_batch(values);
399
43
        } else if constexpr (std::is_same_v<ColVecType, ColumnBitmap>) {
400
43
            const auto& column =
401
43
                    assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
402
43
            std::vector<const BitmapValue*> values;
403
51
            for (auto row : rows) {
404
51
                values.push_back(&(column.get_data()[row]));
405
51
            }
406
43
            this->data(place).add_batch(values);
407
43
        }
408
43
    }
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
350
                                Arena& arena) const override {
412
350
        auto normal_add_lambda = [&]() {
413
11.2k
            for (size_t i = 0; i < batch_size; ++i) {
414
10.9k
                this->add(place, columns, i, arena);
415
10.9k
            }
416
340
        };
_ZZNK5doris28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE22add_batch_single_placeEmPcPPKNS_7IColumnERNS_5ArenaEENKUlvE_clEv
Line
Count
Source
412
15
        auto normal_add_lambda = [&]() {
413
52
            for (size_t i = 0; i < batch_size; ++i) {
414
37
                this->add(place, columns, i, arena);
415
37
            }
416
15
        };
_ZZNK5doris28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE22add_batch_single_placeEmPcPPKNS_7IColumnERNS_5ArenaEENKUlvE_clEv
Line
Count
Source
412
34
        auto normal_add_lambda = [&]() {
413
321
            for (size_t i = 0; i < batch_size; ++i) {
414
287
                this->add(place, columns, i, arena);
415
287
            }
416
34
        };
_ZZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEE22add_batch_single_placeEmPcPPKNS_7IColumnERNS_5ArenaEENKUlvE_clEv
Line
Count
Source
412
40
        auto normal_add_lambda = [&]() {
413
1.38k
            for (size_t i = 0; i < batch_size; ++i) {
414
1.34k
                this->add(place, columns, i, arena);
415
1.34k
            }
416
40
        };
_ZZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEE22add_batch_single_placeEmPcPPKNS_7IColumnERNS_5ArenaEENKUlvE_clEv
Line
Count
Source
412
41
        auto normal_add_lambda = [&]() {
413
1.39k
            for (size_t i = 0; i < batch_size; ++i) {
414
1.35k
                this->add(place, columns, i, arena);
415
1.35k
            }
416
41
        };
_ZZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEE22add_batch_single_placeEmPcPPKNS_7IColumnERNS_5ArenaEENKUlvE_clEv
Line
Count
Source
412
41
        auto normal_add_lambda = [&]() {
413
1.38k
            for (size_t i = 0; i < batch_size; ++i) {
414
1.34k
                this->add(place, columns, i, arena);
415
1.34k
            }
416
41
        };
_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
34
        auto normal_add_lambda = [&]() {
413
1.34k
            for (size_t i = 0; i < batch_size; ++i) {
414
1.30k
                this->add(place, columns, i, arena);
415
1.30k
            }
416
34
        };
_ZZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEE22add_batch_single_placeEmPcPPKNS_7IColumnERNS_5ArenaEENKUlvE_clEv
Line
Count
Source
412
34
        auto normal_add_lambda = [&]() {
413
1.34k
            for (size_t i = 0; i < batch_size; ++i) {
414
1.30k
                this->add(place, columns, i, arena);
415
1.30k
            }
416
34
        };
_ZZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEE22add_batch_single_placeEmPcPPKNS_7IColumnERNS_5ArenaEENKUlvE_clEv
Line
Count
Source
412
35
        auto normal_add_lambda = [&]() {
413
1.34k
            for (size_t i = 0; i < batch_size; ++i) {
414
1.30k
                this->add(place, columns, i, arena);
415
1.30k
            }
416
35
        };
_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
350
        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
59
            if (batch_size < BATCH_HALF_ROWS) {
422
49
                normal_add_lambda();
423
49
                return;
424
49
            }
425
10
            auto add_batch_lambda = [&](const IColumn& data_column, const NullMap* null_map) {
426
10
                const auto& column =
427
10
                        assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(data_column);
428
10
                std::vector<const BitmapValue*> values;
429
40.7k
                for (size_t i = 0; i < batch_size; ++i) {
430
40.7k
                    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
40.7k
                }
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_
_ZZNK5doris28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE22add_batch_single_placeEmPcPPKNS_7IColumnERNS_5ArenaEENKUlRS7_PKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEE_clESC_SJ_
Line
Count
Source
425
10
            auto add_batch_lambda = [&](const IColumn& data_column, const NullMap* null_map) {
426
10
                const auto& column =
427
10
                        assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(data_column);
428
10
                std::vector<const BitmapValue*> values;
429
40.7k
                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
40.7k
                    values.push_back(&(column.get_data()[i]));
436
40.7k
                }
437
10
                this->data(place).add_batch(values);
438
10
            };
439
440
10
            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
10
            } else {
447
10
                add_batch_lambda(*columns[0], nullptr);
448
10
            }
449
291
        } else {
450
291
            normal_add_lambda();
451
291
        }
452
350
    }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE22add_batch_single_placeEmPcPPKNS_7IColumnERNS_5ArenaE
Line
Count
Source
411
15
                                Arena& arena) const override {
412
15
        auto normal_add_lambda = [&]() {
413
15
            for (size_t i = 0; i < batch_size; ++i) {
414
15
                this->add(place, columns, i, arena);
415
15
            }
416
15
        };
417
418
        // now this only for bitmap_union_count function
419
15
        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
15
            if (batch_size < BATCH_HALF_ROWS) {
422
15
                normal_add_lambda();
423
15
                return;
424
15
            }
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
15
    }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE22add_batch_single_placeEmPcPPKNS_7IColumnERNS_5ArenaE
Line
Count
Source
411
44
                                Arena& arena) const override {
412
44
        auto normal_add_lambda = [&]() {
413
44
            for (size_t i = 0; i < batch_size; ++i) {
414
44
                this->add(place, columns, i, arena);
415
44
            }
416
44
        };
417
418
        // now this only for bitmap_union_count function
419
44
        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
44
            if (batch_size < BATCH_HALF_ROWS) {
422
34
                normal_add_lambda();
423
34
                return;
424
34
            }
425
10
            auto add_batch_lambda = [&](const IColumn& data_column, const NullMap* null_map) {
426
10
                const auto& column =
427
10
                        assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(data_column);
428
10
                std::vector<const BitmapValue*> values;
429
10
                for (size_t i = 0; i < batch_size; ++i) {
430
10
                    if constexpr (arg_is_nullable) {
431
10
                        if ((*null_map)[i]) {
432
10
                            continue; // skip null value
433
10
                        }
434
10
                    }
435
10
                    values.push_back(&(column.get_data()[i]));
436
10
                }
437
10
                this->data(place).add_batch(values);
438
10
            };
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
10
            } else {
447
10
                add_batch_lambda(*columns[0], nullptr);
448
10
            }
449
        } else {
450
            normal_add_lambda();
451
        }
452
44
    }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEE22add_batch_single_placeEmPcPPKNS_7IColumnERNS_5ArenaE
Line
Count
Source
411
40
                                Arena& arena) const override {
412
40
        auto normal_add_lambda = [&]() {
413
40
            for (size_t i = 0; i < batch_size; ++i) {
414
40
                this->add(place, columns, i, arena);
415
40
            }
416
40
        };
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
40
        } else {
450
40
            normal_add_lambda();
451
40
        }
452
40
    }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEE22add_batch_single_placeEmPcPPKNS_7IColumnERNS_5ArenaE
Line
Count
Source
411
41
                                Arena& arena) const override {
412
41
        auto normal_add_lambda = [&]() {
413
41
            for (size_t i = 0; i < batch_size; ++i) {
414
41
                this->add(place, columns, i, arena);
415
41
            }
416
41
        };
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
41
        } else {
450
41
            normal_add_lambda();
451
41
        }
452
41
    }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEE22add_batch_single_placeEmPcPPKNS_7IColumnERNS_5ArenaE
Line
Count
Source
411
41
                                Arena& arena) const override {
412
41
        auto normal_add_lambda = [&]() {
413
41
            for (size_t i = 0; i < batch_size; ++i) {
414
41
                this->add(place, columns, i, arena);
415
41
            }
416
41
        };
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
41
        } else {
450
41
            normal_add_lambda();
451
41
        }
452
41
    }
_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
34
                                Arena& arena) const override {
412
34
        auto normal_add_lambda = [&]() {
413
34
            for (size_t i = 0; i < batch_size; ++i) {
414
34
                this->add(place, columns, i, arena);
415
34
            }
416
34
        };
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
34
        } else {
450
34
            normal_add_lambda();
451
34
        }
452
34
    }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEE22add_batch_single_placeEmPcPPKNS_7IColumnERNS_5ArenaE
Line
Count
Source
411
34
                                Arena& arena) const override {
412
34
        auto normal_add_lambda = [&]() {
413
34
            for (size_t i = 0; i < batch_size; ++i) {
414
34
                this->add(place, columns, i, arena);
415
34
            }
416
34
        };
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
34
        } else {
450
34
            normal_add_lambda();
451
34
        }
452
34
    }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEE22add_batch_single_placeEmPcPPKNS_7IColumnERNS_5ArenaE
Line
Count
Source
411
35
                                Arena& arena) const override {
412
35
        auto normal_add_lambda = [&]() {
413
35
            for (size_t i = 0; i < batch_size; ++i) {
414
35
                this->add(place, columns, i, arena);
415
35
            }
416
35
        };
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
35
        } else {
450
35
            normal_add_lambda();
451
35
        }
452
35
    }
_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
855
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
469
855
        auto& value_data = this->data(place).get();
470
855
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
471
855
        column.get_data().push_back(value_data.cardinality());
472
855
    }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
468
59
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
469
59
        auto& value_data = this->data(place).get();
470
59
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
471
59
        column.get_data().push_back(value_data.cardinality());
472
59
    }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
468
381
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
469
381
        auto& value_data = this->data(place).get();
470
381
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
471
381
        column.get_data().push_back(value_data.cardinality());
472
381
    }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
468
57
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
469
57
        auto& value_data = this->data(place).get();
470
57
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
471
57
        column.get_data().push_back(value_data.cardinality());
472
57
    }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
468
75
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
469
75
        auto& value_data = this->data(place).get();
470
75
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
471
75
        column.get_data().push_back(value_data.cardinality());
472
75
    }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
468
72
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
469
72
        auto& value_data = this->data(place).get();
470
72
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
471
72
        column.get_data().push_back(value_data.cardinality());
472
72
    }
_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
47
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
469
47
        auto& value_data = this->data(place).get();
470
47
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
471
47
        column.get_data().push_back(value_data.cardinality());
472
47
    }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
468
47
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
469
47
        auto& value_data = this->data(place).get();
470
47
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
471
47
        column.get_data().push_back(value_data.cardinality());
472
47
    }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
468
50
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
469
50
        auto& value_data = this->data(place).get();
470
50
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
471
50
        column.get_data().push_back(value_data.cardinality());
472
50
    }
_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
109
    void reset(AggregateDataPtr __restrict place) const override { this->data(place).reset(); }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE5resetEPc
Line
Count
Source
474
4
    void reset(AggregateDataPtr __restrict place) const override { this->data(place).reset(); }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE5resetEPc
Line
Count
Source
474
32
    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
9
    void reset(AggregateDataPtr __restrict place) const override { this->data(place).reset(); }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEE5resetEPc
Line
Count
Source
474
32
    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