----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/46715/#review130835 -----------------------------------------------------------
ql/src/java/org/apache/hadoop/hive/ql/exec/Registry.java (line 450) <https://reviews.apache.org/r/46715/#comment194734> agreed, this check could probably just use != ql/src/java/org/apache/hadoop/hive/ql/exec/Registry.java (line 703) <https://reviews.apache.org/r/46715/#comment194735> Given that this is called by getQualifiedFunctionInfoUnderLock(), this should already be qualified, right? Also could use FunctionUtils.getQualifiedFunctionNameParts() which basically does this same logic here. ql/src/java/org/apache/hadoop/hive/ql/exec/Registry.java (line 729) <https://reviews.apache.org/r/46715/#comment194737> I think the function also needs to be added to the session registry. Does it work to use registerPermanentFunction() in place of the code from line 721-729? That seems to load the jars and add the UDF to the appropriate registries. - Jason Dere On April 26, 2016, 11:06 p.m., Sergey Shelukhin wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/46715/ > ----------------------------------------------------------- > > (Updated April 26, 2016, 11:06 p.m.) > > > Review request for hive and Jason Dere. > > > Repository: hive-git > > > Description > ------- > > see jira > > > Diffs > ----- > > common/src/java/org/apache/hadoop/hive/conf/HiveConf.java bae3999 > ql/src/java/org/apache/hadoop/hive/ql/exec/Registry.java d5f4a37 > ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java 672df63 > > Diff: https://reviews.apache.org/r/46715/diff/ > > > Testing > ------- > > > Thanks, > > Sergey Shelukhin > >