It's a good question. You can easily imagine an RDD of classes that are mutable. Yes, if you modify these objects, the result is pretty undefined, so don't do that.
On Tue, Jan 19, 2016 at 12:27 PM, Dave <dave.davo...@gmail.com> wrote: > Hi Marco, > > Yes, that answers my question. I just wanted to be sure as the API gave me > write access to the immutable data which means its up to the developer to > know not to modify the input parameters for these API's. > > Thanks for the response. > Dave. > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@spark.apache.org For additional commands, e-mail: user-h...@spark.apache.org