apache/incubator-flink — pull request #184 by knub (2014-11-05 21:42:36+00:00)
Title: [FLINK-1008] Fix createProgramPlan() throws exception

Problem was, that ExecutionEnvironment#getExecutionPlan clears the data
sinks, i.e. a following ExecutionEnvironment#execute will throw an error
because there are no data sinks.

This introduces a new flag for ExecutionEnvironment#createProgramPlan to
indicate, that the the sinks shall not be cleared.
This does not break any existing code.