Skip to content

Commit

Permalink
Merge pull request apache#579 from CrazyJvm/patch-1.
Browse files Browse the repository at this point in the history
"in the source DStream" rather than "int the source DStream"

"flatMap is a one-to-many DStream operation that creates a new DStream by generating multiple new records from each record int the source DStream."

Author: Chen Chao <[email protected]>

Closes apache#579 and squashes the following commits:

4abcae3 [Chen Chao] in the source DStream
  • Loading branch information
CrazyJvm authored and rxin committed Feb 11, 2014
1 parent d6a9bdc commit 4afe6cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/streaming-programming-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ val words = lines.flatMap(_.split(" "))
{% endhighlight %}

`flatMap` is a one-to-many DStream operation that creates a new DStream by
generating multiple new records from each record int the source DStream. In this case,
generating multiple new records from each record in the source DStream. In this case,
each line will be split into multiple words and the stream of words is represented as the
`words` DStream. Next, we want to count these words.

Expand Down

0 comments on commit 4afe6cc

Please sign in to comment.