Imbruced commented on code in PR #2375:
URL: https://github.com/apache/sedona/pull/2375#discussion_r2412081258
##########
spark/common/src/main/java/org/apache/sedona/sql/datasources/osmpbf/iterators/PbfIterator.java:
##########
@@ -56,7 +56,7 @@ public OSMEntity next() {
}
private BlobIterator readNextBlock() throws DataFormatException, IOException
{
- while (pmGroupIterator.hasNext()) {
+ if (pmGroupIterator.hasNext()) {
Review Comment:
While logic is in the hasNext and following methods, here we used a while as
if statement
--
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]