Github user fhueske commented on a diff in the pull request:

    https://github.com/apache/flink/pull/1292#discussion_r42849790
  
    --- Diff: 
flink-runtime/src/main/java/org/apache/flink/runtime/operators/shipping/OutputEmitter.java
 ---
    @@ -143,14 +148,25 @@ public OutputEmitter(ShipStrategyType strategy, 
TypeComparator<T> comparator, Pa
        
        // 
--------------------------------------------------------------------------------------------
     
    +   private int[] forward() {
    +           if (this.channels == null) {
    --- End diff --
    
    This method preserves the behavior of `FORWARD` only if `numberOfChannels` 
is always 0 when `FORWARD` is configured which is out of control of the 
`OutputEmitter`.
    Should we add a check somewhere (e.g., in this condition to reduce the 
overhead) to ensure that `numberOfChannels` is acutally 0 for `FORWARD`?


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

Reply via email to