I'm trying to union two Dstreams:
val statuses = tweets.map(status => status.getText())
    val users = tweets.map(status => status.getUser())
    val Dates = tweets.map(status => status.getCreatedAt())
    (statuses. union(Dates)).print
But I'm getting an error that there is a mismatch in types:
Found: org.apache.spark.streaming.dstream.DStream[java.util.Date]
Required: org.apache.spark.streaming.dstream.DStream[String]
How can I do the conversion?
 
    