GitHub user wangyum opened a pull request:

    https://github.com/apache/spark/pull/18330

    [SPARK-20749][SQL][FOLLOWUP] Support character_length

    ## What changes were proposed in this pull request?
    
    The function `char_length` is shorthand for `character_length` function. 
Both Hive and Postgresql support `character_length`,  This PR add support for 
`character_length`.
    
    Ref:
    
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-StringFunctions
    https://www.postgresql.org/docs/current/static/functions-string.html
    
    ## How was this patch tested?
    
    unit tests


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/wangyum/spark SPARK-20749-character_length

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/18330.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 #18330
    
----
commit 2fbf9e2558e05bef1fe066bd8d11b62ff53f7023
Author: Yuming Wang <[email protected]>
Date:   2017-06-16T15:40:25Z

    Add alias character_length.

----


---
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]

Reply via email to