flatMap(line => line.split(“s+“)) Note: flatten() not available in spark, only flatMap RDD[String] .map( … ) _.split(“s+”) a hello hello ...
確定! 回上一頁