Re: RDD[Vector] Immutability issue
Same thing. Say, your underlying structure is like Array(ArrayBuffer(1, 2), ArrayBuffer(3, 4)). Then you can add/remove data in ArrayBuffers and then the change will be reflected in the rdd. On Tue, Dec 29, 2015 at 11:19 AM, salexln wrote: > I see, so in order the RDD to be completely immutab
Re: RDD[Vector] Immutability issue
Hi salexln, RDD's immutability depends on the underlying structure. I have the following example. -- scala> val m = Array.fill(2, 2)(0) m: Array[Array[Int]] = Array(Array(0, 0), Array(0