Tom Hunt
1
Q:

rdd. map with condition

val statuses = tweets.map(status => if (status.isTruncate) None else Some(status.getText)).flatten
1

New to Communities?

Join the community