From c51a4ebd39833f4ecb654f27a205720057c55353 Mon Sep 17 00:00:00 2001 From: heibaiying <31504331+heibaiying@users.noreply.github.com> Date: Tue, 4 Jun 2019 14:41:44 +0800 Subject: [PATCH] =?UTF-8?q?Update=20Spark=5FTransformation=E5=92=8CAction?= =?UTF-8?q?=E7=AE=97=E5=AD=90.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- notes/Spark_Transformation和Action算子.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notes/Spark_Transformation和Action算子.md b/notes/Spark_Transformation和Action算子.md index 595822a..934409f 100644 --- a/notes/Spark_Transformation和Action算子.md +++ b/notes/Spark_Transformation和Action算子.md @@ -73,7 +73,7 @@ sc.parallelize(list).filter(_ >= 10).foreach(println) ### 1.3 flatMap -`flatMap(func)`与`map`类似,但每一个输入的 item 会被映射成 0 个或多个输出的 items( *func* 返回类型需要为`Seq`类型)。 +`flatMap(func)`与`map`类似,但每一个输入的item会被映射成 0 个或多个输出的items( *func* 返回类型需要为`Seq`)。 ```scala val list = List(List(1, 2), List(3), List(), List(4, 5))