You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Beam JIRA Bot (Jira)" <ji...@apache.org> on 2022/05/26 17:00:00 UTC

[jira] [Updated] (BEAM-14320) Update programming-guide w/Java GroupByKey example

     [ https://issues.apache.org/jira/browse/BEAM-14320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Beam JIRA Bot updated BEAM-14320:
---------------------------------
    Labels: apache-beam stale-assigned website  (was: apache-beam website)

> Update programming-guide w/Java GroupByKey example
> --------------------------------------------------
>
>                 Key: BEAM-14320
>                 URL: https://issues.apache.org/jira/browse/BEAM-14320
>             Project: Beam
>          Issue Type: Task
>          Components: website
>            Reporter: Denise Case
>            Assignee: Denise Case
>            Priority: P3
>              Labels: apache-beam, stale-assigned, website
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Minor addition to assist new users with a GroupByKey example in Java. Specifically:
> Add the following content to provide a Java example at the end of section 4.2.2. GroupByKey.
> ------------------
> Using {{GroupByKey}} is straightforward:
> {\{< highlight java >}}
> // The input PCollection.
> PCollection<KV<String, String>> mapped = ...;
> // Apply GroupByKey to the PCollection mapped.
> // Save the result as the PCollection reduced.
> PCollection<KV<String, Iterable>> reduced =
> mapped.apply(GroupByKey.<String, String>create());
> {\{< /highlight >}}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)