title: How to map one column of RDD with other columns of the (a)same (b)different RDD?
body: <p>Beginner here, I'm working with Spark 2.1.1 and Scala 2.11.8.</p>
  
  <p>I have an RDD with six columns. This is the first entry of the RDD :-</p>
  
  <pre><code>(String, String, String, String, String, String) = (" p69465323_serv80i"," 7 "," fb_406423006398063"," guest_861067032060185_android"," fb_100000829486587"," fb_100007900293502")
  </code></pre>
  
  <p>The actual RDD has more than 5 million entries.</p>
  
  <p>I want to map the first column individually with the third, fourth, fifth and sixth columns in such a manner that I get something like :-</p>
  
  <pre><code>(fb_406423006398063, p69465323_serv80i)
  (guest_861067032060185_android, p69465323_serv80i)
  (fb_100000829486587, p69465323_serv80i)
  (fb_100007900293502, p69465323_serv80i)
  </code></pre>
  
  <p>i.e the first column is mapped individually with third, fourth, fifth and sixth columns. How can I do this (a) In the same RDD (b) In different RDDs? </p>