Say If I do, something as shown below.
val rdd = sc.textFile("someFile.txt")
val rddWithLines = rdd.zipWithIndex
Would the indices added by zipWithIndex correspond to the line numbers (first line being 0 of course) in the input file? Or is it that the order gets broken in this case?