gavinchou commented on code in PR #53587:
URL: https://github.com/apache/doris/pull/53587#discussion_r2217383022
##########
be/src/olap/rowset/segment_v2/ordinal_page_index.cpp:
##########
@@ -112,7 +113,7 @@ Status OrdinalIndexReader::_load(bool use_page_cache, bool
kept_in_memory,
IndexPageReader reader;
RETURN_IF_ERROR(reader.parse(body, footer.index_page_footer()));
- _num_pages = reader.count();
+ _num_pages = static_cast<int>(reader.count());
Review Comment:
use `cast_set<>` in cast_set.h
--
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]