Github user srowen commented on the pull request:

    https://github.com/apache/spark/pull/7424#issuecomment-121917173
  
    I was going to say that a load of the iterators implemented in Spark could 
be simpler if they used Guava's `AbstractIterator`, since it avoids a bunch of 
logic and corner cases, but it may be too hard to convert them now. For example 
this still has some minor corner case problems like it will never close the 
reader unless `hasNext` is called after the last element is consumed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to