Can you just call mapPartitions and ignore the result? - Patrick
On Sun, Nov 17, 2013 at 4:45 PM, Yadid Ayzenberg <[email protected]> wrote: > Hi, > > According to the API, foreachPartition() is not yet implemented in Java. > Are there any workarounds to get the same functionality ? > I have a non serializable DB connection and instantiating it is pretty > expensive, so I prefer to do it on a per partition basis. > > thanks, > Yadid >
