spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Punit Naik <>
Subject Modify the functioning of zipWithIndex function for RDDs
Date Tue, 28 Jun 2016 17:31:04 GMT

I wanted to change the functioning of the "zipWithIndex" function for spark
RDDs in which the output of the function is, just for an example,  "(data,
prev_index+data.length)" instead of "(data,prev_index+1)".

How can I do this?

Thank You


Punit Naik

View raw message