seojangho commented on a change in pull request #48: [NEMO-72] Instance-based 
Encoder/Decoder interface
URL: https://github.com/apache/incubator-nemo/pull/48#discussion_r196274805
 
 

 ##########
 File path: 
compiler/optimizer/src/main/java/edu/snu/nemo/compiler/optimizer/pass/compiletime/annotating/CompressionPass.java
 ##########
 @@ -50,6 +50,7 @@ public CompressionPass(final CompressionProperty.Value 
compression) {
     dag.topologicalDo(vertex -> dag.getIncomingEdgesOf(vertex).stream()
         .filter(e -> !vertex.getPropertyValue(StageIdProperty.class).get()
             .equals(e.getSrc().getPropertyValue(StageIdProperty.class).get()))
+        .filter(edge -> 
!edge.getPropertyValue(CompressionProperty.class).isPresent())
 
 Review comment:
   Oops. I missed that. Thanks. :zipper_mouth_face: 

----------------------------------------------------------------
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

Reply via email to