gavinchou commented on code in PR #53548:
URL: https://github.com/apache/doris/pull/53548#discussion_r2215458661
##########
be/src/olap/rowset/segment_v2/vertical_segment_writer.cpp:
##########
@@ -203,8 +205,8 @@ Status
VerticalSegmentWriter::_create_column_writer(uint32_t cid, const TabletCo
return Status::NotSupported("Do not support ngram bloom filter for
bf_size: ",
gram_bf_size);
}
- opts.gram_size = gram_size;
- opts.gram_bf_size = gram_bf_size;
+ opts.gram_size = static_cast<uint8_t>(gram_size);
Review Comment:
用cast_set<>()这个cast, 在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]