Coverage Report

Created: 2026-10-16 15:01

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
79.9k
    static void add(BitmapValue& res, const BitmapValue& data, bool& is_first) {
56
79.9k
        if (UNLIKELY(is_first)) {
57
1.10k
            res = data;
58
1.10k
            is_first = false;
59
78.8k
        } else {
60
78.8k
            res |= data;
61
78.8k
        }
62
79.9k
    }
63
64
57.9k
    static void add_batch(BitmapValue& res, std::vector<const BitmapValue*>& data, bool& is_first) {
65
57.9k
        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.9k
        is_first = false;
69
57.9k
    }
70
71
44.3k
    static void merge(BitmapValue& res, const BitmapValue& data, bool& is_first) {
72
44.3k
        if (UNLIKELY(is_first)) {
73
42.0k
            res = data;
74
42.0k
            is_first = false;
75
42.0k
        } else {
76
2.31k
            res |= data;
77
2.31k
        }
78
44.3k
    }
79
};
80
81
struct AggregateFunctionBitmapIntersectOp {
82
    static constexpr auto name = "bitmap_intersect";
83
84
5.70k
    static void add(BitmapValue& res, const BitmapValue& data, bool& is_first) {
85
5.70k
        if (UNLIKELY(is_first)) {
86
1.69k
            res = data;
87
1.69k
            is_first = false;
88
4.01k
        } else {
89
4.01k
            res &= data;
90
4.01k
        }
91
5.70k
    }
92
93
267
    static void merge(BitmapValue& res, const BitmapValue& data, bool& is_first) {
94
267
        if (UNLIKELY(is_first)) {
95
150
            res = data;
96
150
            is_first = false;
97
150
        } else {
98
117
            res &= data;
99
117
        }
100
267
    }
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
92.2k
    void add(const T& data) {
132
92.2k
        Op::add(value, data, is_first);
133
92.2k
    }
_ZN5doris27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEE3addINS_11BitmapValueEEEvRKT_
Line
Count
Source
131
79.6k
    void add(const T& data) {
132
79.6k
        Op::add(value, data, is_first);
133
79.6k
    }
_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.70k
    void add(const T& data) {
132
5.70k
        Op::add(value, data, is_first);
133
5.70k
    }
_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.9k
    void add_batch(std::vector<const BitmapValue*>& data) { Op::add_batch(value, data, is_first); }
136
137
44.8k
    void merge(const BitmapValue& data) { Op::merge(value, data, is_first); }
_ZN5doris27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEE5mergeERKNS_11BitmapValueE
Line
Count
Source
137
44.3k
    void merge(const BitmapValue& data) { Op::merge(value, data, is_first); }
_ZN5doris27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEE5mergeERKNS_11BitmapValueE
Line
Count
Source
137
267
    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.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_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
56
    void reset() {
144
56
        is_first = true;
145
56
        value.reset(); // it's better to call reset function by self firstly.
146
56
    }
_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
60.4k
    const BitmapValue& get() const { return value; }
_ZNK5doris27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEE3getEv
Line
Count
Source
150
58.7k
    const BitmapValue& get() const { return value; }
_ZNK5doris27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEE3getEv
Line
Count
Source
150
1.54k
    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.06k
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {}
_ZN5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISE_EE
Line
Count
Source
160
37
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {}
_ZN5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISE_EE
Line
Count
Source
160
514
            : 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
383
            : 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.58k
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {}
_ZN5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEEENS_25AggregateFunctionBitmapOpIS2_EEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EE
Line
Count
Source
160
1.05k
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {}
_ZN5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEEENS_25AggregateFunctionBitmapOpIS2_EEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EE
Line
Count
Source
160
397
            : 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.22k
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->create(place);
170
2.22k
            DEFER({
171
2.22k
                assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->destroy(place);
172
2.22k
            });
173
2.22k
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->add(place, columns, i,
174
2.22k
                                                                                arena);
175
2.22k
            data[i] = std::move(this->data(place).value);
176
2.22k
        }
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
117
        for (size_t i = 0; i != num_rows; ++i) {
169
107
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->create(place);
170
107
            DEFER({
171
107
                assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->destroy(place);
172
107
            });
173
107
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->add(place, columns, i,
174
107
                                                                                arena);
175
107
            data[i] = std::move(this->data(place).value);
176
107
        }
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.15k
                             MutableColumnPtr& dst, const size_t num_rows) const override {
181
1.15k
        auto& col = assert_cast<ColumnBitmap&>(*dst);
182
1.15k
        col.resize(num_rows);
183
1.15k
        auto* data = col.get_data().data();
184
43.3k
        for (size_t i = 0; i != num_rows; ++i) {
185
42.1k
            data[i] = std::move(this->data(places[i] + offset).value);
186
42.1k
        }
187
1.15k
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE19serialize_to_columnERKSt6vectorIPcSaISB_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISH_EEm
Line
Count
Source
180
28
                             MutableColumnPtr& dst, const size_t num_rows) const override {
181
28
        auto& col = assert_cast<ColumnBitmap&>(*dst);
182
28
        col.resize(num_rows);
183
28
        auto* data = col.get_data().data();
184
59
        for (size_t i = 0; i != num_rows; ++i) {
185
31
            data[i] = std::move(this->data(places[i] + offset).value);
186
31
        }
187
28
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE19serialize_to_columnERKSt6vectorIPcSaISB_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISH_EEm
Line
Count
Source
180
166
                             MutableColumnPtr& dst, const size_t num_rows) const override {
181
166
        auto& col = assert_cast<ColumnBitmap&>(*dst);
182
166
        col.resize(num_rows);
183
166
        auto* data = col.get_data().data();
184
341
        for (size_t i = 0; i != num_rows; ++i) {
185
175
            data[i] = std::move(this->data(places[i] + offset).value);
186
175
        }
187
166
    }
_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
728
                             MutableColumnPtr& dst, const size_t num_rows) const override {
181
728
        auto& col = assert_cast<ColumnBitmap&>(*dst);
182
728
        col.resize(num_rows);
183
728
        auto* data = col.get_data().data();
184
42.2k
        for (size_t i = 0; i != num_rows; ++i) {
185
41.5k
            data[i] = std::move(this->data(places[i] + offset).value);
186
41.5k
        }
187
728
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEEENS_25AggregateFunctionBitmapOpIS2_EEE19serialize_to_columnERKSt6vectorIPcSaIS8_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISE_EEm
Line
Count
Source
180
25
                             MutableColumnPtr& dst, const size_t num_rows) const override {
181
25
        auto& col = assert_cast<ColumnBitmap&>(*dst);
182
25
        col.resize(num_rows);
183
25
        auto* data = col.get_data().data();
184
85
        for (size_t i = 0; i != num_rows; ++i) {
185
60
            data[i] = std::move(this->data(places[i] + offset).value);
186
60
        }
187
25
    }
_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
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
26
        for (size_t i = begin; i <= end; ++i) {
204
14
            this->data(place).merge(data[i]);
205
14
        }
206
12
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
198
161
                                                 Arena&) const override {
199
161
        DCHECK(end <= column.size() && begin <= end)
200
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
201
161
        const auto& col = assert_cast<const ColumnBitmap&>(column);
202
161
        const auto* data = col.get_data().data();
203
340
        for (size_t i = begin; i <= end; ++i) {
204
179
            this->data(place).merge(data[i]);
205
179
        }
206
161
    }
_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
246
                                                 Arena&) const override {
199
246
        DCHECK(end <= column.size() && begin <= end)
200
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
201
246
        const auto& col = assert_cast<const ColumnBitmap&>(column);
202
246
        const auto* data = col.get_data().data();
203
509
        for (size_t i = begin; i <= end; ++i) {
204
263
            this->data(place).merge(data[i]);
205
263
        }
206
246
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEEENS_25AggregateFunctionBitmapOpIS2_EEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
198
193
                                                 Arena&) const override {
199
193
        DCHECK(end <= column.size() && begin <= end)
200
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
201
193
        const auto& col = assert_cast<const ColumnBitmap&>(column);
202
193
        const auto* data = col.get_data().data();
203
403
        for (size_t i = begin; i <= end; ++i) {
204
210
            this->data(place).merge(data[i]);
205
210
        }
206
193
    }
_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
89
    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
12
    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
706
                                   const size_t num_rows) const override {
213
706
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
706
        const auto* data = col.get_data().data();
215
42.5k
        for (size_t i = 0; i != num_rows; ++i) {
216
41.8k
            this->data(places[i] + offset).merge(data[i]);
217
41.8k
        }
218
706
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE25deserialize_and_merge_vecEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
212
21
                                   const size_t num_rows) const override {
213
21
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
21
        const auto* data = col.get_data().data();
215
50
        for (size_t i = 0; i != num_rows; ++i) {
216
29
            this->data(places[i] + offset).merge(data[i]);
217
29
        }
218
21
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE25deserialize_and_merge_vecEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
212
99
                                   const size_t num_rows) const override {
213
99
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
99
        const auto* data = col.get_data().data();
215
247
        for (size_t i = 0; i != num_rows; ++i) {
216
148
            this->data(places[i] + offset).merge(data[i]);
217
148
        }
218
99
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEEEE25deserialize_and_merge_vecEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
212
15
                                   const size_t num_rows) const override {
213
15
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
15
        const auto* data = col.get_data().data();
215
48
        for (size_t i = 0; i != num_rows; ++i) {
216
33
            this->data(places[i] + offset).merge(data[i]);
217
33
        }
218
15
    }
_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
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
15
        for (size_t i = 0; i != num_rows; ++i) {
216
9
            this->data(places[i] + offset).merge(data[i]);
217
9
        }
218
6
    }
_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
469
                                   const size_t num_rows) const override {
213
469
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
469
        const auto* data = col.get_data().data();
215
41.9k
        for (size_t i = 0; i != num_rows; ++i) {
216
41.4k
            this->data(places[i] + offset).merge(data[i]);
217
41.4k
        }
218
469
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEEENS_25AggregateFunctionBitmapOpIS2_EEE25deserialize_and_merge_vecEPKPcmS7_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
212
28
                                   const size_t num_rows) const override {
213
28
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
28
        const auto* data = col.get_data().data();
215
75
        for (size_t i = 0; i != num_rows; ++i) {
216
47
            this->data(places[i] + offset).merge(data[i]);
217
47
        }
218
28
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEEENS_25AggregateFunctionBitmapOpIS2_EEE25deserialize_and_merge_vecEPKPcmS7_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
212
11
                                   const size_t num_rows) const override {
213
11
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
11
        const auto* data = col.get_data().data();
215
42
        for (size_t i = 0; i != num_rows; ++i) {
216
31
            this->data(places[i] + offset).merge(data[i]);
217
31
        }
218
11
    }
219
220
    void deserialize_and_merge_vec_selected(const AggregateDataPtr* places, size_t offset,
221
                                            AggregateDataPtr rhs, const IColumn* column, Arena&,
222
66
                                            const size_t num_rows) const override {
223
66
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
224
66
        const auto* data = col.get_data().data();
225
232
        for (size_t i = 0; i != num_rows; ++i) {
226
166
            if (places[i]) {
227
94
                this->data(places[i] + offset).merge(data[i]);
228
94
            }
229
166
        }
230
66
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE34deserialize_and_merge_vec_selectedEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
222
1
                                            const size_t num_rows) const override {
223
1
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
224
1
        const auto* data = col.get_data().data();
225
2
        for (size_t i = 0; i != num_rows; ++i) {
226
1
            if (places[i]) {
227
1
                this->data(places[i] + offset).merge(data[i]);
228
1
            }
229
1
        }
230
1
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE34deserialize_and_merge_vec_selectedEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
222
1
                                            const size_t num_rows) const override {
223
1
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
224
1
        const auto* data = col.get_data().data();
225
2
        for (size_t i = 0; i != num_rows; ++i) {
226
1
            if (places[i]) {
227
1
                this->data(places[i] + offset).merge(data[i]);
228
1
            }
229
1
        }
230
1
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEEEE34deserialize_and_merge_vec_selectedEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
222
6
                                            const size_t num_rows) const override {
223
6
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
224
6
        const auto* data = col.get_data().data();
225
12
        for (size_t i = 0; i != num_rows; ++i) {
226
6
            if (places[i]) {
227
6
                this->data(places[i] + offset).merge(data[i]);
228
6
            }
229
6
        }
230
6
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEE34deserialize_and_merge_vec_selectedEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
222
6
                                            const size_t num_rows) const override {
223
6
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
224
6
        const auto* data = col.get_data().data();
225
12
        for (size_t i = 0; i != num_rows; ++i) {
226
6
            if (places[i]) {
227
6
                this->data(places[i] + offset).merge(data[i]);
228
6
            }
229
6
        }
230
6
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEE34deserialize_and_merge_vec_selectedEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
222
6
                                            const size_t num_rows) const override {
223
6
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
224
6
        const auto* data = col.get_data().data();
225
12
        for (size_t i = 0; i != num_rows; ++i) {
226
6
            if (places[i]) {
227
6
                this->data(places[i] + offset).merge(data[i]);
228
6
            }
229
6
        }
230
6
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEEEE34deserialize_and_merge_vec_selectedEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
222
6
                                            const size_t num_rows) const override {
223
6
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
224
6
        const auto* data = col.get_data().data();
225
12
        for (size_t i = 0; i != num_rows; ++i) {
226
6
            if (places[i]) {
227
6
                this->data(places[i] + offset).merge(data[i]);
228
6
            }
229
6
        }
230
6
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEEEE34deserialize_and_merge_vec_selectedEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
222
5
                                            const size_t num_rows) const override {
223
5
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
224
5
        const auto* data = col.get_data().data();
225
10
        for (size_t i = 0; i != num_rows; ++i) {
226
5
            if (places[i]) {
227
5
                this->data(places[i] + offset).merge(data[i]);
228
5
            }
229
5
        }
230
5
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEE34deserialize_and_merge_vec_selectedEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
222
5
                                            const size_t num_rows) const override {
223
5
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
224
5
        const auto* data = col.get_data().data();
225
10
        for (size_t i = 0; i != num_rows; ++i) {
226
5
            if (places[i]) {
227
5
                this->data(places[i] + offset).merge(data[i]);
228
5
            }
229
5
        }
230
5
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEE34deserialize_and_merge_vec_selectedEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
222
5
                                            const size_t num_rows) const override {
223
5
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
224
5
        const auto* data = col.get_data().data();
225
10
        for (size_t i = 0; i != num_rows; ++i) {
226
5
            if (places[i]) {
227
5
                this->data(places[i] + offset).merge(data[i]);
228
5
            }
229
5
        }
230
5
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEEEE34deserialize_and_merge_vec_selectedEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
222
5
                                            const size_t num_rows) const override {
223
5
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
224
5
        const auto* data = col.get_data().data();
225
10
        for (size_t i = 0; i != num_rows; ++i) {
226
5
            if (places[i]) {
227
5
                this->data(places[i] + offset).merge(data[i]);
228
5
            }
229
5
        }
230
5
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_25AggregateFunctionBitmapOpIS2_EEE34deserialize_and_merge_vec_selectedEPKPcmS7_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
222
20
                                            const size_t num_rows) const override {
223
20
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
224
20
        const auto* data = col.get_data().data();
225
140
        for (size_t i = 0; i != num_rows; ++i) {
226
120
            if (places[i]) {
227
48
                this->data(places[i] + offset).merge(data[i]);
228
48
            }
229
120
        }
230
20
    }
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEEENS_25AggregateFunctionBitmapOpIS2_EEE34deserialize_and_merge_vec_selectedEPKPcmS7_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEEENS_25AggregateFunctionBitmapOpIS2_EEE34deserialize_and_merge_vec_selectedEPKPcmS7_PKNS_7IColumnERNS_5ArenaEm
231
232
    void serialize_without_key_to_column(ConstAggregateDataPtr __restrict place,
233
522
                                         IColumn& to) const override {
234
522
        auto& col = assert_cast<ColumnBitmap&>(to);
235
522
        size_t old_size = col.size();
236
522
        col.resize(old_size + 1);
237
522
        col.get_data()[old_size] = std::move(this->data(place).value);
238
522
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE31serialize_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_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
233
83
                                         IColumn& to) const override {
234
83
        auto& col = assert_cast<ColumnBitmap&>(to);
235
83
        size_t old_size = col.size();
236
83
        col.resize(old_size + 1);
237
83
        col.get_data()[old_size] = std::move(this->data(place).value);
238
83
    }
_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
117
                                         IColumn& to) const override {
234
117
        auto& col = assert_cast<ColumnBitmap&>(to);
235
117
        size_t old_size = col.size();
236
117
        col.resize(old_size + 1);
237
117
        col.get_data()[old_size] = std::move(this->data(place).value);
238
117
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEEENS_25AggregateFunctionBitmapOpIS2_EEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
233
106
                                         IColumn& to) const override {
234
106
        auto& col = assert_cast<ColumnBitmap&>(to);
235
106
        size_t old_size = col.size();
236
106
        col.resize(old_size + 1);
237
106
        col.get_data()[old_size] = std::move(this->data(place).value);
238
106
    }
_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.29k
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
3.29k
        return ColumnBitmap::create();
242
3.29k
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE23create_serialize_columnEv
Line
Count
Source
240
40
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
40
        return ColumnBitmap::create();
242
40
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE23create_serialize_columnEv
Line
Count
Source
240
546
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
546
        return ColumnBitmap::create();
242
546
    }
_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
400
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
400
        return ColumnBitmap::create();
242
400
    }
_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
966
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
966
        return ColumnBitmap::create();
242
966
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEEENS_25AggregateFunctionBitmapOpIS2_EEE23create_serialize_columnEv
Line
Count
Source
240
681
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
681
        return ColumnBitmap::create();
242
681
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEEENS_25AggregateFunctionBitmapOpIS2_EEE23create_serialize_columnEv
Line
Count
Source
240
389
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
389
        return ColumnBitmap::create();
242
389
    }
243
244
3.26k
    [[nodiscard]] DataTypePtr get_serialized_type() const override {
245
3.26k
        return std::make_shared<DataTypeBitMap>();
246
3.26k
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE19get_serialized_typeEv
Line
Count
Source
244
35
    [[nodiscard]] DataTypePtr get_serialized_type() const override {
245
35
        return std::make_shared<DataTypeBitMap>();
246
35
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE19get_serialized_typeEv
Line
Count
Source
244
554
    [[nodiscard]] DataTypePtr get_serialized_type() const override {
245
554
        return std::make_shared<DataTypeBitMap>();
246
554
    }
_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
382
    [[nodiscard]] DataTypePtr get_serialized_type() const override {
245
382
        return std::make_shared<DataTypeBitMap>();
246
382
    }
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.04k
    [[nodiscard]] DataTypePtr get_serialized_type() const override {
245
1.04k
        return std::make_shared<DataTypeBitMap>();
246
1.04k
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEEENS_25AggregateFunctionBitmapOpIS2_EEE19get_serialized_typeEv
Line
Count
Source
244
777
    [[nodiscard]] DataTypePtr get_serialized_type() const override {
245
777
        return std::make_shared<DataTypeBitMap>();
246
777
    }
_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
139
    String get_name() const override { return Op::name; }
_ZNK5doris25AggregateFunctionBitmapOpINS_30AggregateFunctionBitmapUnionOpEE8get_nameB5cxx11Ev
Line
Count
Source
263
29
    String get_name() const override { return Op::name; }
_ZNK5doris25AggregateFunctionBitmapOpINS_34AggregateFunctionBitmapIntersectOpEE8get_nameB5cxx11Ev
Line
Count
Source
263
79
    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.03k
            : AggregateFunctionBitmapSerializationHelper<AggregateFunctionBitmapData<Op>,
267
4.03k
                                                         AggregateFunctionBitmapOp<Op>>(
268
4.03k
                      argument_types_) {}
_ZN5doris25AggregateFunctionBitmapOpINS_30AggregateFunctionBitmapUnionOpEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS7_EE
Line
Count
Source
266
2.58k
            : AggregateFunctionBitmapSerializationHelper<AggregateFunctionBitmapData<Op>,
267
2.58k
                                                         AggregateFunctionBitmapOp<Op>>(
268
2.58k
                      argument_types_) {}
_ZN5doris25AggregateFunctionBitmapOpINS_34AggregateFunctionBitmapIntersectOpEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS7_EE
Line
Count
Source
266
1.05k
            : AggregateFunctionBitmapSerializationHelper<AggregateFunctionBitmapData<Op>,
267
1.05k
                                                         AggregateFunctionBitmapOp<Op>>(
268
1.05k
                      argument_types_) {}
_ZN5doris25AggregateFunctionBitmapOpINS_33AggregateFunctionGroupBitmapXorOpEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS7_EE
Line
Count
Source
266
397
            : AggregateFunctionBitmapSerializationHelper<AggregateFunctionBitmapData<Op>,
267
397
                                                         AggregateFunctionBitmapOp<Op>>(
268
397
                      argument_types_) {}
269
270
5.01k
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeBitMap>(); }
_ZNK5doris25AggregateFunctionBitmapOpINS_30AggregateFunctionBitmapUnionOpEE15get_return_typeEv
Line
Count
Source
270
4.39k
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeBitMap>(); }
_ZNK5doris25AggregateFunctionBitmapOpINS_34AggregateFunctionBitmapIntersectOpEE15get_return_typeEv
Line
Count
Source
270
472
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeBitMap>(); }
_ZNK5doris25AggregateFunctionBitmapOpINS_33AggregateFunctionGroupBitmapXorOpEE15get_return_typeEv
Line
Count
Source
270
147
    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
94.6k
             Arena&) const override {
274
94.6k
        const auto& column =
275
94.6k
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
276
94.6k
        this->data(place).add(column.get_data()[row_num]);
277
94.6k
    }
_ZNK5doris25AggregateFunctionBitmapOpINS_30AggregateFunctionBitmapUnionOpEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
273
88.6k
             Arena&) const override {
274
88.6k
        const auto& column =
275
88.6k
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
276
88.6k
        this->data(place).add(column.get_data()[row_num]);
277
88.6k
    }
_ZNK5doris25AggregateFunctionBitmapOpINS_34AggregateFunctionBitmapIntersectOpEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
273
5.69k
             Arena&) const override {
274
5.69k
        const auto& column =
275
5.69k
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
276
5.69k
        this->data(place).add(column.get_data()[row_num]);
277
5.69k
    }
_ZNK5doris25AggregateFunctionBitmapOpINS_33AggregateFunctionGroupBitmapXorOpEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
273
291
             Arena&) const override {
274
291
        const auto& column =
275
291
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
276
291
        this->data(place).add(column.get_data()[row_num]);
277
291
    }
278
279
    void add_many(AggregateDataPtr __restrict place, const IColumn** columns,
280
40.6k
                  std::vector<int>& rows, Arena&) const override {
281
        // now this only for bitmap_union function
282
40.6k
        if constexpr (std::is_same_v<Op, AggregateFunctionBitmapUnionOp>) {
283
40.6k
            const auto& column =
284
40.6k
                    assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
285
40.6k
            std::vector<const BitmapValue*> values;
286
40.6k
            for (auto row : rows) {
287
38.0k
                values.push_back(&(column.get_data()[row]));
288
38.0k
            }
289
40.6k
            this->data(place).add_batch(values);
290
40.6k
        }
291
40.6k
    }
_ZNK5doris25AggregateFunctionBitmapOpINS_30AggregateFunctionBitmapUnionOpEE8add_manyEPcPPKNS_7IColumnERSt6vectorIiSaIiEERNS_5ArenaE
Line
Count
Source
280
40.6k
                  std::vector<int>& rows, Arena&) const override {
281
        // now this only for bitmap_union function
282
40.6k
        if constexpr (std::is_same_v<Op, AggregateFunctionBitmapUnionOp>) {
283
40.6k
            const auto& column =
284
40.6k
                    assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
285
40.6k
            std::vector<const BitmapValue*> values;
286
40.6k
            for (auto row : rows) {
287
38.0k
                values.push_back(&(column.get_data()[row]));
288
38.0k
            }
289
40.6k
            this->data(place).add_batch(values);
290
40.6k
        }
291
40.6k
    }
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.4k
            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.4k
            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
59.8k
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
326
59.8k
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
327
59.8k
        column.get_data().push_back(this->data(place).get());
328
59.8k
    }
_ZNK5doris25AggregateFunctionBitmapOpINS_30AggregateFunctionBitmapUnionOpEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
325
58.2k
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
326
58.2k
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
327
58.2k
        column.get_data().push_back(this->data(place).get());
328
58.2k
    }
_ZNK5doris25AggregateFunctionBitmapOpINS_34AggregateFunctionBitmapIntersectOpEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
325
1.54k
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
326
1.54k
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
327
1.54k
        column.get_data().push_back(this->data(place).get());
328
1.54k
    }
_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
56
    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.03k
            : AggregateFunctionBitmapSerializationHelper<
348
1.03k
                      AggregateFunctionBitmapData<AggregateFunctionBitmapUnionOp>,
349
1.03k
                      AggregateFunctionBitmapCount<arg_is_nullable, ColVecType>>(argument_types_) {}
_ZN5doris28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
347
37
            : AggregateFunctionBitmapSerializationHelper<
348
37
                      AggregateFunctionBitmapData<AggregateFunctionBitmapUnionOp>,
349
37
                      AggregateFunctionBitmapCount<arg_is_nullable, ColVecType>>(argument_types_) {}
_ZN5doris28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
347
514
            : AggregateFunctionBitmapSerializationHelper<
348
514
                      AggregateFunctionBitmapData<AggregateFunctionBitmapUnionOp>,
349
514
                      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
383
            : AggregateFunctionBitmapSerializationHelper<
348
383
                      AggregateFunctionBitmapData<AggregateFunctionBitmapUnionOp>,
349
383
                      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
117
    String get_name() const override {
352
117
        if constexpr (std::is_same_v<ColVecType, ColumnBitmap>) {
353
43
            return "bitmap_union_count";
354
74
        } else {
355
74
            return "bitmap_union_int";
356
74
        }
357
117
    }
_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
32
    String get_name() const override {
352
32
        if constexpr (std::is_same_v<ColVecType, ColumnBitmap>) {
353
32
            return "bitmap_union_count";
354
        } else {
355
            return "bitmap_union_int";
356
        }
357
32
    }
_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.32k
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeInt64>(); }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE15get_return_typeEv
Line
Count
Source
359
137
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeInt64>(); }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE15get_return_typeEv
Line
Count
Source
359
647
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeInt64>(); }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEE15get_return_typeEv
Line
Count
Source
359
75
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeInt64>(); }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEE15get_return_typeEv
Line
Count
Source
359
93
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeInt64>(); }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEE15get_return_typeEv
Line
Count
Source
359
93
    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
84
    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.5k
             Arena&) const override {
363
13.5k
        const IColumn* data_column = columns[0];
364
13.5k
        if constexpr (arg_is_nullable) {
365
6.68k
            const auto& nullable_column =
366
6.68k
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*columns[0]);
367
6.68k
            if (nullable_column.is_null_at(row_num)) {
368
203
                return;
369
203
            }
370
6.48k
            data_column = &nullable_column.get_nested_column();
371
6.48k
        }
372
0
        const auto& value =
373
13.5k
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*data_column)
374
13.5k
                        .get_data()[row_num];
375
13.5k
        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.5k
    }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
362
110
             Arena&) const override {
363
110
        const IColumn* data_column = columns[0];
364
110
        if constexpr (arg_is_nullable) {
365
110
            const auto& nullable_column =
366
110
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*columns[0]);
367
110
            if (nullable_column.is_null_at(row_num)) {
368
8
                return;
369
8
            }
370
102
            data_column = &nullable_column.get_nested_column();
371
102
        }
372
0
        const auto& value =
373
110
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*data_column)
374
110
                        .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
110
        this->data(place).add(value);
382
110
    }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
362
631
             Arena&) const override {
363
631
        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
631
        const auto& value =
373
631
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*data_column)
374
631
                        .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
631
        this->data(place).add(value);
382
631
    }
_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
93
                  std::vector<int>& rows, Arena&) const override {
386
        // now this only for bitmap_union_count function
387
93
        if constexpr (arg_is_nullable && std::is_same_v<ColVecType, ColumnBitmap>) {
388
0
            const auto& nullable_column =
389
0
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*columns[0]);
390
0
            const auto& column = assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(
391
0
                    nullable_column.get_nested_column());
392
0
            std::vector<const BitmapValue*> values;
393
0
            for (auto row : rows) {
394
0
                if (!nullable_column.is_null_at(row)) {
395
0
                    values.push_back(&(column.get_data()[row]));
396
0
                }
397
0
            }
398
0
            this->data(place).add_batch(values);
399
93
        } else if constexpr (std::is_same_v<ColVecType, ColumnBitmap>) {
400
93
            const auto& column =
401
93
                    assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
402
93
            std::vector<const BitmapValue*> values;
403
171
            for (auto row : rows) {
404
171
                values.push_back(&(column.get_data()[row]));
405
171
            }
406
93
            this->data(place).add_batch(values);
407
93
        }
408
93
    }
Unexecuted instantiation: _ZNK5doris28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE8add_manyEPcPPKNS_7IColumnERSt6vectorIiSaIiEERNS_5ArenaE
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE8add_manyEPcPPKNS_7IColumnERSt6vectorIiSaIiEERNS_5ArenaE
Line
Count
Source
385
93
                  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
93
        } else if constexpr (std::is_same_v<ColVecType, ColumnBitmap>) {
400
93
            const auto& column =
401
93
                    assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
402
93
            std::vector<const BitmapValue*> values;
403
171
            for (auto row : rows) {
404
171
                values.push_back(&(column.get_data()[row]));
405
171
            }
406
93
            this->data(place).add_batch(values);
407
93
        }
408
93
    }
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
39.8k
                for (size_t i = 0; i < batch_size; ++i) {
430
39.7k
                    if constexpr (arg_is_nullable) {
431
0
                        if ((*null_map)[i]) {
432
0
                            continue; // skip null value
433
0
                        }
434
0
                    }
435
0
                    values.push_back(&(column.get_data()[i]));
436
39.7k
                }
437
0
                this->data(place).add_batch(values);
438
0
            };
Unexecuted instantiation: _ZZNK5doris28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE22add_batch_single_placeEmPcPPKNS_7IColumnERNS_5ArenaEENKUlRS7_PKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEE_clESC_SJ_
_ZZNK5doris28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE22add_batch_single_placeEmPcPPKNS_7IColumnERNS_5ArenaEENKUlRS7_PKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEE_clESC_SJ_
Line
Count
Source
425
10
            auto add_batch_lambda = [&](const IColumn& data_column, const NullMap* null_map) {
426
10
                const auto& column =
427
10
                        assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(data_column);
428
10
                std::vector<const BitmapValue*> values;
429
39.8k
                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
39.7k
                    values.push_back(&(column.get_data()[i]));
436
39.7k
                }
437
10
                this->data(place).add_batch(values);
438
10
            };
439
440
10
            if constexpr (arg_is_nullable) {
441
0
                const auto& nullable_column =
442
0
                        assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(
443
0
                                *columns[0]);
444
0
                add_batch_lambda(nullable_column.get_nested_column(),
445
0
                                 &(nullable_column.get_null_map_data()));
446
10
            } else {
447
10
                add_batch_lambda(*columns[0], nullptr);
448
10
            }
449
291
        } else {
450
291
            normal_add_lambda();
451
291
        }
452
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
723
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
469
723
        auto& value_data = this->data(place).get();
470
723
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
471
723
        column.get_data().push_back(value_data.cardinality());
472
723
    }
_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
249
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
469
249
        auto& value_data = this->data(place).get();
470
249
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
471
249
        column.get_data().push_back(value_data.cardinality());
472
249
    }
_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