yixiutt commented on code in PR #11830:
URL: https://github.com/apache/doris/pull/11830#discussion_r946540559
##########
be/src/olap/primary_key_index.cpp:
##########
@@ -70,16 +74,21 @@ Status PrimaryKeyIndexReader::parse(io::FileReaderSPtr
file_reader,
_index_reader.reset(new segment_v2::IndexedColumnReader(file_reader,
meta.primary_key_index()));
RETURN_IF_ERROR(_index_reader->load(!config::disable_storage_page_cache,
false));
+ _parsed = true;
+ return Status::OK();
+}
+
+Status PrimaryKeyIndexReader::parse_bf(io::FileReaderSPtr file_reader,
+ const
segment_v2::PrimaryKeyIndexMetaPB& meta) {
// parse bloom filter
segment_v2::ColumnIndexMetaPB column_index_meta =
meta.bloom_filter_index();
segment_v2::BloomFilterIndexReader bf_index_reader(std::move(file_reader),
&column_index_meta.bloom_filter_index());
- RETURN_IF_ERROR(bf_index_reader.load(!config::disable_storage_page_cache,
false));
+ RETURN_IF_ERROR(bf_index_reader.load(!config::disable_storage_page_cach,
false));
Review Comment:
fixed
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]