GitHub user zentol opened a pull request: https://github.com/apache/flink/pull/1375
[FLINK-2249] Ignore calls to execute without sinks This PR makes the following changes: * DataSet actions store the last jobExecutionResult in the environment * Environment.execute() ... * fails, if no sinks is defined with an InvalidProgramException, * returns the last result and prints a warning, if no sink was defined since the last execution, * executes as usual if a sink was defined since the last execution. You can merge this pull request into a Git repository by running: $ git pull https://github.com/zentol/flink 2249_ignoreExecute Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/1375.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1375 ---- commit c0dde401f7931657cb072d00ab2b73f3b239f9da Author: zentol <ches...@apache.org> Date: 2015-11-18T10:44:37Z [FLINK-2249] Ignore calls to execute without sinks ---- --- 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. ---