You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by br...@apache.org on 2014/02/25 03:53:05 UTC

[22/26] git commit: SENTRY-118: cast udf should be added to sentry udf whitelist for hive (Shreepadma Venugopalan via Jarek Jarcec Cecho)

SENTRY-118: cast udf should be added to sentry udf whitelist for hive (Shreepadma Venugopalan via Jarek Jarcec Cecho)


Project: http://git-wip-us.apache.org/repos/asf/incubator-sentry/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-sentry/commit/87f476ce
Tree: http://git-wip-us.apache.org/repos/asf/incubator-sentry/tree/87f476ce
Diff: http://git-wip-us.apache.org/repos/asf/incubator-sentry/diff/87f476ce

Branch: refs/heads/db_policy_store
Commit: 87f476cecee50701d31aff02aec3afe01326ea9d
Parents: 796b4cb
Author: Jarek Jarcec Cecho <ja...@apache.org>
Authored: Wed Feb 19 17:50:06 2014 -0800
Committer: Jarek Jarcec Cecho <ja...@apache.org>
Committed: Wed Feb 19 17:50:06 2014 -0800

----------------------------------------------------------------------
 .../java/org/apache/sentry/binding/hive/conf/HiveAuthzConf.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-sentry/blob/87f476ce/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 2d562a5..b7d79d6 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
@@ -91,7 +91,7 @@ public class HiveAuthzConf extends Configuration {
 
   private static final String HIVE_UDF_WHITE_LIST =
     "abs,acos,and,array,array_contains,ascii,asin,assert_true,atan,avg," +
-    "between,bin,case,ceil,ceiling,coalesce,collect_set,compute_stats,concat,concat_ws," +
+    "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," +
     "datediff,day,dayofmonth,degrees,div,e,elt,ewah_bitmap,ewah_bitmap_and,ewah_bitmap_empty," +
     "ewah_bitmap_or,exp,explode,field,find_in_set,floor,format_number,from_unixtime," +