Abacn commented on code in PR #33249:
URL: https://github.com/apache/beam/pull/33249#discussion_r1866493848


##########
learning/tour-of-beam/learning-content/core-transforms/map/group-by-key/description.md:
##########
@@ -61,11 +61,11 @@ PCollection<KV<String, String>> input = ...;
 
 // Apply GroupByKey to the PCollection input.
 // Save the result as the PCollection reduced.
-PCollection<KV<String, Iterable<String>>> reduced = 
mapped.apply(GroupByKey.<String, String>create());
+PCollection<KV<String, Iterable<String>>> reduced = 
input.apply(GroupByKey.<String, String>create());
 ```
 {{end}}
 {{if (eq .Sdk "python")}}
-While all SDKs have a GroupByKey transform, using GroupBy is generally more 
natural. The `GroupBy` transform can be parameterized by the name(s) of 
properties on which to group the elements of the PCollection, or a function 
taking the each element as input that maps to a key on which to do grouping.
+While all SDKs have a `GroupByKey` transform, using `GroupB`y is generally 
more natural. The `GroupBy` transform can be parameterized by the name(s) of 
properties on which to group the elements of the PCollection, or a function 
taking the each element as input that maps to a key on which to do grouping.

Review Comment:
   still a typo here



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to