chenlinzhong commented on a change in pull request #8604:
URL: https://github.com/apache/incubator-doris/pull/8604#discussion_r835771887



##########
File path: be/src/exec/broker_scanner.cpp
##########
@@ -103,6 +103,10 @@ Status BrokerScanner::get_next(Tuple* tuple, MemPool* 
tuple_pool, bool* eof, boo
         const uint8_t* ptr = nullptr;
         size_t size = 0;
         RETURN_IF_ERROR(_cur_line_reader->read_line(&ptr, &size, 
&_cur_line_reader_eof));
+        if (_skip_rows > 0){
+            _skip_rows--;
+            continue;
+        }
         if (_skip_next_line) {

Review comment:
       ok, the latest code has been replaced




-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to