You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "Jeremy Beard (JIRA)" <ji...@apache.org> on 2014/03/20 15:18:49 UTC
[jira] [Resolved] (SENTRY-151) UDF whitelist missing CAST UDFs
[ https://issues.apache.org/jira/browse/SENTRY-151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeremy Beard resolved SENTRY-151.
---------------------------------
Resolution: Duplicate
> UDF whitelist missing CAST UDFs
> -------------------------------
>
> Key: SENTRY-151
> URL: https://issues.apache.org/jira/browse/SENTRY-151
> Project: Sentry
> Issue Type: Bug
> Affects Versions: 1.2.0
> Reporter: Jeremy Beard
> Priority: Critical
>
> The Sentry UDF whitelist is missing the UDFs used to cast data types, such as:
> SELECT CAST(1000 AS timestamp) FROM table;
> SELECT CAST(1000 AS string) FROM table;
> etc.
> This causes Sentry to reject the query with "No valid privileges".
> The UDFs are listed here: https://github.com/apache/hive/blob/329c3dd250695e8f06e69aaff9c9da59bb8c4d4c/ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java#L1663-L1669
--
This message was sent by Atlassian JIRA
(v6.2#6252)