SENTRY-878: collect_list missing from HIVE_UDF_WHITE_LIST (Li Li via Lenni Kuff)


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

Branch: refs/heads/hive_plugin_v2
Commit: b254c8825f47ff3511ce6e43bf612cb065012561
Parents: 6955182
Author: Lenni Kuff <[email protected]>
Authored: Wed Sep 9 16:19:19 2015 -0700
Committer: Sun Dapeng <[email protected]>
Committed: Mon Nov 2 16:35:21 2015 +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/b254c882/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 1a4c41b..3919de7 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
@@ -113,7 +113,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,"
 +
+    
"between,bin,case,cast,ceil,ceiling,coalesce,collect_list,collect_set,compute_stats,concat,concat_ws,"
 +
     
"UDFConv,UDFHex,UDFSign,UDFToBoolean,UDFToByte,UDFToDouble,UDFToFloat,UDFToInteger,UDFToLong,UDFToShort,UDFToString,"
 +
     
"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,"
 +

Reply via email to