Coverage Report

Created: 2026-10-12 08:19

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
144k
    static void add(BitmapValue& res, const BitmapValue& data, bool& is_first) {
56
144k
        if (UNLIKELY(is_first)) {
57
1.21k
            res = data;
58
1.21k
            is_first = false;
59
143k
        } else {
60
143k
            res |= data;
61
143k
        }
62
144k
    }
63
64
58.1k
    static void add_batch(BitmapValue& res, std::vector<const BitmapValue*>& data, bool& is_first) {
65
58.1k
        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
58.1k
        is_first = false;
69
58.1k
    }
70
71
44.0k
    static void merge(BitmapValue& res, const BitmapValue& data, bool& is_first) {
72
44.0k
        if (UNLIKELY(is_first)) {
73
41.7k
            res = data;
74
41.7k
            is_first = false;
75
41.7k
        } else {
76
2.32k
            res |= data;
77
2.32k
        }
78
44.0k
    }
79
};
80
81
struct AggregateFunctionBitmapIntersectOp {
82
    static constexpr auto name = "bitmap_intersect";
83
84
5.72k
    static void add(BitmapValue& res, const BitmapValue& data, bool& is_first) {
85
5.72k
        if (UNLIKELY(is_first)) {
86
1.69k
            res = data;
87
1.69k
            is_first = false;
88
4.02k
        } else {
89
4.02k
            res &= data;
90
4.02k
        }
91
5.72k
    }
92
93
255
    static void merge(BitmapValue& res, const BitmapValue& data, bool& is_first) {
94
255
        if (UNLIKELY(is_first)) {
95
142
            res = data;
96
142
            is_first = false;
97
142
        } else {
98
113
            res &= data;
99
113
        }
100
255
    }
101
};
102
103
struct AggregateFunctionGroupBitmapXorOp {
104
    static constexpr auto name = "group_bitmap_xor";
105
106
292
    static void add(BitmapValue& res, const BitmapValue& data, bool& is_first) {
107
292
        if (UNLIKELY(is_first)) {
108
219
            res = data;
109
219
            is_first = false;
110
219
        } else {
111
73
            res ^= data;
112
73
        }
113
292
    }
114
115
209
    static void merge(BitmapValue& res, const BitmapValue& data, bool& is_first) {
116
209
        if (UNLIKELY(is_first)) {
117
101
            res = data;
118
101
            is_first = false;
119
108
        } else {
120
108
            res ^= data;
121
108
        }
122
209
    }
123
};
124
125
template <typename Op>
126
struct AggregateFunctionBitmapData {
127
    BitmapValue value;
128
    bool is_first = true;
129
130
    template <typename T>
131
157k
    void add(const T& data) {
132
157k
        Op::add(value, data, is_first);
133
157k
    }
_ZN5doris27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEE3addINS_11BitmapValueEEEvRKT_
Line
Count
Source
131
144k
    void add(const T& data) {
132
144k
        Op::add(value, data, is_first);
133
144k
    }
_ZN5doris27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEE3addIaEEvRKT_
Line
Count
Source
131
1.62k
    void add(const T& data) {
132
1.62k
        Op::add(value, data, is_first);
133
1.62k
    }
_ZN5doris27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEE3addIsEEvRKT_
Line
Count
Source
131
1.65k
    void add(const T& data) {
132
1.65k
        Op::add(value, data, is_first);
133
1.65k
    }
_ZN5doris27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEE3addIiEEvRKT_
Line
Count
Source
131
1.75k
    void add(const T& data) {
132
1.75k
        Op::add(value, data, is_first);
133
1.75k
    }
_ZN5doris27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEE3addIlEEvRKT_
Line
Count
Source
131
1.52k
    void add(const T& data) {
132
1.52k
        Op::add(value, data, is_first);
133
1.52k
    }
_ZN5doris27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEE3addINS_11BitmapValueEEEvRKT_
Line
Count
Source
131
5.72k
    void add(const T& data) {
132
5.72k
        Op::add(value, data, is_first);
133
5.72k
    }
_ZN5doris27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEE3addINS_11BitmapValueEEEvRKT_
Line
Count
Source
131
292
    void add(const T& data) {
132
292
        Op::add(value, data, is_first);
133
292
    }
134
135
58.1k
    void add_batch(std::vector<const BitmapValue*>& data) { Op::add_batch(value, data, is_first); }
136
137
44.5k
    void merge(const BitmapValue& data) { Op::merge(value, data, is_first); }
_ZN5doris27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEE5mergeERKNS_11BitmapValueE
Line
Count
Source
137
44.0k
    void merge(const BitmapValue& data) { Op::merge(value, data, is_first); }
_ZN5doris27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEE5mergeERKNS_11BitmapValueE
Line
Count
Source
137
255
    void merge(const BitmapValue& data) { Op::merge(value, data, is_first); }
_ZN5doris27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEE5mergeERKNS_11BitmapValueE
Line
Count
Source
137
209
    void merge(const BitmapValue& data) { Op::merge(value, data, is_first); }
138
139
0
    void write(BufferWritable& buf) const { DataTypeBitMap::serialize_as_stream(value, buf); }
Unexecuted instantiation: _ZNK5doris27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEE5writeERNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEE5writeERNS_14BufferWritableE
Unexecuted instantiation: _ZNK5doris27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEE5writeERNS_14BufferWritableE
140
141
0
    void read(BufferReadable& buf) { DataTypeBitMap::deserialize_as_stream(value, buf); }
Unexecuted instantiation: _ZN5doris27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEE4readERNS_14BufferReadableE
Unexecuted instantiation: _ZN5doris27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEE4readERNS_14BufferReadableE
Unexecuted instantiation: _ZN5doris27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEE4readERNS_14BufferReadableE
142
143
16.9k
    void reset() {
144
16.9k
        is_first = true;
145
16.9k
        value.reset(); // it's better to call reset function by self firstly.
146
16.9k
    }
_ZN5doris27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEE5resetEv
Line
Count
Source
143
16.8k
    void reset() {
144
16.8k
        is_first = true;
145
16.8k
        value.reset(); // it's better to call reset function by self firstly.
146
16.8k
    }
_ZN5doris27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEE5resetEv
Line
Count
Source
143
51
    void reset() {
144
51
        is_first = true;
145
51
        value.reset(); // it's better to call reset function by self firstly.
146
51
    }
_ZN5doris27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEE5resetEv
Line
Count
Source
143
38
    void reset() {
144
38
        is_first = true;
145
38
        value.reset(); // it's better to call reset function by self firstly.
146
38
    }
147
148
    BitmapValue& get() { return value; }
149
150
59.4k
    const BitmapValue& get() const { return value; }
_ZNK5doris27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEE3getEv
Line
Count
Source
150
57.7k
    const BitmapValue& get() const { return value; }
_ZNK5doris27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEE3getEv
Line
Count
Source
150
1.55k
    const BitmapValue& get() const { return value; }
_ZNK5doris27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEE3getEv
Line
Count
Source
150
99
    const BitmapValue& get() const { return value; }
151
};
152
153
template <typename Data, typename Derived>
154
class AggregateFunctionBitmapSerializationHelper
155
        : public IAggregateFunctionDataHelper<Data, Derived> {
156
public:
157
    using BaseHelper = IAggregateFunctionHelper<Derived>;
158
159
    AggregateFunctionBitmapSerializationHelper(const DataTypes& argument_types_)
160
5.22k
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {}
_ZN5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISE_EE
Line
Count
Source
160
40
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {}
_ZN5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISE_EE
Line
Count
Source
160
550
            : 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
396
            : 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
19
            : 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.65k
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {}
_ZN5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEEENS_25AggregateFunctionBitmapOpIS2_EEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EE
Line
Count
Source
160
1.08k
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {}
_ZN5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEEENS_25AggregateFunctionBitmapOpIS2_EEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EE
Line
Count
Source
160
410
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {}
161
162
    void streaming_agg_serialize_to_column(const IColumn** columns, MutableColumnPtr& dst,
163
115
                                           const size_t num_rows, Arena& arena) const override {
164
115
        auto& col = assert_cast<ColumnBitmap&>(*dst);
165
115
        char place[sizeof(Data)];
166
115
        col.resize(num_rows);
167
115
        auto* data = col.get_data().data();
168
2.34k
        for (size_t i = 0; i != num_rows; ++i) {
169
2.23k
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->create(place);
170
2.23k
            DEFER({
171
2.23k
                assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->destroy(place);
172
2.23k
            });
173
2.23k
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->add(place, columns, i,
174
2.23k
                                                                                arena);
175
2.23k
            data[i] = std::move(this->data(place).value);
176
2.23k
        }
177
115
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWISA_E11mutable_ptrISA_EEmRNS_5ArenaE
Line
Count
Source
163
1
                                           const size_t num_rows, Arena& arena) const override {
164
1
        auto& col = assert_cast<ColumnBitmap&>(*dst);
165
1
        char place[sizeof(Data)];
166
1
        col.resize(num_rows);
167
1
        auto* data = col.get_data().data();
168
4
        for (size_t i = 0; i != num_rows; ++i) {
169
3
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->create(place);
170
3
            DEFER({
171
3
                assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->destroy(place);
172
3
            });
173
3
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->add(place, columns, i,
174
3
                                                                                arena);
175
3
            data[i] = std::move(this->data(place).value);
176
3
        }
177
1
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWISA_E11mutable_ptrISA_EEmRNS_5ArenaE
Line
Count
Source
163
10
                                           const size_t num_rows, Arena& arena) const override {
164
10
        auto& col = assert_cast<ColumnBitmap&>(*dst);
165
10
        char place[sizeof(Data)];
166
10
        col.resize(num_rows);
167
10
        auto* data = col.get_data().data();
168
120
        for (size_t i = 0; i != num_rows; ++i) {
169
110
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->create(place);
170
110
            DEFER({
171
110
                assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->destroy(place);
172
110
            });
173
110
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->add(place, columns, i,
174
110
                                                                                arena);
175
110
            data[i] = std::move(this->data(place).value);
176
110
        }
177
10
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWISA_E11mutable_ptrISA_EEmRNS_5ArenaE
Line
Count
Source
163
6
                                           const size_t num_rows, Arena& arena) const override {
164
6
        auto& col = assert_cast<ColumnBitmap&>(*dst);
165
6
        char place[sizeof(Data)];
166
6
        col.resize(num_rows);
167
6
        auto* data = col.get_data().data();
168
228
        for (size_t i = 0; i != num_rows; ++i) {
169
222
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->create(place);
170
222
            DEFER({
171
222
                assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->destroy(place);
172
222
            });
173
222
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->add(place, columns, i,
174
222
                                                                                arena);
175
222
            data[i] = std::move(this->data(place).value);
176
222
        }
177
6
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWISA_E11mutable_ptrISA_EEmRNS_5ArenaE
Line
Count
Source
163
6
                                           const size_t num_rows, Arena& arena) const override {
164
6
        auto& col = assert_cast<ColumnBitmap&>(*dst);
165
6
        char place[sizeof(Data)];
166
6
        col.resize(num_rows);
167
6
        auto* data = col.get_data().data();
168
228
        for (size_t i = 0; i != num_rows; ++i) {
169
222
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->create(place);
170
222
            DEFER({
171
222
                assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->destroy(place);
172
222
            });
173
222
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->add(place, columns, i,
174
222
                                                                                arena);
175
222
            data[i] = std::move(this->data(place).value);
176
222
        }
177
6
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEE33streaming_agg_serialize_to_columnEPPKNS_7IColumnERNS_3COWISA_E11mutable_ptrISA_EEmRNS_5ArenaE
Line
Count
Source
163
15
                                           const size_t num_rows, Arena& arena) const override {
164
15
        auto& col = assert_cast<ColumnBitmap&>(*dst);
165
15
        char place[sizeof(Data)];
166
15
        col.resize(num_rows);
167
15
        auto* data = col.get_data().data();
168
344
        for (size_t i = 0; i != num_rows; ++i) {
169
329
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->create(place);
170
329
            DEFER({
171
329
                assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->destroy(place);
172
329
            });
173
329
            assert_cast<const Derived*, TypeCheckOnRelease::DISABLE>(this)->add(place, columns, i,
174
329
                                                                                arena);
175
329
            data[i] = std::move(this->data(place).value);
176
329
        }
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.27k
                             MutableColumnPtr& dst, const size_t num_rows) const override {
181
1.27k
        auto& col = assert_cast<ColumnBitmap&>(*dst);
182
1.27k
        col.resize(num_rows);
183
1.27k
        auto* data = col.get_data().data();
184
43.5k
        for (size_t i = 0; i != num_rows; ++i) {
185
42.2k
            data[i] = std::move(this->data(places[i] + offset).value);
186
42.2k
        }
187
1.27k
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE19serialize_to_columnERKSt6vectorIPcSaISB_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISH_EEm
Line
Count
Source
180
66
                             MutableColumnPtr& dst, const size_t num_rows) const override {
181
66
        auto& col = assert_cast<ColumnBitmap&>(*dst);
182
66
        col.resize(num_rows);
183
66
        auto* data = col.get_data().data();
184
101
        for (size_t i = 0; i != num_rows; ++i) {
185
35
            data[i] = std::move(this->data(places[i] + offset).value);
186
35
        }
187
66
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE19serialize_to_columnERKSt6vectorIPcSaISB_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISH_EEm
Line
Count
Source
180
194
                             MutableColumnPtr& dst, const size_t num_rows) const override {
181
194
        auto& col = assert_cast<ColumnBitmap&>(*dst);
182
194
        col.resize(num_rows);
183
194
        auto* data = col.get_data().data();
184
394
        for (size_t i = 0; i != num_rows; ++i) {
185
200
            data[i] = std::move(this->data(places[i] + offset).value);
186
200
        }
187
194
    }
_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
779
                             MutableColumnPtr& dst, const size_t num_rows) const override {
181
779
        auto& col = assert_cast<ColumnBitmap&>(*dst);
182
779
        col.resize(num_rows);
183
779
        auto* data = col.get_data().data();
184
42.3k
        for (size_t i = 0; i != num_rows; ++i) {
185
41.6k
            data[i] = std::move(this->data(places[i] + offset).value);
186
41.6k
        }
187
779
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEEENS_25AggregateFunctionBitmapOpIS2_EEE19serialize_to_columnERKSt6vectorIPcSaIS8_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISE_EEm
Line
Count
Source
180
24
                             MutableColumnPtr& dst, const size_t num_rows) const override {
181
24
        auto& col = assert_cast<ColumnBitmap&>(*dst);
182
24
        col.resize(num_rows);
183
24
        auto* data = col.get_data().data();
184
84
        for (size_t i = 0; i != num_rows; ++i) {
185
60
            data[i] = std::move(this->data(places[i] + offset).value);
186
60
        }
187
24
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEEENS_25AggregateFunctionBitmapOpIS2_EEE19serialize_to_columnERKSt6vectorIPcSaIS8_EEmRNS_3COWINS_7IColumnEE11mutable_ptrISE_EEm
Line
Count
Source
180
20
                             MutableColumnPtr& dst, const size_t num_rows) const override {
181
20
        auto& col = assert_cast<ColumnBitmap&>(*dst);
182
20
        col.resize(num_rows);
183
20
        auto* data = col.get_data().data();
184
76
        for (size_t i = 0; i != num_rows; ++i) {
185
56
            data[i] = std::move(this->data(places[i] + offset).value);
186
56
        }
187
20
    }
188
189
    void deserialize_from_column_row(AggregateDataPtr __restrict place, const IColumn& column,
190
30
                                     size_t row, Arena&) const override {
191
30
        DCHECK_LT(row, column.size());
192
30
        const auto& col = assert_cast<const ColumnBitmap&>(column);
193
30
        this->data(place).merge(col.get_data()[row]);
194
30
    }
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE27deserialize_from_column_rowEPcRKNS_7IColumnEmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE27deserialize_from_column_rowEPcRKNS_7IColumnEmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEEEE27deserialize_from_column_rowEPcRKNS_7IColumnEmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEE27deserialize_from_column_rowEPcRKNS_7IColumnEmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEE27deserialize_from_column_rowEPcRKNS_7IColumnEmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEEEE27deserialize_from_column_rowEPcRKNS_7IColumnEmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEEEE27deserialize_from_column_rowEPcRKNS_7IColumnEmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEE27deserialize_from_column_rowEPcRKNS_7IColumnEmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEE27deserialize_from_column_rowEPcRKNS_7IColumnEmRNS_5ArenaE
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEEEE27deserialize_from_column_rowEPcRKNS_7IColumnEmRNS_5ArenaE
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_25AggregateFunctionBitmapOpIS2_EEE27deserialize_from_column_rowEPcRKNS_7IColumnEmRNS_5ArenaE
Line
Count
Source
190
10
                                     size_t row, Arena&) const override {
191
        DCHECK_LT(row, column.size());
192
10
        const auto& col = assert_cast<const ColumnBitmap&>(column);
193
10
        this->data(place).merge(col.get_data()[row]);
194
10
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEEENS_25AggregateFunctionBitmapOpIS2_EEE27deserialize_from_column_rowEPcRKNS_7IColumnEmRNS_5ArenaE
Line
Count
Source
190
10
                                     size_t row, Arena&) const override {
191
        DCHECK_LT(row, column.size());
192
10
        const auto& col = assert_cast<const ColumnBitmap&>(column);
193
10
        this->data(place).merge(col.get_data()[row]);
194
10
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEEENS_25AggregateFunctionBitmapOpIS2_EEE27deserialize_from_column_rowEPcRKNS_7IColumnEmRNS_5ArenaE
Line
Count
Source
190
10
                                     size_t row, Arena&) const override {
191
        DCHECK_LT(row, column.size());
192
10
        const auto& col = assert_cast<const ColumnBitmap&>(column);
193
10
        this->data(place).merge(col.get_data()[row]);
194
10
    }
195
196
    void deserialize_and_merge_from_column_range(AggregateDataPtr __restrict place,
197
                                                 const IColumn& column, size_t begin, size_t end,
198
1.02k
                                                 Arena&) const override {
199
1.02k
        DCHECK(end <= column.size() && begin <= end)
200
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
201
1.02k
        const auto& col = assert_cast<const ColumnBitmap&>(column);
202
1.02k
        const auto* data = col.get_data().data();
203
3.87k
        for (size_t i = begin; i <= end; ++i) {
204
2.85k
            this->data(place).merge(data[i]);
205
2.85k
        }
206
1.02k
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
198
14
                                                 Arena&) const override {
199
14
        DCHECK(end <= column.size() && begin <= end)
200
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
201
14
        const auto& col = assert_cast<const ColumnBitmap&>(column);
202
14
        const auto* data = col.get_data().data();
203
30
        for (size_t i = begin; i <= end; ++i) {
204
16
            this->data(place).merge(data[i]);
205
16
        }
206
14
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
198
157
                                                 Arena&) const override {
199
157
        DCHECK(end <= column.size() && begin <= end)
200
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
201
157
        const auto& col = assert_cast<const ColumnBitmap&>(column);
202
157
        const auto* data = col.get_data().data();
203
332
        for (size_t i = begin; i <= end; ++i) {
204
175
            this->data(place).merge(data[i]);
205
175
        }
206
157
    }
_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
143
                                                 Arena&) const override {
199
143
        DCHECK(end <= column.size() && begin <= end)
200
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
201
143
        const auto& col = assert_cast<const ColumnBitmap&>(column);
202
143
        const auto* data = col.get_data().data();
203
511
        for (size_t i = begin; i <= end; ++i) {
204
368
            this->data(place).merge(data[i]);
205
368
        }
206
143
    }
_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
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_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
249
                                                 Arena&) const override {
199
249
        DCHECK(end <= column.size() && begin <= end)
200
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
201
249
        const auto& col = assert_cast<const ColumnBitmap&>(column);
202
249
        const auto* data = col.get_data().data();
203
515
        for (size_t i = begin; i <= end; ++i) {
204
266
            this->data(place).merge(data[i]);
205
266
        }
206
249
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEEENS_25AggregateFunctionBitmapOpIS2_EEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
198
183
                                                 Arena&) const override {
199
183
        DCHECK(end <= column.size() && begin <= end)
200
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
201
183
        const auto& col = assert_cast<const ColumnBitmap&>(column);
202
183
        const auto* data = col.get_data().data();
203
383
        for (size_t i = begin; i <= end; ++i) {
204
200
            this->data(place).merge(data[i]);
205
200
        }
206
183
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEEENS_25AggregateFunctionBitmapOpIS2_EEE39deserialize_and_merge_from_column_rangeEPcRKNS_7IColumnEmmRNS_5ArenaE
Line
Count
Source
198
151
                                                 Arena&) const override {
199
151
        DCHECK(end <= column.size() && begin <= end)
200
0
                << ", begin:" << begin << ", end:" << end << ", column.size():" << column.size();
201
151
        const auto& col = assert_cast<const ColumnBitmap&>(column);
202
151
        const auto* data = col.get_data().data();
203
319
        for (size_t i = begin; i <= end; ++i) {
204
168
            this->data(place).merge(data[i]);
205
168
        }
206
151
    }
207
208
85
    bool needs_deserialize_and_merge_scratch() const override { return false; }
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE35needs_deserialize_and_merge_scratchEv
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE35needs_deserialize_and_merge_scratchEv
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEEEE35needs_deserialize_and_merge_scratchEv
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEE35needs_deserialize_and_merge_scratchEv
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEE35needs_deserialize_and_merge_scratchEv
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEEEE35needs_deserialize_and_merge_scratchEv
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEEEE35needs_deserialize_and_merge_scratchEv
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEE35needs_deserialize_and_merge_scratchEv
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEE35needs_deserialize_and_merge_scratchEv
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEEEE35needs_deserialize_and_merge_scratchEv
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_25AggregateFunctionBitmapOpIS2_EEE35needs_deserialize_and_merge_scratchEv
Line
Count
Source
208
78
    bool needs_deserialize_and_merge_scratch() const override { return false; }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEEENS_25AggregateFunctionBitmapOpIS2_EEE35needs_deserialize_and_merge_scratchEv
Line
Count
Source
208
7
    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
748
                                   const size_t num_rows) const override {
213
748
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
748
        const auto* data = col.get_data().data();
215
42.3k
        for (size_t i = 0; i != num_rows; ++i) {
216
41.5k
            this->data(places[i] + offset).merge(data[i]);
217
41.5k
        }
218
748
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE25deserialize_and_merge_vecEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
212
31
                                   const size_t num_rows) const override {
213
31
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
31
        const auto* data = col.get_data().data();
215
64
        for (size_t i = 0; i != num_rows; ++i) {
216
33
            this->data(places[i] + offset).merge(data[i]);
217
33
        }
218
31
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE25deserialize_and_merge_vecEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
212
102
                                   const size_t num_rows) const override {
213
102
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
102
        const auto* data = col.get_data().data();
215
275
        for (size_t i = 0; i != num_rows; ++i) {
216
173
            this->data(places[i] + offset).merge(data[i]);
217
173
        }
218
102
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEEEE25deserialize_and_merge_vecEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
212
16
                                   const size_t num_rows) const override {
213
16
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
16
        const auto* data = col.get_data().data();
215
49
        for (size_t i = 0; i != num_rows; ++i) {
216
33
            this->data(places[i] + offset).merge(data[i]);
217
33
        }
218
16
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEE25deserialize_and_merge_vecEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
212
16
                                   const size_t num_rows) const override {
213
16
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
16
        const auto* data = col.get_data().data();
215
49
        for (size_t i = 0; i != num_rows; ++i) {
216
33
            this->data(places[i] + offset).merge(data[i]);
217
33
        }
218
16
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEE25deserialize_and_merge_vecEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
212
16
                                   const size_t num_rows) const override {
213
16
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
16
        const auto* data = col.get_data().data();
215
49
        for (size_t i = 0; i != num_rows; ++i) {
216
33
            this->data(places[i] + offset).merge(data[i]);
217
33
        }
218
16
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEEEE25deserialize_and_merge_vecEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
212
6
                                   const size_t num_rows) const override {
213
6
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
6
        const auto* data = col.get_data().data();
215
12
        for (size_t i = 0; i != num_rows; ++i) {
216
6
            this->data(places[i] + offset).merge(data[i]);
217
6
        }
218
6
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEEEE25deserialize_and_merge_vecEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
212
7
                                   const size_t num_rows) const override {
213
7
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
7
        const auto* data = col.get_data().data();
215
16
        for (size_t i = 0; i != num_rows; ++i) {
216
9
            this->data(places[i] + offset).merge(data[i]);
217
9
        }
218
7
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEE25deserialize_and_merge_vecEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
212
7
                                   const size_t num_rows) const override {
213
7
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
7
        const auto* data = col.get_data().data();
215
16
        for (size_t i = 0; i != num_rows; ++i) {
216
9
            this->data(places[i] + offset).merge(data[i]);
217
9
        }
218
7
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEE25deserialize_and_merge_vecEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
212
7
                                   const size_t num_rows) const override {
213
7
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
7
        const auto* data = col.get_data().data();
215
16
        for (size_t i = 0; i != num_rows; ++i) {
216
9
            this->data(places[i] + offset).merge(data[i]);
217
9
        }
218
7
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEEEE25deserialize_and_merge_vecEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
212
5
                                   const size_t num_rows) const override {
213
5
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
5
        const auto* data = col.get_data().data();
215
10
        for (size_t i = 0; i != num_rows; ++i) {
216
5
            this->data(places[i] + offset).merge(data[i]);
217
5
        }
218
5
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_25AggregateFunctionBitmapOpIS2_EEE25deserialize_and_merge_vecEPKPcmS7_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
212
502
                                   const size_t num_rows) const override {
213
502
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
502
        const auto* data = col.get_data().data();
215
41.6k
        for (size_t i = 0; i != num_rows; ++i) {
216
41.1k
            this->data(places[i] + offset).merge(data[i]);
217
41.1k
        }
218
502
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEEENS_25AggregateFunctionBitmapOpIS2_EEE25deserialize_and_merge_vecEPKPcmS7_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
66
        for (size_t i = 0; i != num_rows; ++i) {
216
45
            this->data(places[i] + offset).merge(data[i]);
217
45
        }
218
21
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEEENS_25AggregateFunctionBitmapOpIS2_EEE25deserialize_and_merge_vecEPKPcmS7_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
212
12
                                   const size_t num_rows) const override {
213
12
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
214
12
        const auto* data = col.get_data().data();
215
43
        for (size_t i = 0; i != num_rows; ++i) {
216
31
            this->data(places[i] + offset).merge(data[i]);
217
31
        }
218
12
    }
219
220
    void deserialize_and_merge_vec_selected(const AggregateDataPtr* places, size_t offset,
221
                                            AggregateDataPtr rhs, const IColumn* column, Arena&,
222
66
                                            const size_t num_rows) const override {
223
66
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
224
66
        const auto* data = col.get_data().data();
225
232
        for (size_t i = 0; i != num_rows; ++i) {
226
166
            if (places[i]) {
227
94
                this->data(places[i] + offset).merge(data[i]);
228
94
            }
229
166
        }
230
66
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE34deserialize_and_merge_vec_selectedEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
222
1
                                            const size_t num_rows) const override {
223
1
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
224
1
        const auto* data = col.get_data().data();
225
2
        for (size_t i = 0; i != num_rows; ++i) {
226
1
            if (places[i]) {
227
1
                this->data(places[i] + offset).merge(data[i]);
228
1
            }
229
1
        }
230
1
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE34deserialize_and_merge_vec_selectedEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
222
1
                                            const size_t num_rows) const override {
223
1
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
224
1
        const auto* data = col.get_data().data();
225
2
        for (size_t i = 0; i != num_rows; ++i) {
226
1
            if (places[i]) {
227
1
                this->data(places[i] + offset).merge(data[i]);
228
1
            }
229
1
        }
230
1
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEEEE34deserialize_and_merge_vec_selectedEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
222
6
                                            const size_t num_rows) const override {
223
6
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
224
6
        const auto* data = col.get_data().data();
225
12
        for (size_t i = 0; i != num_rows; ++i) {
226
6
            if (places[i]) {
227
6
                this->data(places[i] + offset).merge(data[i]);
228
6
            }
229
6
        }
230
6
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEE34deserialize_and_merge_vec_selectedEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
222
6
                                            const size_t num_rows) const override {
223
6
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
224
6
        const auto* data = col.get_data().data();
225
12
        for (size_t i = 0; i != num_rows; ++i) {
226
6
            if (places[i]) {
227
6
                this->data(places[i] + offset).merge(data[i]);
228
6
            }
229
6
        }
230
6
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEE34deserialize_and_merge_vec_selectedEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
222
6
                                            const size_t num_rows) const override {
223
6
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
224
6
        const auto* data = col.get_data().data();
225
12
        for (size_t i = 0; i != num_rows; ++i) {
226
6
            if (places[i]) {
227
6
                this->data(places[i] + offset).merge(data[i]);
228
6
            }
229
6
        }
230
6
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEEEE34deserialize_and_merge_vec_selectedEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
222
6
                                            const size_t num_rows) const override {
223
6
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
224
6
        const auto* data = col.get_data().data();
225
12
        for (size_t i = 0; i != num_rows; ++i) {
226
6
            if (places[i]) {
227
6
                this->data(places[i] + offset).merge(data[i]);
228
6
            }
229
6
        }
230
6
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEEEE34deserialize_and_merge_vec_selectedEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
222
5
                                            const size_t num_rows) const override {
223
5
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
224
5
        const auto* data = col.get_data().data();
225
10
        for (size_t i = 0; i != num_rows; ++i) {
226
5
            if (places[i]) {
227
5
                this->data(places[i] + offset).merge(data[i]);
228
5
            }
229
5
        }
230
5
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEEEE34deserialize_and_merge_vec_selectedEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
222
5
                                            const size_t num_rows) const override {
223
5
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
224
5
        const auto* data = col.get_data().data();
225
10
        for (size_t i = 0; i != num_rows; ++i) {
226
5
            if (places[i]) {
227
5
                this->data(places[i] + offset).merge(data[i]);
228
5
            }
229
5
        }
230
5
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEEEE34deserialize_and_merge_vec_selectedEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
222
5
                                            const size_t num_rows) const override {
223
5
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
224
5
        const auto* data = col.get_data().data();
225
10
        for (size_t i = 0; i != num_rows; ++i) {
226
5
            if (places[i]) {
227
5
                this->data(places[i] + offset).merge(data[i]);
228
5
            }
229
5
        }
230
5
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEEEE34deserialize_and_merge_vec_selectedEPKPcmSA_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
222
5
                                            const size_t num_rows) const override {
223
5
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
224
5
        const auto* data = col.get_data().data();
225
10
        for (size_t i = 0; i != num_rows; ++i) {
226
5
            if (places[i]) {
227
5
                this->data(places[i] + offset).merge(data[i]);
228
5
            }
229
5
        }
230
5
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_25AggregateFunctionBitmapOpIS2_EEE34deserialize_and_merge_vec_selectedEPKPcmS7_PKNS_7IColumnERNS_5ArenaEm
Line
Count
Source
222
20
                                            const size_t num_rows) const override {
223
20
        const auto& col = assert_cast<const ColumnBitmap&>(*column);
224
20
        const auto* data = col.get_data().data();
225
140
        for (size_t i = 0; i != num_rows; ++i) {
226
120
            if (places[i]) {
227
48
                this->data(places[i] + offset).merge(data[i]);
228
48
            }
229
120
        }
230
20
    }
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEEENS_25AggregateFunctionBitmapOpIS2_EEE34deserialize_and_merge_vec_selectedEPKPcmS7_PKNS_7IColumnERNS_5ArenaEm
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEEENS_25AggregateFunctionBitmapOpIS2_EEE34deserialize_and_merge_vec_selectedEPKPcmS7_PKNS_7IColumnERNS_5ArenaEm
231
232
    void serialize_without_key_to_column(ConstAggregateDataPtr __restrict place,
233
504
                                         IColumn& to) const override {
234
504
        auto& col = assert_cast<ColumnBitmap&>(to);
235
504
        size_t old_size = col.size();
236
504
        col.resize(old_size + 1);
237
504
        col.get_data()[old_size] = std::move(this->data(place).value);
238
504
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE31serialize_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_28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
233
79
                                         IColumn& to) const override {
234
79
        auto& col = assert_cast<ColumnBitmap&>(to);
235
79
        size_t old_size = col.size();
236
79
        col.resize(old_size + 1);
237
79
        col.get_data()[old_size] = std::move(this->data(place).value);
238
79
    }
_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
64
                                         IColumn& to) const override {
234
64
        auto& col = assert_cast<ColumnBitmap&>(to);
235
64
        size_t old_size = col.size();
236
64
        col.resize(old_size + 1);
237
64
        col.get_data()[old_size] = std::move(this->data(place).value);
238
64
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_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
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_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
114
                                         IColumn& to) const override {
234
114
        auto& col = assert_cast<ColumnBitmap&>(to);
235
114
        size_t old_size = col.size();
236
114
        col.resize(old_size + 1);
237
114
        col.get_data()[old_size] = std::move(this->data(place).value);
238
114
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEEENS_25AggregateFunctionBitmapOpIS2_EEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
233
97
                                         IColumn& to) const override {
234
97
        auto& col = assert_cast<ColumnBitmap&>(to);
235
97
        size_t old_size = col.size();
236
97
        col.resize(old_size + 1);
237
97
        col.get_data()[old_size] = std::move(this->data(place).value);
238
97
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEEENS_25AggregateFunctionBitmapOpIS2_EEE31serialize_without_key_to_columnEPKcRNS_7IColumnE
Line
Count
Source
233
68
                                         IColumn& to) const override {
234
68
        auto& col = assert_cast<ColumnBitmap&>(to);
235
68
        size_t old_size = col.size();
236
68
        col.resize(old_size + 1);
237
68
        col.get_data()[old_size] = std::move(this->data(place).value);
238
68
    }
239
240
3.40k
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
3.40k
        return ColumnBitmap::create();
242
3.40k
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE23create_serialize_columnEv
Line
Count
Source
240
80
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
80
        return ColumnBitmap::create();
242
80
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE23create_serialize_columnEv
Line
Count
Source
240
570
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
570
        return ColumnBitmap::create();
242
570
    }
_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
398
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
398
        return ColumnBitmap::create();
242
398
    }
_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
37
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
37
        return ColumnBitmap::create();
242
37
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEEEE23create_serialize_columnEv
Line
Count
Source
240
25
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
25
        return ColumnBitmap::create();
242
25
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_25AggregateFunctionBitmapOpIS2_EEE23create_serialize_columnEv
Line
Count
Source
240
1.01k
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
1.01k
        return ColumnBitmap::create();
242
1.01k
    }
_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
386
    [[nodiscard]] MutableColumnPtr create_serialize_column() const override {
241
386
        return ColumnBitmap::create();
242
386
    }
243
244
3.48k
    [[nodiscard]] DataTypePtr get_serialized_type() const override {
245
3.48k
        return std::make_shared<DataTypeBitMap>();
246
3.48k
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE19get_serialized_typeEv
Line
Count
Source
244
75
    [[nodiscard]] DataTypePtr get_serialized_type() const override {
245
75
        return std::make_shared<DataTypeBitMap>();
246
75
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEEE19get_serialized_typeEv
Line
Count
Source
244
591
    [[nodiscard]] DataTypePtr get_serialized_type() const override {
245
591
        return std::make_shared<DataTypeBitMap>();
246
591
    }
_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
391
    [[nodiscard]] DataTypePtr get_serialized_type() const override {
245
391
        return std::make_shared<DataTypeBitMap>();
246
391
    }
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
12
    [[nodiscard]] DataTypePtr get_serialized_type() const override {
245
12
        return std::make_shared<DataTypeBitMap>();
246
12
    }
Unexecuted instantiation: _ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_28AggregateFunctionBitmapCountILb0ENS_12ColumnVectorILNS_13PrimitiveTypeE6EEEEEE19get_serialized_typeEv
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_30AggregateFunctionBitmapUnionOpEEENS_25AggregateFunctionBitmapOpIS2_EEE19get_serialized_typeEv
Line
Count
Source
244
1.13k
    [[nodiscard]] DataTypePtr get_serialized_type() const override {
245
1.13k
        return std::make_shared<DataTypeBitMap>();
246
1.13k
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_34AggregateFunctionBitmapIntersectOpEEENS_25AggregateFunctionBitmapOpIS2_EEE19get_serialized_typeEv
Line
Count
Source
244
802
    [[nodiscard]] DataTypePtr get_serialized_type() const override {
245
802
        return std::make_shared<DataTypeBitMap>();
246
802
    }
_ZNK5doris42AggregateFunctionBitmapSerializationHelperINS_27AggregateFunctionBitmapDataINS_33AggregateFunctionGroupBitmapXorOpEEENS_25AggregateFunctionBitmapOpIS2_EEE19get_serialized_typeEv
Line
Count
Source
244
406
    [[nodiscard]] DataTypePtr get_serialized_type() const override {
245
406
        return std::make_shared<DataTypeBitMap>();
246
406
    }
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
137
    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
77
    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.14k
            : AggregateFunctionBitmapSerializationHelper<AggregateFunctionBitmapData<Op>,
267
4.14k
                                                         AggregateFunctionBitmapOp<Op>>(
268
4.14k
                      argument_types_) {}
_ZN5doris25AggregateFunctionBitmapOpINS_30AggregateFunctionBitmapUnionOpEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS7_EE
Line
Count
Source
266
2.65k
            : AggregateFunctionBitmapSerializationHelper<AggregateFunctionBitmapData<Op>,
267
2.65k
                                                         AggregateFunctionBitmapOp<Op>>(
268
2.65k
                      argument_types_) {}
_ZN5doris25AggregateFunctionBitmapOpINS_34AggregateFunctionBitmapIntersectOpEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS7_EE
Line
Count
Source
266
1.08k
            : AggregateFunctionBitmapSerializationHelper<AggregateFunctionBitmapData<Op>,
267
1.08k
                                                         AggregateFunctionBitmapOp<Op>>(
268
1.08k
                      argument_types_) {}
_ZN5doris25AggregateFunctionBitmapOpINS_33AggregateFunctionGroupBitmapXorOpEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS7_EE
Line
Count
Source
266
410
            : AggregateFunctionBitmapSerializationHelper<AggregateFunctionBitmapData<Op>,
267
410
                                                         AggregateFunctionBitmapOp<Op>>(
268
410
                      argument_types_) {}
269
270
5.17k
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeBitMap>(); }
_ZNK5doris25AggregateFunctionBitmapOpINS_30AggregateFunctionBitmapUnionOpEE15get_return_typeEv
Line
Count
Source
270
4.57k
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeBitMap>(); }
_ZNK5doris25AggregateFunctionBitmapOpINS_34AggregateFunctionBitmapIntersectOpEE15get_return_typeEv
Line
Count
Source
270
456
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeBitMap>(); }
_ZNK5doris25AggregateFunctionBitmapOpINS_33AggregateFunctionGroupBitmapXorOpEE15get_return_typeEv
Line
Count
Source
270
136
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeBitMap>(); }
271
272
    void add(AggregateDataPtr __restrict place, const IColumn** columns, ssize_t row_num,
273
110k
             Arena&) const override {
274
110k
        const auto& column =
275
110k
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
276
110k
        this->data(place).add(column.get_data()[row_num]);
277
110k
    }
_ZNK5doris25AggregateFunctionBitmapOpINS_30AggregateFunctionBitmapUnionOpEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
273
104k
             Arena&) const override {
274
104k
        const auto& column =
275
104k
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
276
104k
        this->data(place).add(column.get_data()[row_num]);
277
104k
    }
_ZNK5doris25AggregateFunctionBitmapOpINS_34AggregateFunctionBitmapIntersectOpEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
273
5.72k
             Arena&) const override {
274
5.72k
        const auto& column =
275
5.72k
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
276
5.72k
        this->data(place).add(column.get_data()[row_num]);
277
5.72k
    }
_ZNK5doris25AggregateFunctionBitmapOpINS_33AggregateFunctionGroupBitmapXorOpEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
273
292
             Arena&) const override {
274
292
        const auto& column =
275
292
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
276
292
        this->data(place).add(column.get_data()[row_num]);
277
292
    }
278
279
    void add_many(AggregateDataPtr __restrict place, const IColumn** columns,
280
41.0k
                  std::vector<int>& rows, Arena&) const override {
281
        // now this only for bitmap_union function
282
41.0k
        if constexpr (std::is_same_v<Op, AggregateFunctionBitmapUnionOp>) {
283
41.0k
            const auto& column =
284
41.0k
                    assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
285
41.0k
            std::vector<const BitmapValue*> values;
286
41.0k
            for (auto row : rows) {
287
40.6k
                values.push_back(&(column.get_data()[row]));
288
40.6k
            }
289
41.0k
            this->data(place).add_batch(values);
290
41.0k
        }
291
41.0k
    }
_ZNK5doris25AggregateFunctionBitmapOpINS_30AggregateFunctionBitmapUnionOpEE8add_manyEPcPPKNS_7IColumnERSt6vectorIiSaIiEERNS_5ArenaE
Line
Count
Source
280
41.0k
                  std::vector<int>& rows, Arena&) const override {
281
        // now this only for bitmap_union function
282
41.0k
        if constexpr (std::is_same_v<Op, AggregateFunctionBitmapUnionOp>) {
283
41.0k
            const auto& column =
284
41.0k
                    assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
285
41.0k
            std::vector<const BitmapValue*> values;
286
41.0k
            for (auto row : rows) {
287
40.6k
                values.push_back(&(column.get_data()[row]));
288
40.6k
            }
289
41.0k
            this->data(place).add_batch(values);
290
41.0k
        }
291
41.0k
    }
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.3k
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
326
59.3k
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
327
59.3k
        column.get_data().push_back(this->data(place).get());
328
59.3k
    }
_ZNK5doris25AggregateFunctionBitmapOpINS_30AggregateFunctionBitmapUnionOpEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
325
57.7k
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
326
57.7k
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
327
57.7k
        column.get_data().push_back(this->data(place).get());
328
57.7k
    }
_ZNK5doris25AggregateFunctionBitmapOpINS_34AggregateFunctionBitmapIntersectOpEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
325
1.55k
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
326
1.55k
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
327
1.55k
        column.get_data().push_back(this->data(place).get());
328
1.55k
    }
_ZNK5doris25AggregateFunctionBitmapOpINS_33AggregateFunctionGroupBitmapXorOpEE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
325
99
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
326
99
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
327
99
        column.get_data().push_back(this->data(place).get());
328
99
    }
329
330
16.7k
    void reset(AggregateDataPtr __restrict place) const override { this->data(place).reset(); }
_ZNK5doris25AggregateFunctionBitmapOpINS_30AggregateFunctionBitmapUnionOpEE5resetEPc
Line
Count
Source
330
16.7k
    void reset(AggregateDataPtr __restrict place) const override { this->data(place).reset(); }
_ZNK5doris25AggregateFunctionBitmapOpINS_34AggregateFunctionBitmapIntersectOpEE5resetEPc
Line
Count
Source
330
51
    void reset(AggregateDataPtr __restrict place) const override { this->data(place).reset(); }
_ZNK5doris25AggregateFunctionBitmapOpINS_33AggregateFunctionGroupBitmapXorOpEE5resetEPc
Line
Count
Source
330
38
    void reset(AggregateDataPtr __restrict place) const override { this->data(place).reset(); }
331
};
332
333
template <bool arg_is_nullable, typename ColVecType>
334
class AggregateFunctionBitmapCount final
335
        : public AggregateFunctionBitmapSerializationHelper<
336
                  AggregateFunctionBitmapData<AggregateFunctionBitmapUnionOp>,
337
                  AggregateFunctionBitmapCount<arg_is_nullable, ColVecType>>,
338
          UnaryExpression,
339
          NotNullableAggregateFunction {
340
public:
341
    // using ColVecType = ColumnBitmap;
342
    using ColVecResult = ColumnInt64;
343
    using AggFunctionData = AggregateFunctionBitmapData<AggregateFunctionBitmapUnionOp>;
344
    static int constexpr BATCH_HALF_ROWS = 4064 / 2;
345
346
    AggregateFunctionBitmapCount(const DataTypes& argument_types_)
347
1.08k
            : AggregateFunctionBitmapSerializationHelper<
348
1.08k
                      AggregateFunctionBitmapData<AggregateFunctionBitmapUnionOp>,
349
1.08k
                      AggregateFunctionBitmapCount<arg_is_nullable, ColVecType>>(argument_types_) {}
_ZN5doris28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
347
40
            : AggregateFunctionBitmapSerializationHelper<
348
40
                      AggregateFunctionBitmapData<AggregateFunctionBitmapUnionOp>,
349
40
                      AggregateFunctionBitmapCount<arg_is_nullable, ColVecType>>(argument_types_) {}
_ZN5doris28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE
Line
Count
Source
347
550
            : AggregateFunctionBitmapSerializationHelper<
348
550
                      AggregateFunctionBitmapData<AggregateFunctionBitmapUnionOp>,
349
550
                      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
396
            : AggregateFunctionBitmapSerializationHelper<
348
396
                      AggregateFunctionBitmapData<AggregateFunctionBitmapUnionOp>,
349
396
                      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
19
            : AggregateFunctionBitmapSerializationHelper<
348
19
                      AggregateFunctionBitmapData<AggregateFunctionBitmapUnionOp>,
349
19
                      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
115
    String get_name() const override {
352
115
        if constexpr (std::is_same_v<ColVecType, ColumnBitmap>) {
353
41
            return "bitmap_union_count";
354
74
        } else {
355
74
            return "bitmap_union_int";
356
74
        }
357
115
    }
_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
30
    String get_name() const override {
352
30
        if constexpr (std::is_same_v<ColVecType, ColumnBitmap>) {
353
30
            return "bitmap_union_count";
354
        } else {
355
            return "bitmap_union_int";
356
        }
357
30
    }
_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.45k
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeInt64>(); }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE15get_return_typeEv
Line
Count
Source
359
176
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeInt64>(); }
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE15get_return_typeEv
Line
Count
Source
359
753
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeInt64>(); }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE3EEEE15get_return_typeEv
Line
Count
Source
359
75
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeInt64>(); }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE4EEEE15get_return_typeEv
Line
Count
Source
359
94
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeInt64>(); }
_ZNK5doris28AggregateFunctionBitmapCountILb1ENS_12ColumnVectorILNS_13PrimitiveTypeE5EEEE15get_return_typeEv
Line
Count
Source
359
91
    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
78
    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
53.9k
             Arena&) const override {
363
53.9k
        const IColumn* data_column = columns[0];
364
53.9k
        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.47k
            data_column = &nullable_column.get_nested_column();
371
6.47k
        }
372
0
        const auto& value =
373
53.9k
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*data_column)
374
53.9k
                        .get_data()[row_num];
375
53.9k
        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
53.9k
    }
_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
40.9k
             Arena&) const override {
363
40.9k
        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
40.9k
        const auto& value =
373
40.9k
                assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*data_column)
374
40.9k
                        .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
40.9k
        this->data(place).add(value);
382
40.9k
    }
_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
996
        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
117
                  std::vector<int>& rows, Arena&) const override {
386
        // now this only for bitmap_union_count function
387
117
        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
117
        } else if constexpr (std::is_same_v<ColVecType, ColumnBitmap>) {
400
117
            const auto& column =
401
117
                    assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
402
117
            std::vector<const BitmapValue*> values;
403
184
            for (auto row : rows) {
404
184
                values.push_back(&(column.get_data()[row]));
405
184
            }
406
117
            this->data(place).add_batch(values);
407
117
        }
408
117
    }
Unexecuted instantiation: _ZNK5doris28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE8add_manyEPcPPKNS_7IColumnERSt6vectorIiSaIiEERNS_5ArenaE
_ZNK5doris28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE8add_manyEPcPPKNS_7IColumnERSt6vectorIiSaIiEERNS_5ArenaE
Line
Count
Source
385
117
                  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
117
        } else if constexpr (std::is_same_v<ColVecType, ColumnBitmap>) {
400
117
            const auto& column =
401
117
                    assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(*columns[0]);
402
117
            std::vector<const BitmapValue*> values;
403
184
            for (auto row : rows) {
404
184
                values.push_back(&(column.get_data()[row]));
405
184
            }
406
117
            this->data(place).add_batch(values);
407
117
        }
408
117
    }
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
370
                                Arena& arena) const override {
412
370
        auto normal_add_lambda = [&]() {
413
51.6k
            for (size_t i = 0; i < batch_size; ++i) {
414
51.2k
                this->add(place, columns, i, arena);
415
51.2k
            }
416
370
        };
_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
61
        auto normal_add_lambda = [&]() {
413
40.7k
            for (size_t i = 0; i < batch_size; ++i) {
414
40.6k
                this->add(place, columns, i, arena);
415
40.6k
            }
416
61
        };
_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
370
        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
79
            if (batch_size < BATCH_HALF_ROWS) {
422
79
                normal_add_lambda();
423
79
                return;
424
79
            }
425
0
            auto add_batch_lambda = [&](const IColumn& data_column, const NullMap* null_map) {
426
0
                const auto& column =
427
0
                        assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(data_column);
428
0
                std::vector<const BitmapValue*> values;
429
0
                for (size_t i = 0; i < batch_size; ++i) {
430
0
                    if constexpr (arg_is_nullable) {
431
0
                        if ((*null_map)[i]) {
432
0
                            continue; // skip null value
433
0
                        }
434
0
                    }
435
0
                    values.push_back(&(column.get_data()[i]));
436
0
                }
437
0
                this->data(place).add_batch(values);
438
0
            };
Unexecuted instantiation: _ZZNK5doris28AggregateFunctionBitmapCountILb1ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE22add_batch_single_placeEmPcPPKNS_7IColumnERNS_5ArenaEENKUlRS7_PKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEE_clESC_SJ_
Unexecuted instantiation: _ZZNK5doris28AggregateFunctionBitmapCountILb0ENS_17ColumnComplexTypeILNS_13PrimitiveTypeE22EEEE22add_batch_single_placeEmPcPPKNS_7IColumnERNS_5ArenaEENKUlRS7_PKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEE_clESC_SJ_
439
440
0
            if constexpr (arg_is_nullable) {
441
0
                const auto& nullable_column =
442
0
                        assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(
443
0
                                *columns[0]);
444
0
                add_batch_lambda(nullable_column.get_nested_column(),
445
0
                                 &(nullable_column.get_null_map_data()));
446
0
            } else {
447
0
                add_batch_lambda(*columns[0], nullptr);
448
0
            }
449
291
        } else {
450
291
            normal_add_lambda();
451
291
        }
452
370
    }
_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
61
                                Arena& arena) const override {
412
61
        auto normal_add_lambda = [&]() {
413
61
            for (size_t i = 0; i < batch_size; ++i) {
414
61
                this->add(place, columns, i, arena);
415
61
            }
416
61
        };
417
418
        // now this only for bitmap_union_count function
419
61
        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
61
            if (batch_size < BATCH_HALF_ROWS) {
422
61
                normal_add_lambda();
423
61
                return;
424
61
            }
425
0
            auto add_batch_lambda = [&](const IColumn& data_column, const NullMap* null_map) {
426
0
                const auto& column =
427
0
                        assert_cast<const ColVecType&, TypeCheckOnRelease::DISABLE>(data_column);
428
0
                std::vector<const BitmapValue*> values;
429
0
                for (size_t i = 0; i < batch_size; ++i) {
430
0
                    if constexpr (arg_is_nullable) {
431
0
                        if ((*null_map)[i]) {
432
0
                            continue; // skip null value
433
0
                        }
434
0
                    }
435
0
                    values.push_back(&(column.get_data()[i]));
436
0
                }
437
0
                this->data(place).add_batch(values);
438
0
            };
439
440
            if constexpr (arg_is_nullable) {
441
                const auto& nullable_column =
442
                        assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(
443
                                *columns[0]);
444
                add_batch_lambda(nullable_column.get_nested_column(),
445
                                 &(nullable_column.get_null_map_data()));
446
0
            } else {
447
0
                add_batch_lambda(*columns[0], nullptr);
448
0
            }
449
        } else {
450
            normal_add_lambda();
451
        }
452
61
    }
_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
827
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
469
827
        auto& value_data = this->data(place).get();
470
827
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
471
827
        column.get_data().push_back(value_data.cardinality());
472
827
    }
_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
353
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
469
353
        auto& value_data = this->data(place).get();
470
353
        auto& column = assert_cast<ColVecResult&, TypeCheckOnRelease::DISABLE>(to);
471
353
        column.get_data().push_back(value_data.cardinality());
472
353
    }
_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