GitHub user sarutak opened a pull request:
https://github.com/apache/spark/pull/7067
[SPARK-8689][SQL] Add get* methods with fieldName to Row
`Row ` has methods to get field a value by index but not has methods to get
a field value by fieldName.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sarutak/spark SPARK-8689
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/7067.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #7067
----
commit e0dfbbc40e7282c3e1284341244274d2521dd0dc
Author: Kousuke Saruta <[email protected]>
Date: 2015-06-28T07:04:00Z
Added get* to access field by a given name
commit 5ecdc9e08f0fba6fc2119da60774804b3f8ba15f
Author: Kousuke Saruta <[email protected]>
Date: 2015-06-28T08:42:08Z
Added test
----
---
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]