title: How can I update one column value in an RDD[Row]?
body: <p>I use scala for spark, I want to update one column value in an RDD, my data format is like this:</p>
  
  <pre><code>[510116,8042,1,8298,20170907181326,1,3,lineno805]
  [510116,8042,1,8152,20170907182101,1,3,lineno805]
  [510116,8042,1,8154,20170907164311,1,3,lineno805]
  [510116,8042,1,8069,20170907165031,1,3,lineno805]
  [510116,8042,1,8061,20170907170254,1,3,lineno805]
  [510116,8042,1,9906,20170907171417,1,3,lineno805]
  [510116,8042,1,8295,20170907174734,1,3,lineno805]
  </code></pre>
  
  <p>my scala code is like this:</p>
  
  <pre><code> val getSerialRdd: RDD[Row]=……
  </code></pre>
  
  <p>I want to update the column which is contain data <code>20170907181326</code>, I wish the data like follow format:</p>
  
  <pre><code>[510116,8042,1,8298,2017090718,1,3,lineno805]
  [510116,8042,1,8152,2017090718,1,3,lineno805]
  [510116,8042,1,8154,2017090716,1,3,lineno805]
  [510116,8042,1,8069,2017090716,1,3,lineno805]
  [510116,8042,1,8061,2017090717,1,3,lineno805]
  [510116,8042,1,9906,2017090717,1,3,lineno805]
  [510116,8042,1,8295,2017090717,1,3,lineno805]
  </code></pre>
  
  <p>and output the RDD type like RDD[Row].</p>
  
  <p>How I can do this?</p>