imay commented on a change in pull request #1635: Enable parsing columns from
file path for Broker Load (#1582)
URL: https://github.com/apache/incubator-doris/pull/1635#discussion_r314604233
##########
File path: be/src/exec/parquet_scanner.cpp
##########
@@ -70,6 +70,9 @@ Status ParquetScanner::get_next(Tuple* tuple, MemPool*
tuple_pool, bool* eof) {
_cur_file_eof = false;
}
RETURN_IF_ERROR(_cur_file_reader->read(_src_tuple, _src_slot_descs,
tuple_pool, &_cur_file_eof));
+ // range of current file
+ const TBrokerRangeDesc& range = _ranges.at(_next_range - 1);
Review comment:
```suggestion
const TBrokerRangeDesc& range = _ranges[_next_range - 1];
```
----------------------------------------------------------------
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]