[ https://issues.apache.org/jira/browse/FLINK-2026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14546572#comment-14546572 ]
Aljoscha Krettek commented on FLINK-2026: ----------------------------------------- You are calling execute() on the environment, correct? This is a problem with the documentation, since some methods, such as count() and collect() call execute() internally. > Error message in count() only jobs > ---------------------------------- > > Key: FLINK-2026 > URL: https://issues.apache.org/jira/browse/FLINK-2026 > Project: Flink > Issue Type: Bug > Components: Core > Reporter: Sebastian Schelter > Priority: Minor > > If I run a job that only calls count() on a dataset (which is a valid data > flow IMHO), Flink executes the job but complains that no sinks are defined. -- This message was sent by Atlassian JIRA (v6.3.4#6332)