Github user sachingoel0101 commented on the pull request:
https://github.com/apache/flink/pull/1214#issuecomment-151402904
@mxm I have made some changes and now the *current* plan resides in the
`ContextEnvironment`. This required some changes in `StreamContextEnvironment`,
which now wraps the `ContextEnvironment` which was initially created to check
the existence of context environment.
Furthermore, `ContextEnvironmentFactory` needs to store the last context
environment created, which can be used then to access the plan, so it can be
executed after the call to interactive program's `main` finishes.
---
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 [email protected] or file a JIRA ticket
with INFRA.
---