Github user StephanEwen commented on the issue:

    https://github.com/apache/flink/pull/3392
  
    @greghogan You are right, this is a bit of an undefined zone here.
    
    In the distributed runtime, all the `Iterables` can be used only once 
(because of once consumable streams behind them). This affects the "collection 
execution" where in theory no such restriction exists. The PR makes the 
behavior consistent across the two execution models.
    
    Strictly speaking, it does change user-facing behavior for cases that rely 
on the fact that the "collection execution" allows multiple traversals. We 
never defined whether such "environment-specific behavior" is considered part 
of the stability contract or not.
    
    What do you think?


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