yiguolei commented on code in PR #35432:
URL: https://github.com/apache/doris/pull/35432#discussion_r1615662397
##########
be/src/olap/rowset/segment_v2/segment.cpp:
##########
@@ -132,6 +131,14 @@ Status Segment::_open_inverted_index() {
Status Segment::new_iterator(SchemaSPtr schema, const StorageReadOptions&
read_options,
std::unique_ptr<RowwiseIterator>* iter) {
+ auto st = _create_column_readers_once.call([&] {
Review Comment:
Should also check in other methods that will use column readers.
--
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]