GitHub user yongtang opened a pull request:

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

    [SPARK-14335][SQL] Describe function command returns wrong output

    ## What changes were proposed in this pull request?
    
    …because some of built-in functions are not in function registry.
    
    This fix tries to fix issues in `describe function` command where some of 
the outputs
    still shows Hive's function because some built-in functions are not in 
FunctionRegistry.
    
    The following built-in functions have been added to FunctionRegistry:
    ```
    -
    !
    *
    /
    &
    %
    ^
    +
    <
    <=
    <=>
    =
    ==
    >
    >=
    |
    ~
    and
    in
    like
    not
    or
    rlike
    when
    ```
    
    The following listed functions are not added:
    ```
    !=
    <>
    between
    case
    ```
    
    ## How was this patch tested?
    
    Existing tests passed.

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

    $ git pull https://github.com/yongtang/spark SPARK-14335

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

    https://github.com/apache/spark/pull/12128.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 #12128
    
----
commit 7a84e9bd7dccffce103862a7c8818396d6fecb34
Author: Yong Tang <[email protected]>
Date:   2016-04-02T07:40:07Z

    [SPARK-14335][SQL] Describe function command returns wrong output because 
some of built-in functions are not in function registry.
    
    This fix tries to fix issues in `describe function` command where some of 
the outputs
    still shows Hive's function because some built-in functions are not in 
FunctionRegistry.
    
    The following built-in functions have been added to FunctionRegistry:
    ```
    -
    !
    *
    /
    &
    %
    ^
    +
    <
    <=
    <=>
    =
    ==
    >
    >=
    |
    ~
    and
    in
    like
    not
    or
    rlike
    when
    ```
    
    The following listed functions are not added:
    ```
    !=
    <>
    between
    case
    ```
    
    All existing tests passed.

----


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