GitHub user aa8y opened a pull request: https://github.com/apache/spark/pull/10027
[SPARK-11962] Add optional getAs functions to Row `getAsOpt[T]` functions have been added to `Row` and `GeneicRowWithSchema` to get the values present in a row object optionally. Corresponding tests have also been added. You can merge this pull request into a Git repository by running: $ git pull https://github.com/aa8y/spark getAsOpt Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/10027.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 #10027 ---- commit 8fdca5c4955338be27d15fa08c7f3586ffbf06ac Author: Arun Allamsetty <a...@instructure.com> Date: 2015-11-24T16:43:35Z Added optional getAs[T]() methods. commit e9cc2786b34a3446f2245e8b7049f49630e1024d Author: Arun Allamsetty <arun@localhost.localdomain> Date: 2015-11-29T06:18:20Z Added getAsOpt and tests for it. commit efc3969a145d1b323425ad176a8fb69ceeabd3e4 Author: felixcheung <felixcheun...@hotmail.com> Date: 2015-11-29T05:02:05Z [SPARK-12029][SPARKR] Improve column functions signature, param check, tests, fix doc and add examples shivaram sun-rui Author: felixcheung <felixcheun...@hotmail.com> Closes #10019 from felixcheung/rfunctionsdoc. commit da2fc51b13498466effe1a9dbb4dbd79ceef6da8 Author: felixcheung <felixcheun...@hotmail.com> Date: 2015-11-29T05:16:21Z [SPARK-9319][SPARKR] Add support for setting column names, types Add support for for colnames, colnames<-, coltypes<- Also added tests for names, names<- which have no test previously. I merged with PR 8984 (coltypes). Clicked the wrong thing, crewed up the PR. Recreated it here. Was #9218 shivaram sun-rui Author: felixcheung <felixcheun...@hotmail.com> Closes #9654 from felixcheung/colnamescoltypes. commit 896ab56a17ccb1e2e52523eaffa57b176ce91677 Author: Arun Allamsetty <a...@instructure.com> Date: 2015-11-24T16:43:35Z Added getAsOpt and tests for it. commit e47c9128731c6dcfed145891e535f2d497d65970 Author: Arun Allamsetty <arun.allamse...@gmail.com> Date: 2015-11-29T07:16:10Z Merge remote-tracking branch 'origin/getAsOpt' into getAsOpt ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org