Github user mateiz commented on the pull request:
https://github.com/apache/spark/pull/2819#issuecomment-60693263
So regarding the interface, as I mentioned to Joseph, I would like the
interfaces to be the same so that people can easily copy code between the
languages. Many people will see a Spark example in one language on a slide, and
then try to do the same thing in their own program, so we want what to be super
simple. So don't remove the getters and setters. In this particular case, it
may be okay to support keyword args *in addition* to the getters / setters,
since it will be obvious that there's another way to do that. But we should
only do this if we're absolutely certain that these methods will have no
required args in the future, because otherwise default and named arguments can
mess things out.
---
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.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]