rshamunov commented on code in PR #26933:
URL: https://github.com/apache/beam/pull/26933#discussion_r1221839003
##########
website/www/site/content/en/documentation/transforms/java/aggregation/combine.md:
##########
@@ -42,21 +42,20 @@ commumative operation. But, it allows the use of partial
sums to be precomputed.
See more information in the [Beam Programming
Guide](/documentation/programming-guide/#combine).
## Examples
+
**Example 1**: Global combine
+
Use the global combine to combine all of the elements in a given `PCollection`
into a single value, represented in your pipeline as a new `PCollection`
containing
one element. The following example code shows how to apply the Beam-provided
sum combine function to produce a single sum value for a `PCollection` of
integers.
-{{< highlight java >}}
Review Comment:
Don't remove it. Add PGE as Example 3
--
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]