zabetak opened a new pull request, #6301:
URL: https://github.com/apache/hive/pull/6301

   ### What changes were proposed in this pull request?
   1. Add `FunctionUtils.qualifyFunctionName` handling the qualification with 
the current database
   2. Start session in `TestFunctionRegistry` only when required by tests and 
handle cleanup as well
   
   ### Why are the changes needed?
   1. Avoid NPE due to missing session when calling the `FunctionRegistry` APIs
   3. Reduce coupling of `FunctionRegistry` with `SessionState`
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   ### How was this patch tested?
   ```
   mvn test -Dtest=TestFunctionRegistry
   ```


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to