This is an automated email from the ASF dual-hosted git repository.
lihaopeng pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.0 by this push:
new 9487d57520f [Bug](cherry-pick) Add status dispose in branch 2.0 beta
rowset reader (#26684)
9487d57520f is described below
commit 9487d57520fb2f1c7078afc5b073832c74011c47
Author: HappenLee <[email protected]>
AuthorDate: Thu Nov 9 22:51:56 2023 +0800
[Bug](cherry-pick) Add status dispose in branch 2.0 beta rowset reader
(#26684)
---
be/src/olap/rowset/beta_rowset_reader.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/be/src/olap/rowset/beta_rowset_reader.cpp
b/be/src/olap/rowset/beta_rowset_reader.cpp
index 334f17648c3..36f4e9262d3 100644
--- a/be/src/olap/rowset/beta_rowset_reader.cpp
+++ b/be/src/olap/rowset/beta_rowset_reader.cpp
@@ -288,7 +288,7 @@ Status BetaRowsetReader::_init_iterator() {
Status BetaRowsetReader::next_block(vectorized::Block* block) {
SCOPED_RAW_TIMER(&_stats->block_fetch_ns);
- _init_iterator_once();
+ RETURN_IF_ERROR(_init_iterator_once());
if (_empty) {
return Status::Error<END_OF_FILE>("BetaRowsetReader is empty");
}
@@ -308,7 +308,7 @@ Status BetaRowsetReader::next_block(vectorized::Block*
block) {
Status BetaRowsetReader::next_block_view(vectorized::BlockView* block_view) {
SCOPED_RAW_TIMER(&_stats->block_fetch_ns);
- _init_iterator_once();
+ RETURN_IF_ERROR(_init_iterator_once());
do {
auto s = _iterator->next_block_view(block_view);
if (!s.ok()) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]