Github user StephanEwen commented on the pull request: https://github.com/apache/flink/pull/1214#issuecomment-146898360 When we grab the Optimizer Plan from interactive programs, we also have a similar problem - we would in theory need to execute the whole program. What we do instead is to grab the program part that constitutes the first portion (up to the first job submission to the JobManager) I agree with you, maybe we can do something like that. Failing all interactive programs (in the sense of programs with a `main` function rather than implementing the `Program` interface) is too much of a restriction.
--- 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. ---