flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Till Rohrmann (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-1852) Scala API's count and collect methods are declared without parenthesis
Date Thu, 09 Apr 2015 10:17:12 GMT
Till Rohrmann created FLINK-1852:
------------------------------------

             Summary: Scala API's count and collect methods are declared without parenthesis
                 Key: FLINK-1852
                 URL: https://issues.apache.org/jira/browse/FLINK-1852
             Project: Flink
          Issue Type: Bug
          Components: Scala API
            Reporter: Till Rohrmann
            Priority: Minor


The Scala API's {{count}} and {{collect}} methods are declared without parentheses indicating
that these methods don't have any side effects. Since they trigger the execution of the {{ExecutionGraph}}
and in the future will buffer the intermediate results somewhere, they definitely have side
effects. Therefore, I'd propose to add parentheses to these methods.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message