[jira] [Created] (FLINK-1852) Scala API's count and collect methods are declared without parenthesis

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-1852) Scala API's count and collect methods are declared without parenthesis

Shang Yuanchun (Jira)
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)