You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:04:16 UTC

[jira] [Updated] (SPARK-14698) CREATE FUNCTION cloud not add function to hive metastore

     [ https://issues.apache.org/jira/browse/SPARK-14698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyukjin Kwon updated SPARK-14698:
---------------------------------
    Labels: bulk-closed easyfix  (was: easyfix)

> CREATE FUNCTION cloud not add function to hive metastore
> --------------------------------------------------------
>
>                 Key: SPARK-14698
>                 URL: https://issues.apache.org/jira/browse/SPARK-14698
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.6.1
>         Environment: spark1.6.1
>            Reporter: poseidon
>            Priority: Major
>              Labels: bulk-closed, easyfix
>
> build spark 1.6.1 , and run it with 1.2.1 hive version,config mysql as metastore server. 
> Start a thrift server , then in beeline , try to CREATE FUNCTION as HIVE SQL UDF. 
> find out , can not add this FUNCTION to mysql metastore,but the function usage goes well.
> if you try to add it again , thrift server throw a alread Exist Exception.
> [SPARK-10151][SQL] Support invocation of hive macro 
> add a if condition when runSqlHive, which will exec create function in hiveexec. caused this problem.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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