scarlin-cloudera opened a new pull request #1326: URL: https://github.com/apache/hive/pull/1326
Part of the code has already been refactored to become database agnostic (i.e. HiveFunctionHelper). Further refactoring needs to be done on TypeCheckProcFactory which also should be database agnostic. The most interesting part of this code change involved the addition of HiveFunctionInfo. Previous to this commit, a query specific GenericUDF was cloned out of the FunctionRegistry every time that the FunctionInfo.getGenericUDF() was called. With this commit, a new query specific FunctionInfo (HiveFunctionInfo) is created with the cloned GenericUDF. ## NOTICE Please create an issue in ASF JIRA before opening a pull request, and you need to set the title of the pull request which starts with the corresponding JIRA issue number. (e.g. HIVE-XXXXX: Fix a typo in YYY) For more details, please see https://cwiki.apache.org/confluence/display/Hive/HowToContribute ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org