This is an automated email from the ASF dual-hosted git repository.
zhangchen pushed a commit to branch branch-1.2-lts
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-1.2-lts by this push:
new 5d84cc6453 [fix](segment-iterator) fix query result error caused by
not handling error codes (#21901)
5d84cc6453 is described below
commit 5d84cc64533c337b9a49e1df3061c0f256296059
Author: Xin Liao <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]