TisonKun commented on a change in pull request #9820: [FLINK-14290] Decouple 
plan translation from job execution/ClusterClient
URL: https://github.com/apache/flink/pull/9820#discussion_r334234669
 
 

 ##########
 File path: 
flink-clients/src/main/java/org/apache/flink/client/program/ClusterClient.java
 ##########
 @@ -201,18 +157,15 @@ public JobSubmissionResult run(
                int parallelism,
                SavepointRestoreSettings savepointSettings) throws 
CompilerException, ProgramInvocationException {
 
-               OptimizedPlan optPlan = getOptimizedPlan(compiler, plan, 
parallelism);
 
 Review comment:
   With this change `ClusterClient` doesn't have any usage of `compiler`. Also 
we want to hide `compiler` inside translator. So we can remove 
`Cluster.compiler` field.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to