This is an automated email from the ASF dual-hosted git repository. morningman pushed a commit to branch branch-1.2-lts in repository https://gitbox.apache.org/repos/asf/doris.git
commit b269076f1bfdbc2ceca4c647b7bb544a7ae6c888 Author: Xin Liao <liaoxin...@126.com> AuthorDate: Tue Jul 18 10:00:06 2023 +0800 [fix](segment-iterator) fix query result error caused by not handling error codes (#21901) --- be/src/olap/rowset/segment_v2/segment_iterator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/be/src/olap/rowset/segment_v2/segment_iterator.cpp b/be/src/olap/rowset/segment_v2/segment_iterator.cpp index 968177404e..50aedd175b 100644 --- a/be/src/olap/rowset/segment_v2/segment_iterator.cpp +++ b/be/src/olap/rowset/segment_v2/segment_iterator.cpp @@ -1204,8 +1204,8 @@ Status SegmentIterator::next_batch(vectorized::Block* block) { // read 100 rows to estimate average row size nrows_read_limit = 100; } - _read_columns_by_index(nrows_read_limit, _current_batch_rows_read, - _lazy_materialization_read || _opts.record_rowids); + RETURN_IF_ERROR(_read_columns_by_index(nrows_read_limit, _current_batch_rows_read, + _lazy_materialization_read || _opts.record_rowids)); _opts.stats->blocks_load += 1; _opts.stats->raw_rows_read += _current_batch_rows_read; --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org