Github user fhueske commented on a diff in the pull request:
https://github.com/apache/incubator-flink/pull/244#discussion_r21090971
--- Diff: flink-java/src/main/java/org/apache/flink/api/java/DataSet.java
---
@@ -285,25 +285,37 @@ public ExecutionEnvironment getExecutionEnvironment()
{
}
/**
- * Syntactic sugar for aggregate (MAX, field)
+ * Syntactic sugar for {@link #aggregate(Aggregations, int)} using
{@link Aggregations#MAX} as
+ * the aggregation function.
+ * <p>
+ * <strong>Note:</strong> This operation is not to be confused with
{@link #maxBy(int...)},
+ * which selects one element with maximum value at the specified field
positions.
--- End diff --
"...selects THE element with THE maximum value..."?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---