On Tue, Nov 18, 2014 at 8:26 PM, Davies Liu <dav...@databricks.com> wrote: > On Tue, Nov 18, 2014 at 9:06 AM, Debasish Das <debasish.da...@gmail.com> > wrote: >> Use zipWithIndex but cache the data before you run zipWithIndex...that way >> your ordering will be consistent (unless the bug has been fixed where you >> don't have to cache the data)... > > Could you point some link about the bug?
I think it's this: https://issues.apache.org/jira/browse/SPARK-3098 ... but it's resolved as not a bug. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@spark.apache.org For additional commands, e-mail: user-h...@spark.apache.org