> On May 27, 2016, 10:28 p.m., Anne Yu wrote: > > sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/TestPrivilegesAtFunctionScope.java, > > line 120 > > <https://reviews.apache.org/r/47937/diff/1/?file=1396019#file1396019line120> > > > > BTW, can you add myudfs.java then let compiler compiles it, once create > > myudfs.jar will be put into target dir; your test can have access from > > there. So no need to check in myudfs.jar. Not sure if your compiled version > > will work on different systems or not (jdk7, 8 etc.)
I have updated the patch. And I created a TestUDF.java to let compiler compile it and access it from the target dir. - Ke ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/47937/#review135336 ----------------------------------------------------------- On June 1, 2016, 2:09 a.m., Ke Jia wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/47937/ > ----------------------------------------------------------- > > (Updated June 1, 2016, 2:09 a.m.) > > > Review request for sentry, Anne Yu and Dapeng Sun. > > > Bugs: SENTRY-1134 > https://issues.apache.org/jira/browse/SENTRY-1134 > > > Repository: sentry > > > Description > ------- > > Add user defined UDF test, user create a jar then create udf from this jar. > > > Diffs > ----- > > > sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/TestPrivilegesAtFunctionScope.java > ef7a86c > > sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/TestUDF.java > PRE-CREATION > > Diff: https://reviews.apache.org/r/47937/diff/ > > > Testing > ------- > > Testing > > > Thanks, > > Ke Jia > >
