This is an automated email from the ASF dual-hosted git repository.

dataroaring pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 58b9bce954 [fix](load) add rowset builder init error handling (#23166)
58b9bce954 is described below

commit 58b9bce954d1ef54d3cebeebde7f312c9c53a8d9
Author: HHoflittlefish777 <77738092+hhoflittlefish...@users.noreply.github.com>
AuthorDate: Sat Aug 19 17:13:10 2023 +0800

    [fix](load) add rowset builder init error handling (#23166)
---
 be/src/olap/delta_writer.cpp | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/be/src/olap/delta_writer.cpp b/be/src/olap/delta_writer.cpp
index dc74b5c2dd..f8f73c4801 100644
--- a/be/src/olap/delta_writer.cpp
+++ b/be/src/olap/delta_writer.cpp
@@ -93,9 +93,10 @@ DeltaWriter::~DeltaWriter() {
 }
 
 Status DeltaWriter::init() {
-    _rowset_builder.init();
-    _memtable_writer->init(_rowset_builder.rowset_writer(), 
_rowset_builder.tablet_schema(),
-                           
_rowset_builder.tablet()->enable_unique_key_merge_on_write());
+    RETURN_IF_ERROR(_rowset_builder.init());
+    RETURN_IF_ERROR(
+            _memtable_writer->init(_rowset_builder.rowset_writer(), 
_rowset_builder.tablet_schema(),
+                                   
_rowset_builder.tablet()->enable_unique_key_merge_on_write()));
     _is_init = true;
     return Status::OK();
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to