sebr72 commented on code in PR #858:
URL:
https://github.com/apache/incubator-baremaps/pull/858#discussion_r1621475611
##########
baremaps-geoparquet/src/main/java/org/apache/baremaps/geoparquet/GeoParquetReader.java:
##########
@@ -218,16 +226,16 @@ private ParquetReader<GeoParquetGroup>
createParquetReader(FileStatus file)
@Override
public Spliterator<GeoParquetGroup> trySplit() {
- // Create a new spliterator by polling the next file
- FileStatus file = queue.poll();
+ // Create a new spliterator by polling the next polledFileStatus
Review Comment:
yes but it was intended (it is the name of the variable in line 230) as
queue.poll returns a FileStatus that was polled from the queue, hence
polledFileStatus. I wasn't going to call it FileStatus nor file (they were
instance variables)
--
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]