GitHub user andrewor14 opened a pull request:

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

    [SPARK-14253][SQL] Refactor HiveFunctionRegistry for temporary functions

    ## What changes were proposed in this pull request?
    
    This is a prerequisite to SPARK-14123, which implements DDLs related to 
functions using `SessionCatalog`. In order to support `CREATE TEMPORARY 
FUNCTION` we need a way to make a `FunctionBuilder` from the function class 
name. This patch exposes an interface to do so.
    
    ## How was this patch tested?
    
    Jenkins.

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

    $ git pull https://github.com/andrewor14/spark hive-temp-functions

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

    https://github.com/apache/spark/pull/12051.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 #12051
    
----
commit 694d9b69b0056f65b1cf8e398201eefcb8336631
Author: Andrew Or <[email protected]>
Date:   2016-03-29T23:13:41Z

    Expose makeFunctionBuilder in function registry
    
    This allows the DDL commands (when we implement them later) to
    use this to create a FunctionBuilder when calling SessionCatalog
    methods. This is needed for temporary functions.

commit e5e51d905eea45fabf0320c002a7b7c54904e0de
Author: Andrew Or <[email protected]>
Date:   2016-03-29T23:15:15Z

    Rename alias -> functionClassName

----


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