dataroaring commented on code in PR #21530:
URL: https://github.com/apache/doris/pull/21530#discussion_r1252958999
##########
be/src/olap/rowset/beta_rowset_writer.cpp:
##########
@@ -823,7 +823,7 @@ Status
BetaRowsetWriter::_flush_segment_writer(std::unique_ptr<segment_v2::Segme
Status s = (*writer)->finalize(&segment_size, &index_size);
if (!s.ok()) {
LOG(WARNING) << "failed to finalize segment: " << s.to_string();
- return Status::Error<WRITER_DATA_WRITE_ERROR>();
+ return Status::Error<WRITER_DATA_WRITE_ERROR>(s.to_string());
Review Comment:
keep the error code.
--
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]