eldenmoon commented on code in PR #39258:
URL: https://github.com/apache/doris/pull/39258#discussion_r1714555497
##########
be/src/olap/rowset/segment_creator.cpp:
##########
@@ -70,12 +71,14 @@ Status SegmentFlusher::flush_single_block(const
vectorized::Block* block, int32_
_context.tablet_schema->cluster_key_idxes().empty()) {
std::unique_ptr<segment_v2::VerticalSegmentWriter> writer;
RETURN_IF_ERROR(_create_segment_writer(writer, segment_id,
no_compression));
- RETURN_IF_ERROR(_add_rows(writer, &flush_block, 0,
flush_block.rows()));
+ HANDLE_EXCEPTION_IF_CATCH_EXCEPTION(_add_rows(writer, &flush_block, 0,
flush_block.rows()),
Review Comment:
use RETURN_IF_CATCH_EXCEPTION
--
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]