rshamunov commented on code in PR #26933:
URL: https://github.com/apache/beam/pull/26933#discussion_r1221857769
##########
website/www/site/content/en/documentation/transforms/java/aggregation/max.md:
##########
@@ -31,19 +31,16 @@ values in a collection, either globally or for each key.
## Examples
**Example 1**: get the maximum of a `PCollection` of `Doubles`.
-{{< highlight java >}}
-PCollection<Double> input = ...;
-PCollection<Double> max = input.apply(Max.doublesGlobally());
-{{< /highlight >}}
+{{< playground height="700px" >}}
Review Comment:
Don't remove current static examples. 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]