morningman commented on a change in pull request #1468: Fix bug when use SQL 
Statement SELECT * FROM TABLE LIMIT 1
URL: https://github.com/apache/incubator-doris/pull/1468#discussion_r303207082
 
 

 ##########
 File path: be/src/exec/olap_scanner.cpp
 ##########
 @@ -467,6 +468,7 @@ void OlapScanner::_update_realtime_counter() {
     COUNTER_UPDATE(_parent->_read_compressed_counter, 
_reader->stats().compressed_bytes_read);
     COUNTER_UPDATE(_parent->_raw_rows_counter, _reader->stats().raw_rows_read);
     _reader->mutable_stats()->compressed_bytes_read = 0;
+    _raw_rows_read += _reader->mutable_stats()->raw_rows_read;
 
 Review comment:
   Please add comment to explain why this can fix the bug.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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