yiguolei commented on code in PR #20028:
URL: https://github.com/apache/doris/pull/20028#discussion_r1208560460
##########
be/src/olap/rowset/segment_v2/inverted_index_writer.cpp:
##########
@@ -191,7 +174,7 @@ class InvertedIndexColumnWriterImpl : public
InvertedIndexColumnWriter {
} else {
field_config |= int(lucene::document::Field::INDEX_TOKENIZED);
}
- _field = _CLNEW lucene::document::Field(_field_name.c_str(),
field_config);
+ _field = new lucene::document::Field(_field_name.c_str(),
field_config);
Review Comment:
why _field is not unique ptr?
--
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]