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

Sravya Tirukkovalur commented on HIVE-12486:
--------------------------------------------

Looks like this is true for permanent functions as well. Users will have to 
whitelist a qualified name of permanent function when using whitelist, like: 
db1.perm_funct

> Using temporary/permanent functions fail when using hive whitelist
> ------------------------------------------------------------------
>
>                 Key: HIVE-12486
>                 URL: https://issues.apache.org/jira/browse/HIVE-12486
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Sravya Tirukkovalur
>
> CREATE TEMPORARY FUNCTION printf_test AS 
> 'org.apache.hadoop.hive.ql.udf.generic.GenericUDFPrintf' 
> SELECT printf_test('%d', under_col) FROM tab1;
> The above select fails with 
> org.apache.hive.service.cli.HiveSQLException: Error while compiling 
> statement: FAILED: SemanticException UDF printf_test is not allowed



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

Reply via email to