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

    https://github.com/apache/flink/pull/771#discussion_r31719989
  
    --- Diff: 
flink-staging/flink-streaming/flink-streaming-core/src/main/java/org/apache/flink/streaming/api/datastream/DataStream.java
 ---
    @@ -617,7 +617,7 @@ protected ExecutionConfig getExecutionConfig() {
         */
        public <R> SingleOutputStreamOperator<R, ?> fold(R initialValue, 
FoldFunction<OUT, R> folder) {
                TypeInformation<R> outType = 
TypeExtractor.getFoldReturnTypes(clean(folder), getType(),
    -                           Utils.getCallLocationName(), false);
    +                           Utils.getCallLocationName(), true);
    --- End diff --
    
    I set allowMissing to true as it was set at flatMap. Leaving it on false 
caused the call fold in the Scala DataStream fail.


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