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

    https://github.com/apache/flink/pull/966#discussion_r36352428
  
    --- Diff: 
flink-core/src/main/java/org/apache/flink/api/common/operators/GenericDataSourceBase.java
 ---
    @@ -200,14 +202,18 @@ public void accept(Visitor<Operator<?>> visitor) {
                        visitor.postVisit(this);
                }
        }
    -   
    +
        // 
--------------------------------------------------------------------------------------------
        
    -   protected List<OUT> executeOnCollections(ExecutionConfig 
executionConfig) throws Exception {
    +   protected List<OUT> executeOnCollections(RuntimeContext ctx, 
ExecutionConfig executionConfig) throws Exception {
                @SuppressWarnings("unchecked")
                InputFormat<OUT, InputSplit> inputFormat = (InputFormat<OUT, 
InputSplit>) this.formatWrapper.getUserCodeObject();
    +
    +           if(inputFormat instanceof RichInputFormat){
    --- End diff --
    
    Move after `configure()` call


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to