title: Concatenating datasets of different RDDs in Apache spark using scala
body: <p>Is there a way to concatenate datasets of two different <code>RDD</code>s in spark?</p>
  
  <p>Requirement is - I create two intermediate RDDs using scala which has same column names, need to combine these results of both the RDDs and cache the result for accessing to UI. How do I combine the datasets here?</p>
  
  <p>RDDs are of type <code>spark.sql.SchemaRDD</code></p>