airborne12 commented on code in PR #44414:
URL: https://github.com/apache/doris/pull/44414#discussion_r1855682309
##########
be/src/olap/rowset/segment_v2/inverted_index_file_writer.cpp:
##########
@@ -496,7 +496,7 @@ InvertedIndexFileWriter::create_output_stream_v2() {
void
InvertedIndexFileWriter::write_version_and_indices_count(lucene::store::IndexOutput*
output) {
// Write the version number
- output->writeInt(InvertedIndexStorageFormatPB::V2);
+ output->writeInt(_storage_format);
Review Comment:
may be we can change function name from create_output_stream_v2 to
create_output_stream now
--
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]