rdd. карта с условием

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