title: Saving JSON type spark RDD to Cassandra table
body: <p>I want to store spark RDD to Cassandra table but it's not working.
  My RDD is in the form </p>
  
  <pre><code>{"id":"04bBGJpwUh","date":"2018-03-26 05:28:25","temp":37,"press":16}
  {"id":"pi4Axn3iOd","date":"2018-03-26 05:28:27","temp":49,"press":17}
  </code></pre>
  
  <p>My cassandra table is </p>
  
  <pre><code>CREATE TABLE mydata.stations(id text primary key,date text,temp int,press int);
  </code></pre>
  
  <p>Can anyone please help me how to do it? I have tried few examples given but none of them is working.  </p>