I have an RDD with MANY columns (e.g. hundreds ), how to add another column at the end of this RDD?
For example, if my RDD looks like this:
123, 523, 534, ..., 893 536, 98, 1623, ..., 98472 537, 89, 83640, ..., 9265 7297, 98364, 9, ..., 735 ...... 29, 94, 956, ..., 758
how can i add a column to it whose value is the sum of the second and third columns?
Many thanks.
source share