Splits an RDD into two parts based on the given filter function.
Splits an RDD into two parts based on the given filter function. Note, that filtering is done twice on the same data twice, thus, caching beforehand is recommended!
the boolean filter function
two RDDs