Coverage Report

Created: 2026-10-14 19:40

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.56k
    static void add(BitmapValue& res, const T& data, bool& is_first) {
51
6.56k
        res.add(data);
52
6.56k
        is_first = false;
53
6.56k
    }
_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
102k
    static void add(BitmapValue& res, const BitmapValue& data, bool& is_first) {
56
102k
        if (UNLIKELY(is_first)) {
57
1.18k
            res = data;
58
1.18k
            is_first = false;
59
101k
        } else {
60
101k
            res |= data;
61
101k
        }
62
102k
    }
63
64
57.7k
    static void add_batch(BitmapValue& res, std::vector<const BitmapValue*>& data, bool& is_first) {
65
57.7k
        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
57.7k
        is_first = false;
69
57.7k
    }
70
71
43.9k
    static void merge(BitmapValue& res, const BitmapValue& data, bool& is_first) {
72
43.9k
        if (UNLIKELY(is_first)) {
73
41.6k
            res = data;
74
41.6k
            is_first = false;
75
41.6k
        } else {
76
2.26k
            res |= data;
77
2.26k
        }
78
43.9k
    }
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
261
    static void merge(BitmapValue& res, const BitmapValue& data, bool& is_first) {
94
261
        if (UNLIKELY(is_first)) {
95
147
            res = data;
96
147
            is_first = false;
97
147
        } else {
98
114
            res &= data;
99
114
        }
100
261
    }
101
};
102
103
struct AggregateFunctionGroupBitmapXorOp {
104
    static constexpr auto name = "group_bitmap_xor";
105
106
291
    static void add(BitmapValue& res, const BitmapValue& data, bool& is_first) {
107
291
        if (UNLIKELY(is_first)) {
108
219
            res = data;
109
219
            is_first = false;
110
219
        } else {
111
72
            res ^= data;
112
72
        }
113
291
    }
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
115k
    void add(const T& data) {
132
115k
        Op::add(value, data, is_first);
133
115k
    }
_ZN5doris27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEE3addINS_11BitmapValueEEEvRKT_
Line
Count
Source
131
102k
    void add(const T& data) {
132
102k
        Op::add(value, data, is_first);
133
102k
    }
_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
291
    void add(const T& data) {
132
291
        Op::add(value, data, is_first);
133
291
    }
134
135
57.8k
    void add_batch(std::vector<const BitmapValue*>& data) { Op::add_batch(value, data, is_first); }
136
137
44.3k
    void merge(const BitmapValue& data) { Op::merge(value, data, is_first); }
_ZN5doris27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEE5mergeERKNS_11BitmapValueE
Line
Count
Source
137
43.8k
    void merge(const BitmapValue& data) { Op::merge(value, data, is_first); }
_ZN5doris27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEE5mergeERKNS_11BitmapValueE
Line
Count
Source
137
261
    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
53
    void reset() {
144
53
        is_first = true;
145
53
        value.reset(); // it's better to call reset function by self firstly.
146
53
    }
_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
58.9k
    const BitmapValue& get() const { return value; }
_ZNK5doris27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEE3getEv
Line
Count
Source
150
57.3k
    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
5.15k
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {}
_ZN5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISE_EE
Line
Count
Source
160
35
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {}
_ZN5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISE_EE
Line
Count
Source
160
547
            : 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
20
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {}
_ZN5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISE_EE
Line
Count
Source
160
385
            : 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.62k
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {}
_ZN5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEEENS_25AggregateFunctionBitmapOpIS2_EEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EE
Line
Count
Source
160
1.06k
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {}
_ZN5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEEENS_25AggregateFunctionBitmapOpIS2_EEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EE
Line
Count
Source
160
399
            : 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.42k
                             MutableColumnPtr& dst, const size_t num_rows) const override {
181
1.42k
        auto& col = assert_cast<ColumnBitmap&>(*dst);
182
1.42k
        col.resize(num_rows);
183
1.42k
        auto* data = col.get_data().data();
184
41.5k
        for (size_t i = 0; i != num_rows; ++i) {
185
40.1k
            data[i] = std::move(this->data(places[i] + offset).value);
186
40.1k
        }
187
1.42k
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE19serialize_to_columnERKSt6vectorIPcSaISB_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISH_EEm
Line
Count
Source
180
62
                             MutableColumnPtr& dst, const size_t num_rows) const override {
181
62
        auto& col = assert_cast<ColumnBitmap&>(*dst);
182
62
        col.resize(num_rows);
183
62
        auto* data = col.get_data().data();
184
98
        for (size_t i = 0; i != num_rows; ++i) {
185
36
            data[i] = std::move(this->data(places[i] + offset).value);
186
36
        }
187
62
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE19serialize_to_columnERKSt6vectorIPcSaISB_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISH_EEm
Line
Count
Source
180
267
                             MutableColumnPtr& dst, const size_t num_rows) const override {
181
267
        auto& col = assert_cast<ColumnBitmap&>(*dst);
182
267
        col.resize(num_rows);
183
267
        auto* data = col.get_data().data();
184
489
        for (size_t i = 0; i != num_rows; ++i) {
185
222
            data[i] = std::move(this->data(places[i] + offset).value);
186
222
        }
187
267
    }
_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
860
                             MutableColumnPtr& dst, const size_t num_rows) const override {
181
860
        auto& col = assert_cast<ColumnBitmap&>(*dst);
182
860
        col.resize(num_rows);
183
860
        auto* data = col.get_data().data();
184
40.3k
        for (size_t i = 0; i != num_rows; ++i) {
185
39.4k
            data[i] = std::move(this->data(places[i] + offset).value);
186
39.4k
        }
187
860
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEEENS_25AggregateFunctionBitmapOpIS2_EEE19serialize_to_columnERKSt6vectorIPcSaIS8_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISE_EEm
Line
Count
Source
180
27
                             MutableColumnPtr& dst, const size_t num_rows) const override {
181
27
        auto& col = assert_cast<ColumnBitmap&>(*dst);
182
27
        col.resize(num_rows);
183
27
        auto* data = col.get_data().data();
184
87
        for (size_t i = 0; i != num_rows; ++i) {
185
60
            data[i] = std::move(this->data(places[i] + offset).value);
186
60
        }
187
27
    }
_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.03k
                                                 Arena&) const override {
199
1.03k
        DCHECK(end <= column.size() && begin <= end)
200
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
201
1.03k
        const auto& col = assert_cast<const ColumnBitmap&>(column);
202
1.03k
        const auto* data = col.get_data().data();
203
3.90k
        for (size_t i = begin; i <= end; ++i) {
204
2.86k
            this->data(place).merge(data[i]);
205
2.86k
        }
206
1.03k
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
198
6
                                                 Arena&) const override {
199
6
        DCHECK(end <= column.size() && begin <= end)
200
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
201
6
        const auto& col = assert_cast<const ColumnBitmap&>(column);
202
6
        const auto* data = col.get_data().data();
203
14
        for (size_t i = begin; i <= end; ++i) {
204
8
            this->data(place).merge(data[i]);
205
8
        }
206
6
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
198
163
                                                 Arena&) const override {
199
163
        DCHECK(end <= column.size() && begin <= end)
200
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
201
163
        const auto& col = assert_cast<const ColumnBitmap&>(column);
202
163
        const auto* data = col.get_data().data();
203
344
        for (size_t i = begin; i <= end; ++i) {
204
181
            this->data(place).merge(data[i]);
205
181
        }
206
163
    }
_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
23
                                                 Arena&) const override {
199
23
        DCHECK(end <= column.size() && begin <= end)
200
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
201
23
        const auto& col = assert_cast<const ColumnBitmap&>(column);
202
23
        const auto* data = col.get_data().data();
203
271
        for (size_t i = begin; i <= end; ++i) {
204
248
            this->data(place).merge(data[i]);
205
248
        }
206
23
    }
_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
256
                                                 Arena&) const override {
199
256
        DCHECK(end <= column.size() && begin <= end)
200
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
201
256
        const auto& col = assert_cast<const ColumnBitmap&>(column);
202
256
        const auto* data = col.get_data().data();
203
529
        for (size_t i = begin; i <= end; ++i) {
204
273
            this->data(place).merge(data[i]);
205
273
        }
206
256
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEEENS_25AggregateFunctionBitmapOpIS2_EEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
198
188
                                                 Arena&) const override {
199
188
        DCHECK(end <= column.size() && begin <= end)
200
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
201
188
        const auto& col = assert_cast<const ColumnBitmap&>(column);
202
188
        const auto* data = col.get_data().data();
203
393
        for (size_t i = begin; i <= end; ++i) {
204
205
            this->data(place).merge(data[i]);
205
205
        }
206
188
    }
_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
87
    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
77
    bool needs_deserialize_and_merge_scratch() const override { return false; }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEEENS_25AggregateFunctionBitmapOpIS2_EEE35needs_deserialize_and_merge_scratchEv
Line
Count
Source
208
10
    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
865
                                   const size_t num_rows) const override {
213
865
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
865
        const auto* data = col.get_data().data();
215
42.3k
        for (size_t i = 0; i != num_rows; ++i) {
216
41.4k
            this->data(places[i] + offset).merge(data[i]);
217
41.4k
        }
218
865
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE25deserialize_and_merge_vecEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
212
33
                                   const size_t num_rows) const override {
213
33
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
33
        const auto* data = col.get_data().data();
215
67
        for (size_t i = 0; i != num_rows; ++i) {
216
34
            this->data(places[i] + offset).merge(data[i]);
217
34
        }
218
33
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE25deserialize_and_merge_vecEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
212
136
                                   const size_t num_rows) const override {
213
136
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
136
        const auto* data = col.get_data().data();
215
330
        for (size_t i = 0; i != num_rows; ++i) {
216
194
            this->data(places[i] + offset).merge(data[i]);
217
194
        }
218
136
    }
_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
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_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
580
                                   const size_t num_rows) const override {
213
580
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
580
        const auto* data = col.get_data().data();
215
41.5k
        for (size_t i = 0; i != num_rows; ++i) {
216
41.0k
            this->data(places[i] + offset).merge(data[i]);
217
41.0k
        }
218
580
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEEENS_25AggregateFunctionBitmapOpIS2_EEE25deserialize_and_merge_vecEPKPcmS7_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
212
24
                                   const size_t num_rows) const override {
213
24
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
24
        const auto* data = col.get_data().data();
215
70
        for (size_t i = 0; i != num_rows; ++i) {
216
46
            this->data(places[i] + offset).merge(data[i]);
217
46
        }
218
24
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEEENS_25AggregateFunctionBitmapOpIS2_EEE25deserialize_and_merge_vecEPKPcmS7_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
212
12
                                   const size_t num_rows) const override {
213
12
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
12
        const auto* data = col.get_data().data();
215
43
        for (size_t i = 0; i != num_rows; ++i) {
216
31
            this->data(places[i] + offset).merge(data[i]);
217
31
        }
218
12
    }
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
517
                                         IColumn& to) const override {
234
517
        auto& col = assert_cast<ColumnBitmap&>(to);
235
517
        size_t old_size = col.size();
236
517
        col.resize(old_size + 1);
237
517
        col.get_data()[old_size] = std::move(this->data(place).value);
238
517
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
233
5
                                         IColumn& to) const override {
234
5
        auto& col = assert_cast<ColumnBitmap&>(to);
235
5
        size_t old_size = col.size();
236
5
        col.resize(old_size + 1);
237
5
        col.get_data()[old_size] = std::move(this->data(place).value);
238
5
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
233
85
                                         IColumn& to) const override {
234
85
        auto& col = assert_cast<ColumnBitmap&>(to);
235
85
        size_t old_size = col.size();
236
85
        col.resize(old_size + 1);
237
85
        col.get_data()[old_size] = std::move(this->data(place).value);
238
85
    }
_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
13
                                         IColumn& to) const override {
234
13
        auto& col = assert_cast<ColumnBitmap&>(to);
235
13
        size_t old_size = col.size();
236
13
        col.resize(old_size + 1);
237
13
        col.get_data()[old_size] = std::move(this->data(place).value);
238
13
    }
_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
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_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
119
                                         IColumn& to) const override {
234
119
        auto& col = assert_cast<ColumnBitmap&>(to);
235
119
        size_t old_size = col.size();
236
119
        col.resize(old_size + 1);
237
119
        col.get_data()[old_size] = std::move(this->data(place).value);
238
119
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEEENS_25AggregateFunctionBitmapOpIS2_EEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
233
103
                                         IColumn& to) const override {
234
103
        auto& col = assert_cast<ColumnBitmap&>(to);
235
103
        size_t old_size = col.size();
236
103
        col.resize(old_size + 1);
237
103
        col.get_data()[old_size] = std::move(this->data(place).value);
238
103
    }
_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
3.53k
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
3.53k
        return ColumnBitmap::create();
242
3.53k
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE23create_serialize_columnEv
Line
Count
Source
240
68
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
68
        return ColumnBitmap::create();
242
68
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE23create_serialize_columnEv
Line
Count
Source
240
649
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
649
        return ColumnBitmap::create();
242
649
    }
_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
51
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
51
        return ColumnBitmap::create();
242
51
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEE23create_serialize_columnEv
Line
Count
Source
240
402
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
402
        return ColumnBitmap::create();
242
402
    }
_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
37
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
37
        return ColumnBitmap::create();
242
37
    }
_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
1.07k
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
1.07k
        return ColumnBitmap::create();
242
1.07k
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEEENS_25AggregateFunctionBitmapOpIS2_EEE23create_serialize_columnEv
Line
Count
Source
240
683
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
683
        return ColumnBitmap::create();
242
683
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEEENS_25AggregateFunctionBitmapOpIS2_EEE23create_serialize_columnEv
Line
Count
Source
240
391
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
391
        return ColumnBitmap::create();
242
391
    }
243
244
3.54k
    [[nodiscard]] DataTypePtr get_serialized_type() const override {
245
3.54k
        return std::make_shared<DataTypeBitMap>();
246
3.54k
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE19get_serialized_typeEv
Line
Count
Source
244
63
    [[nodiscard]] DataTypePtr get_serialized_type() const override {
245
63
        return std::make_shared<DataTypeBitMap>();
246
63
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE19get_serialized_typeEv
Line
Count
Source
244
658
    [[nodiscard]] DataTypePtr get_serialized_type() const override {
245
658
        return std::make_shared<DataTypeBitMap>();
246
658
    }
_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
21
    [[nodiscard]] DataTypePtr get_serialized_type() const override {
245
21
        return std::make_shared<DataTypeBitMap>();
246
21
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEE19get_serialized_typeEv
Line
Count
Source
244
383
    [[nodiscard]] DataTypePtr get_serialized_type() const override {
245
383
        return std::make_shared<DataTypeBitMap>();
246
383
    }
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.18k
    [[nodiscard]] DataTypePtr get_serialized_type() const override {
245
1.18k
        return std::make_shared<DataTypeBitMap>();
246
1.18k
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEEENS_25AggregateFunctionBitmapOpIS2_EEE19get_serialized_typeEv
Line
Count
Source
244
785
    [[nodiscard]] DataTypePtr get_serialized_type() const override {
245
785
        return std::make_shared<DataTypeBitMap>();
246
785
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEEENS_25AggregateFunctionBitmapOpIS2_EEE19get_serialized_typeEv
Line
Count
Source
244
396
    [[nodiscard]] DataTypePtr get_serialized_type() const override {
245
396
        return std::make_shared<DataTypeBitMap>();
246
396
    }
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
33
    String get_name() const override { return Op::name; }
_ZNK5doris25AggregateFunctionBitmapOpINS_34AggregateFunctionBitmapIntersectOpEE8get_nameB5cxx11Ev
Line
Count
Source
263
82
    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
4.08k
            : AggregateFunctionBitmapSerializationHelper<AggregateFunctionBitmapData<Op>,
267
4.08k
                                                         AggregateFunctionBitmapOp<Op>>(
268
4.08k
                      argument_types_) {}
_ZN5doris25AggregateFunctionBitmapOpINS_30AggregateFunctionBitmapUnionOpEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS7_EE
Line
Count
Source
266
2.62k
            : AggregateFunctionBitmapSerializationHelper<AggregateFunctionBitmapData<Op>,
267
2.62k
                                                         AggregateFunctionBitmapOp<Op>>(
268
2.62k
                      argument_types_) {}
_ZN5doris25AggregateFunctionBitmapOpINS_34AggregateFunctionBitmapIntersectOpEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS7_EE
Line
Count
Source
266
1.06k
            : AggregateFunctionBitmapSerializationHelper<AggregateFunctionBitmapData<Op>,
267
1.06k
                                                         AggregateFunctionBitmapOp<Op>>(
268
1.06k
                      argument_types_) {}
_ZN5doris25AggregateFunctionBitmapOpINS_33AggregateFunctionGroupBitmapXorOpEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS7_EE
Line
Count
Source
266
399
            : AggregateFunctionBitmapSerializationHelper<AggregateFunctionBitmapData<Op>,
267
399
                                                         AggregateFunctionBitmapOp<Op>>(
268
399
                      argument_types_) {}
269
270
5.21k
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeBitMap>(); }
_ZNK5doris25AggregateFunctionBitmapOpINS_30AggregateFunctionBitmapUnionOpEE15get_return_typeEv
Line
Count
Source
270
4.57k
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeBitMap>(); }
_ZNK5doris25AggregateFunctionBitmapOpINS_34AggregateFunctionBitmapIntersectOpEE15get_return_typeEv
Line
Count
Source
270
482
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeBitMap>(); }
_ZNK5doris25AggregateFunctionBitmapOpINS_33AggregateFunctionGroupBitmapXorOpEE15get_return_typeEv
Line
Count
Source
270
158
    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
110k
             Arena&) const override {
274
110k
        const auto& column =
275
110k
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
276
110k
        this->data(place).add(column.get_data()[row_num]);
277
110k
    }
_ZNK5doris25AggregateFunctionBitmapOpINS_30AggregateFunctionBitmapUnionOpEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
273
104k
             Arena&) const override {
274
104k
        const auto& column =
275
104k
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
276
104k
        this->data(place).add(column.get_data()[row_num]);
277
104k
    }
_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
292
             Arena&) const override {
274
292
        const auto& column =
275
292
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
276
292
        this->data(place).add(column.get_data()[row_num]);
277
292
    }
278
279
    void add_many(AggregateDataPtr __restrict place, const IColumn** columns,
280
40.8k
                  std::vector<int>& rows, Arena&) const override {
281
        // now this only for bitmap_union function
282
40.8k
        if constexpr (std::is_same_v<Op, AggregateFunctionBitmapUnionOp>) {
283
40.8k
            const auto& column =
284
40.8k
                    assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
285
40.8k
            std::vector<const BitmapValue*> values;
286
40.8k
            for (auto row : rows) {
287
40.4k
                values.push_back(&(column.get_data()[row]));
288
40.4k
            }
289
40.8k
            this->data(place).add_batch(values);
290
40.8k
        }
291
40.8k
    }
_ZNK5doris25AggregateFunctionBitmapOpINS_30AggregateFunctionBitmapUnionOpEE8add_manyEPcPPKNS_7IColumnERSt6vectorIiSaIiEERNS_5ArenaE
Line
Count
Source
280
40.8k
                  std::vector<int>& rows, Arena&) const override {
281
        // now this only for bitmap_union function
282
40.8k
        if constexpr (std::is_same_v<Op, AggregateFunctionBitmapUnionOp>) {
283
40.8k
            const auto& column =
284
40.8k
                    assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
285
40.8k
            std::vector<const BitmapValue*> values;
286
40.8k
            for (auto row : rows) {
287
40.4k
                values.push_back(&(column.get_data()[row]));
288
40.4k
            }
289
40.8k
            this->data(place).add_batch(values);
290
40.8k
        }
291
40.8k
    }
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
58.8k
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
326
58.8k
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
327
58.8k
        column.get_data().push_back(this->data(place).get());
328
58.8k
    }
_ZNK5doris25AggregateFunctionBitmapOpINS_30AggregateFunctionBitmapUnionOpEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
325
57.2k
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
326
57.2k
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
327
57.2k
        column.get_data().push_back(this->data(place).get());
328
57.2k
    }
_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.7k
    void reset(AggregateDataPtr __restrict place) const override { this->data(place).reset(); }
_ZNK5doris25AggregateFunctionBitmapOpINS_30AggregateFunctionBitmapUnionOpEE5resetEPc
Line
Count
Source
330
16.6k
    void reset(AggregateDataPtr __restrict place) const override { this->data(place).reset(); }
_ZNK5doris25AggregateFunctionBitmapOpINS_34AggregateFunctionBitmapIntersectOpEE5resetEPc
Line
Count
Source
330
53
    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
1.06k
            : AggregateFunctionBitmapSerializationHelper<
348
1.06k
                      AggregateFunctionBitmapData<AggregateFunctionBitmapUnionOp>,
349
1.06k
                      AggregateFunctionBitmapCount<arg_is_nullable, ColVecType>>(argument_types_) {}
_ZN5doris28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
347
35
            : AggregateFunctionBitmapSerializationHelper<
348
35
                      AggregateFunctionBitmapData<AggregateFunctionBitmapUnionOp>,
349
35
                      AggregateFunctionBitmapCount<arg_is_nullable, ColVecType>>(argument_types_) {}
_ZN5doris28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
347
547
            : AggregateFunctionBitmapSerializationHelper<
348
547
                      AggregateFunctionBitmapData<AggregateFunctionBitmapUnionOp>,
349
547
                      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
20
            : AggregateFunctionBitmapSerializationHelper<
348
20
                      AggregateFunctionBitmapData<AggregateFunctionBitmapUnionOp>,
349
20
                      AggregateFunctionBitmapCount<arg_is_nullable, ColVecType>>(argument_types_) {}
_ZN5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
347
385
            : AggregateFunctionBitmapSerializationHelper<
348
385
                      AggregateFunctionBitmapData<AggregateFunctionBitmapUnionOp>,
349
385
                      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
121
    String get_name() const override {
352
121
        if constexpr (std::is_same_v<ColVecType, ColumnBitmap>) {
353
47
            return "bitmap_union_count";
354
74
        } else {
355
74
            return "bitmap_union_int";
356
74
        }
357
121
    }
_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
36
    String get_name() const override {
352
36
        if constexpr (std::is_same_v<ColVecType, ColumnBitmap>) {
353
36
            return "bitmap_union_count";
354
        } else {
355
            return "bitmap_union_int";
356
        }
357
36
    }
_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.56k
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeInt64>(); }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE15get_return_typeEv
Line
Count
Source
359
167
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeInt64>(); }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE15get_return_typeEv
Line
Count
Source
359
849
    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
94
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeInt64>(); }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEE15get_return_typeEv
Line
Count
Source
359
95
    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
92
    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.6k
             Arena&) const override {
363
13.6k
        const IColumn* data_column = columns[0];
364
13.6k
        if constexpr (arg_is_nullable) {
365
6.63k
            const auto& nullable_column =
366
6.63k
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*columns[0]);
367
6.63k
            if (nullable_column.is_null_at(row_num)) {
368
203
                return;
369
203
            }
370
6.43k
            data_column = &nullable_column.get_nested_column();
371
6.43k
        }
372
0
        const auto& value =
373
13.6k
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*data_column)
374
13.6k
                        .get_data()[row_num];
375
13.6k
        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.6k
    }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
362
64
             Arena&) const override {
363
64
        const IColumn* data_column = columns[0];
364
64
        if constexpr (arg_is_nullable) {
365
64
            const auto& nullable_column =
366
64
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*columns[0]);
367
64
            if (nullable_column.is_null_at(row_num)) {
368
8
                return;
369
8
            }
370
56
            data_column = &nullable_column.get_nested_column();
371
56
        }
372
0
        const auto& value =
373
64
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*data_column)
374
64
                        .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
64
        this->data(place).add(value);
382
64
    }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
362
744
             Arena&) const override {
363
744
        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
744
        const auto& value =
373
744
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*data_column)
374
744
                        .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
744
        this->data(place).add(value);
382
744
    }
_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
162
                  std::vector<int>& rows, Arena&) const override {
386
        // now this only for bitmap_union_count function
387
162
        if constexpr (arg_is_nullable && std::is_same_v<ColVecType, ColumnBitmap>) {
388
29
            const auto& nullable_column =
389
29
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*columns[0]);
390
29
            const auto& column = assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(
391
29
                    nullable_column.get_nested_column());
392
29
            std::vector<const BitmapValue*> values;
393
46
            for (auto row : rows) {
394
46
                if (!nullable_column.is_null_at(row)) {
395
46
                    values.push_back(&(column.get_data()[row]));
396
46
                }
397
46
            }
398
29
            this->data(place).add_batch(values);
399
133
        } else if constexpr (std::is_same_v<ColVecType, ColumnBitmap>) {
400
133
            const auto& column =
401
133
                    assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
402
133
            std::vector<const BitmapValue*> values;
403
233
            for (auto row : rows) {
404
233
                values.push_back(&(column.get_data()[row]));
405
233
            }
406
133
            this->data(place).add_batch(values);
407
133
        }
408
162
    }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE8add_manyEPcPPKNS_7IColumnERSt6vectorIiSaIiEERNS_5ArenaE
Line
Count
Source
385
29
                  std::vector<int>& rows, Arena&) const override {
386
        // now this only for bitmap_union_count function
387
29
        if constexpr (arg_is_nullable && std::is_same_v<ColVecType, ColumnBitmap>) {
388
29
            const auto& nullable_column =
389
29
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*columns[0]);
390
29
            const auto& column = assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(
391
29
                    nullable_column.get_nested_column());
392
29
            std::vector<const BitmapValue*> values;
393
46
            for (auto row : rows) {
394
46
                if (!nullable_column.is_null_at(row)) {
395
46
                    values.push_back(&(column.get_data()[row]));
396
46
                }
397
46
            }
398
29
            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
29
    }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE8add_manyEPcPPKNS_7IColumnERSt6vectorIiSaIiEERNS_5ArenaE
Line
Count
Source
385
133
                  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
133
        } else if constexpr (std::is_same_v<ColVecType, ColumnBitmap>) {
400
133
            const auto& column =
401
133
                    assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
402
133
            std::vector<const BitmapValue*> values;
403
233
            for (auto row : rows) {
404
233
                values.push_back(&(column.get_data()[row]));
405
233
            }
406
133
            this->data(place).add_batch(values);
407
133
        }
408
133
    }
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
351
                                Arena& arena) const override {
412
351
        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
341
        };
_ZZNK5doris28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE22add_batch_single_placeEmPcPPKNS_7IColumnERNS_5ArenaEENKUlvE_clEv
Line
Count
Source
412
18
        auto normal_add_lambda = [&]() {
413
55
            for (size_t i = 0; i < batch_size; ++i) {
414
37
                this->add(place, columns, i, arena);
415
37
            }
416
18
        };
_ZZNK5doris28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE22add_batch_single_placeEmPcPPKNS_7IColumnERNS_5ArenaEENKUlvE_clEv
Line
Count
Source
412
32
        auto normal_add_lambda = [&]() {
413
317
            for (size_t i = 0; i < batch_size; ++i) {
414
285
                this->add(place, columns, i, arena);
415
285
            }
416
32
        };
_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
351
        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
60
            if (batch_size < BATCH_HALF_ROWS) {
422
50
                normal_add_lambda();
423
50
                return;
424
50
            }
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.6k
                for (size_t i = 0; i < batch_size; ++i) {
430
40.6k
                    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.6k
                }
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.6k
                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.6k
                    values.push_back(&(column.get_data()[i]));
436
40.6k
                }
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
351
    }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE22add_batch_single_placeEmPcPPKNS_7IColumnERNS_5ArenaE
Line
Count
Source
411
18
                                Arena& arena) const override {
412
18
        auto normal_add_lambda = [&]() {
413
18
            for (size_t i = 0; i < batch_size; ++i) {
414
18
                this->add(place, columns, i, arena);
415
18
            }
416
18
        };
417
418
        // now this only for bitmap_union_count function
419
18
        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
18
            if (batch_size < BATCH_HALF_ROWS) {
422
18
                normal_add_lambda();
423
18
                return;
424
18
            }
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
18
    }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE22add_batch_single_placeEmPcPPKNS_7IColumnERNS_5ArenaE
Line
Count
Source
411
42
                                Arena& arena) const override {
412
42
        auto normal_add_lambda = [&]() {
413
42
            for (size_t i = 0; i < batch_size; ++i) {
414
42
                this->add(place, columns, i, arena);
415
42
            }
416
42
        };
417
418
        // now this only for bitmap_union_count function
419
42
        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
42
            if (batch_size < BATCH_HALF_ROWS) {
422
32
                normal_add_lambda();
423
32
                return;
424
32
            }
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
42
    }
_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
820
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
469
820
        auto& value_data = this->data(place).get();
470
820
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
471
820
        column.get_data().push_back(value_data.cardinality());
472
820
    }
_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
346
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
469
346
        auto& value_data = this->data(place).get();
470
346
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
471
346
        column.get_data().push_back(value_data.cardinality());
472
346
    }
_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