wuchong commented on issue #9433: [FLINK-13708] [table-planner-blink] 
transformations should be cleared after execution in blink planner
URL: https://github.com/apache/flink/pull/9433#issuecomment-525719696
 
 
   However, in order to make `explain` stateless, we have to get a 
`StreamGraphGenerator` to generate StreamGraph ourselves. We can't get 
`StreamGraphGenerator` [from the underlying 
env](https://github.com/apache/flink/blob/master/flink-streaming-java/src/main/java/org/apache/flink/streaming/api/environment/StreamExecutionEnvironment.java#L1543).
 That's why we construct the `StreamGraphGenerator` [in 
Executor](https://github.com/apache/flink/pull/9433/files#diff-1f205a3bfd6053c2fdd8cb3d462a4e83R104)
 to do this. And we would like to make sure the generation behavior is the same 
between `explain`  and `execute`, so we buffers the transformations to generate 
StreamGraph to submit.
   

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