[ 
https://issues.apache.org/jira/browse/SPARK-14253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15217047#comment-15217047
 ] 

Liang-Chi Hsieh commented on SPARK-14253:
-----------------------------------------

In fact, current HiveFunctionRegistry doesn't handle creating temporary 
function. It just handles looking up temporary functions and wrapping them in 
Hive UDF classes.

Currently, the DDL commands to create and drop temporary functions are directly 
passed to Hive as native commands. 

> Avoid registering temporary functions in Hive
> ---------------------------------------------
>
>                 Key: SPARK-14253
>                 URL: https://issues.apache.org/jira/browse/SPARK-14253
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>            Reporter: Andrew Or
>            Assignee: Andrew Or
>
> Spark should just handle all temporary functions ourselves instead of passing 
> it to Hive, which is what the HiveFunctionRegistry does at the moment. The 
> extra call to Hive is unnecessary and potentially slow, and it makes the 
> semantics of a "temporary function" confusing.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to