Maximilian Michels created FLINK-3796:
-----------------------------------------

             Summary: FileSourceFunction doesn't respect InputFormat's life 
cycle methods 
                 Key: FLINK-3796
                 URL: https://issues.apache.org/jira/browse/FLINK-3796
             Project: Flink
          Issue Type: Bug
          Components: Streaming
    Affects Versions: 1.0.1, 1.0.0, 1.0.2
            Reporter: Maximilian Michels
            Assignee: Maximilian Michels
             Fix For: 1.1.0


The {{FileSourceFunction}} wraps {{InputFormat}} but doesn't execute its life 
cycle functions correctly.

1) It doesn't call {{close()}} before reading the next InputSplit via 
{{open(InputSplit split)}}.

2) It calls {{close()}} even if no InputSplit has been read (and thus open(..) 
hasn't been called previously).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to