gaodayue commented on a change in pull request #2050: segment_v2: Support
bitmap index build
URL: https://github.com/apache/incubator-doris/pull/2050#discussion_r341096897
##########
File path: be/src/olap/rowset/segment_v2/column_writer.cpp
##########
@@ -175,6 +185,9 @@ Status ColumnWriter::append_nullable(
if (_opts.need_zone_map) {
RETURN_IF_ERROR(_column_zone_map_builder->add(nullptr, 1));
}
+ if (_opts.need_bitmap_index) {
+ _bitmap_index_builder->add_nulls(this_run);
Review comment:
I see, you're right. For string column with bitmap index, two dictionaries
are built. One is unordered dictionary for dictionary encoding, the other is
the ordered dictionary for bitmap index.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]