sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremy Beard (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SENTRY-151) UDF whitelist missing CAST UDFs
Date Thu, 20 Mar 2014 14:18:49 GMT

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

Mime
View raw message