GitHub user gatorsmile opened a pull request:

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

    [SPARK-15108] [SQL] Describe Permanent UDTF

    #### What changes were proposed in this pull request?
    When Describe a UDTF, the command returns a wrong result. The command is 
unable to find the function, which has been created and cataloged in the 
catalog but not in the functionRegistry.
    
    This PR is to correct it. If the function is not in the functionRegistry, 
we will check the catalog for collecting the information of the UDTF function. 
    
    #### How was this patch tested?
    Added test cases to verify the results

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

    $ git pull https://github.com/gatorsmile/spark showFunction

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

    https://github.com/apache/spark/pull/12885.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 #12885
    
----
commit ed0fc89b1708c99896917edb3a50212fc2b57fe0
Author: gatorsmile <[email protected]>
Date:   2016-05-04T02:24:59Z

    fix

commit 241ff6f187da4ed63a7c2570ad0f4413e4f48257
Author: gatorsmile <[email protected]>
Date:   2016-05-04T02:25:50Z

    Merge remote-tracking branch 'upstream/master' into showFunction

----


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