GitHub user bomeng opened a pull request:

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

    [SPARK-14323] [SQL] fix the show functions by using catalog listFunctions

    ## What changes were proposed in this pull request?
    
    The syntax of "SHOW FUNCTIONS" can be found here:
    
[https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-ShowFunctions](https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-ShowFunctions)
    
    By leveraging catalog.listFunctions(), we can get the proper list of 
functions with proper regex. 
    
    ## How was this patch tested?
    I have added a test case for this issue.
    


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

    $ git pull https://github.com/bomeng/spark SPARK-14323

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

    https://github.com/apache/spark/pull/12104.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 #12104
    
----
commit d6040d3c83a5fd2f10d5d139853b194157b44dd2
Author: bomeng <[email protected]>
Date:   2016-04-01T01:05:02Z

    fix the show functions

----


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