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

    https://github.com/apache/flink/pull/542#discussion_r27452509
  
    --- Diff: 
flink-test-utils/src/main/java/org/apache/flink/test/util/TestEnvironment.java 
---
    @@ -80,7 +80,7 @@ public String getExecutionPlan() throws Exception {
        private OptimizedPlan compileProgram(String jobName) {
                Plan p = createProgramPlan(jobName);
     
    -           Optimizer pc = new Optimizer(new DataStatistics());
    +           Optimizer pc = new Optimizer(new DataStatistics(), 
this.executor.getConfiguration());
    --- End diff --
    
    For this and other tests, if we made static method to create new 
Configuration, we could make it clear this is just for local executor:
    
    ```
    LocalExecutor.createConfigForLocalExecutor(this.executor);
    ```


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