johnyangk commented on a change in pull request #122: [NEMO-213] Use Beam's
DoFnRunners to execute DoFn
URL: https://github.com/apache/incubator-nemo/pull/122#discussion_r223660316
##########
File path:
compiler/frontend/beam/src/main/java/org/apache/nemo/compiler/frontend/beam/transform/GroupByKeyTransform.java
##########
@@ -40,23 +41,27 @@ public GroupByKeyTransform() {
}
@Override
- public void prepare(final Context context, final OutputCollector<KV<Object,
List>> oc) {
+ public void prepare(final Context context, final
OutputCollector<WindowedValue<KV<Object, List>>> oc) {
this.outputCollector = oc;
}
@Override
public void onData(final I element) {
- final KV kv = (KV) element;
+ // TODO #: support window in group by key
Review comment:
Mising TODO number
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services