GitHub user kevinyu98 opened a pull request:
https://github.com/apache/spark/pull/19302
[SPARK-14878][SQL] Adding examples for Trim characters string function
## What changes were proposed in this pull request?
This pr is a follow-up PR for this merged trim function pr: [Support Trim
characters in the string trim
function](https://github.com/apache/spark/pull/12646).
I am adding examples in the `ExpressionDescription` session for
`stringTrim` function
## How was this patch tested?
This is documentation pr, and it passed all sql testing locally.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kevinyu98/spark spark-14878-3
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/19302.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 #19302
----
commit 3879e6df0a2df880632bebc9fdc4c0511e373e46
Author: Kevin Yu <[email protected]>
Date: 2017-09-20T21:35:57Z
adding examples for stringTrim string function
commit 795f41a60c612ead4ff42ab9283d5ad2af9b17e1
Author: Kevin Yu <[email protected]>
Date: 2017-09-21T06:00:46Z
adjust comments
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]