You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@doris.apache.org by GitBox <gi...@apache.org> on 2019/07/13 14:20:13 UTC

[GitHub] [incubator-doris] morningman commented on a change in pull request #1468: Fix bug when use SQL Statement SELECT * FROM TABLE LIMIT 1

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@doris.apache.org
For additional commands, e-mail: dev-help@doris.apache.org