Github user mridulm commented on the pull request:

    https://github.com/apache/spark/pull/242#issuecomment-39404342
  
    @pwendell @holdenk i dont have a good solution to keep compatibility, was 
hoping you guys might :-)
    This will require some rewrite, but I am hoping it wont be more than method 
signature changes ...
    
    
    @mateiz that is exactly the kind of usecase I was thinking about
    if we had support for something like output collector, would have made even 
more sense (stream relation 1 from iterator, replay iterator 2 repeatedly, and 
output goes to a collector which could be disk backed to remove memory 
pressure). But even without that, I can see the benefits of using Iterable 
instead of Iterator (my scala collection knowledge is nil, thanks for pointing 
out existing interface !) ...


---
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.
---

Reply via email to