Re: Scala no-parenthesis methods on DataStream

2016-01-17 Thread Aljoscha Krettek
Hi, I see what you mean and I would also feel that they could have parentheses? On the other hand, the methods are really side-effect free, they don’t modify the original stream in any way, they just just create a new “shuffle operator” that will affect operations performed on this shuffled stre

Scala no-parenthesis methods on DataStream

2016-01-17 Thread Stephan Ewen
Hi all! I just noticed that all Scala DataStream methods like "rebalance", "broadcast", "shuffle", etc are defined without parenthesis. I am a bit puzzled about this. Even though these methods do not modify the DataStream object on which they are called, they define for example a distributed shuf