Github user vasia commented on the pull request:
https://github.com/apache/flink/pull/462#issuecomment-81756505
Thanks for the revision @andralungu! This makes the Gelly methods you
changed much more user-friendly.
Since, count() and collect() are just used to return a single value instead
of a DataSet with a single value for numberOfVertices/edges, isWeaklyConnected
and validate, I don't see any serious performance implications here. Also, I
doubt a user will call numberOfVertices(), isWeaklyConnected() or validate()
more than once on the same graph :-)
Thus, if no objections, I'd like to merge this tomorrow.
---
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 [email protected] or file a JIRA ticket
with INFRA.
---