Repository: incubator-sentry Updated Branches: refs/heads/master 5df60185b -> c737e3803
SENTRY-312: Add 'decimal' and 'date' to default UDF whitelist (Arun Suresh via Prasad Mujumdar) Project: http://git-wip-us.apache.org/repos/asf/incubator-sentry/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-sentry/commit/c737e380 Tree: http://git-wip-us.apache.org/repos/asf/incubator-sentry/tree/c737e380 Diff: http://git-wip-us.apache.org/repos/asf/incubator-sentry/diff/c737e380 Branch: refs/heads/master Commit: c737e3803b3e3a957eb8af3b4998bcf60597f9e7 Parents: 5df6018 Author: Prasad Mujumdar <[email protected]> Authored: Tue Jun 24 13:38:17 2014 -0700 Committer: Prasad Mujumdar <[email protected]> Committed: Tue Jun 24 13:38:17 2014 -0700 ---------------------------------------------------------------------- .../java/org/apache/sentry/binding/hive/conf/HiveAuthzConf.java | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-sentry/blob/c737e380/sentry-binding/sentry-binding-hive/src/main/java/org/apache/sentry/binding/hive/conf/HiveAuthzConf.java ---------------------------------------------------------------------- diff --git a/sentry-binding/sentry-binding-hive/src/main/java/org/apache/sentry/binding/hive/conf/HiveAuthzConf.java b/sentry-binding/sentry-binding-hive/src/main/java/org/apache/sentry/binding/hive/conf/HiveAuthzConf.java index 1bb4a99..b79937a 100644 --- a/sentry-binding/sentry-binding-hive/src/main/java/org/apache/sentry/binding/hive/conf/HiveAuthzConf.java +++ b/sentry-binding/sentry-binding-hive/src/main/java/org/apache/sentry/binding/hive/conf/HiveAuthzConf.java @@ -105,6 +105,7 @@ public class HiveAuthzConf extends Configuration { } private static final String HIVE_UDF_WHITE_LIST = + "date,decimal,timestamp," + // SENTRY-312 "abs,acos,and,array,array_contains,ascii,asin,assert_true,atan,avg," + "between,bin,case,cast,ceil,ceiling,coalesce,collect_set,compute_stats,concat,concat_ws," + "context_ngrams,conv,corr,cos,count,covar_pop,covar_samp,create_union,date_add,date_sub," +
