flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fhueske <...@git.apache.org>
Subject [GitHub] flink pull request:
Date Fri, 05 Feb 2016 10:16:20 GMT
Github user fhueske commented on the pull request:

    In flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/plan/functions/AggregateFunction.scala:
    In flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/plan/functions/AggregateFunction.scala
on line 65:
    `groupingKeys` hold only the field indicies of the grouping keys, not the actual values.
You need to do something like `outValue.setField(i, currentValue.getField(groupingKeys(i))`.
For that you need to remember one input row (first or last doesn't matter, all have the same
values in the grouping fields).

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 infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message