You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Sravya Tirukkovalur (JIRA)" <ji...@apache.org> on 2015/11/20 23:50:11 UTC

[jira] [Commented] (HIVE-12486) Using temporary functions fail when using hive whitelist

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

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

Seems like we should instead check if the udf corresponding to the class has been whitelisted instead of the alias.

> Using temporary 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)