Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/699#discussion_r30710432 --- Diff: flink-java/src/main/java/org/apache/flink/api/java/DataSet.java --- @@ -1357,11 +1362,16 @@ public long count() throws Exception { /** * Writes a DataSet to the standard error stream (stderr).<br/> * For each element of the DataSet the result of {@link Object#toString()} is written. - * - * @return The DataSink that writes the DataSet. */ - public DataSink<T> printToErr() { - return output(new PrintingOutputFormat<T>(true)); + public void printToErr() throws Exception{ + try { --- End diff -- See comment above
--- 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. ---