kangpinghuang commented on a change in pull request #638: Fix RowBlock position 
error
URL: https://github.com/apache/incubator-doris/pull/638#discussion_r257455895
 
 

 ##########
 File path: be/src/olap/reader.cpp
 ##########
 @@ -109,7 +104,7 @@ class CollectIterator {
         }
 
         bool has_next() {
-            return _rs_reader->has_next();
+            return _rs_reader->has_next() || (_row_block != nullptr && 
_row_block->has_remaining());
 
 Review comment:
   too long

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to