chenlinzhong commented on a change in pull request #8604:
URL: https://github.com/apache/incubator-doris/pull/8604#discussion_r833444564
##########
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:
> could we replace _skip_next_line by '_skip_rows=1' ?
No, "_skip_next_line" used for not the first range, "_skip_rows" use for
the first range and only in first range will works
--
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]