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

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

In other words setupPermissionsForBuiltinUDFs in FunctionRegistry.java also 
affects non built in UDFS.

> 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