GitHub user felixcheung opened a pull request:
https://github.com/apache/spark/pull/20105
[SPARK-22920][SPARKR] sql functions for current_date, current_timestamp,
rtrim/ltrim/trim with trimString
## What changes were proposed in this pull request?
Add sql functions
## How was this patch tested?
manual, unit tests
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/felixcheung/spark rsqlfuncs
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/20105.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 #20105
----
commit c8e118a4c6e0f9f05d3c48c3d715da82b4ebd334
Author: Felix Cheung <felixcheung_m@...>
Date: 2017-12-28T11:11:41Z
ltrim/rtrim/trim with trimString + current_date() + current_timestamp()
commit 284c74a7e74fb24024cf4cc6557b30e1169cf445
Author: Felix Cheung <felixcheung_m@...>
Date: 2017-12-28T11:12:18Z
NeedsCompilation in DESCRIPTION
commit 1f2fac3afc376fd61e54cb12b6c34f60f5522280
Author: Felix Cheung <felixcheung_m@...>
Date: 2017-12-28T21:44:29Z
fix example
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]