johnyangk commented on a change in pull request #91: [NEMO-3] Bump up the Beam
version to 2.5.0
URL: https://github.com/apache/incubator-nemo/pull/91#discussion_r208196340
##########
File path:
compiler/frontend/beam/src/main/java/edu/snu/nemo/compiler/frontend/beam/transform/CreateViewTransform.java
##########
@@ -67,8 +74,23 @@ public PCollectionView getTag() {
@Override
public void close() {
- O output = viewFn.apply(windowed);
- outputCollector.emit(output);
+ final Object view = viewFn.apply(multiView);
+ if (view instanceof List) {
Review comment:
Replace L78-L93 with
`outputCollector.emit((O) view);`
----------------------------------------------------------------
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