本文介绍了Spark中map(func)和flatMap(func)这两个函数的区别及具体使用。 ... scala> var mapResult = textFile.map(line => line.split("\\s+")) ...
確定! 回上一頁