wuyunfeng commented on a change in pull request #3513: URL: https://github.com/apache/incubator-doris/pull/3513#discussion_r421932324
########## File path: be/src/exec/es/es_scroll_parser.cpp ########## @@ -275,7 +286,32 @@ int ScrollParser::get_total() { Status ScrollParser::fill_tuple(const TupleDescriptor* tuple_desc, Tuple* tuple, MemPool* tuple_pool, bool* line_eof, const std::map<std::string, std::string>& docvalue_context) { *line_eof = true; + if (_size <= 0 || _line_index >= _size) { Review comment: Maybe the concept `size` should keep consistent with before ---------------------------------------------------------------- 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: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org