Github user szheng79 commented on the pull request:
https://github.com/apache/spark/pull/5754#issuecomment-97477450
I just think it is best for a java developer has more specific way to
control the return type. Like current there is these version of methods to
access row by index.
Because I move my code base from getString(int) like method, so it is a bit
lazy for me to change everywhere. So I think if I need to have these helper
method, I just add them to the code, so make it consistent with current method
style.
But I have no preference on whether we must have this. If here people think
we better don't have these, I will delete the pull request :).
And to me, if we don't have these, I will say we better only keep
getAs[T](int) and getAs[T](String), instead of only have getString(int index)
like method without similar getString(String fieldName)
---
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]