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
The following commit(s) were added to refs/heads/branch-1.2-lts by this push:
new 2222dd665c [bugfix](collect_iterator) Fix status not match error
(#16317)
2222dd665c is described below
commit 2222dd665c30e9e582d1e8a5bf5c0554950bc0d2
Author: yixiutt <[email protected]>
AuthorDate: Wed Feb 1 15:00:18 2023 +0800
[bugfix](collect_iterator) Fix status not match error (#16317)
1.2-lts use two level code so we should be very careful.
---
be/src/vec/olap/vcollect_iterator.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/be/src/vec/olap/vcollect_iterator.cpp
b/be/src/vec/olap/vcollect_iterator.cpp
index cbcedb878a..9eca97aec7 100644
--- a/be/src/vec/olap/vcollect_iterator.cpp
+++ b/be/src/vec/olap/vcollect_iterator.cpp
@@ -137,7 +137,7 @@ Status
VCollectIterator::build_heap(std::vector<RowsetReaderSharedPtr>& rs_reade
if (!s.ok()) {
delete (*iter);
iter = _children.erase(iter);
- if (!s.is_end_of_file()) {
+ if (s.precise_code() != OLAP_ERR_DATA_EOF) {
return s;
}
} else {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]