hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sravya Tirukkovalur (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-12486) Using temporary functions fail when using hive whitelist
Date Fri, 20 Nov 2015 22:50:11 GMT

    [ 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)

Mime
View raw message