Skip to content

Conversation

@zabetak
Copy link
Member

@zabetak zabetak commented Feb 5, 2026

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
  2. Reduce coupling of FunctionRegistry with SessionState

Does this PR introduce any user-facing change?

No

How was this patch tested?

mvn test -Dtest=TestFunctionRegistry

@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 5, 2026

Copy link
Contributor

@okumin okumin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@zabetak zabetak merged commit a732ae0 into apache:master Feb 9, 2026
4 checks passed
@zabetak zabetak deleted the HIVE-29443 branch February 9, 2026 08:39
@zabetak
Copy link
Member Author

zabetak commented Feb 9, 2026

Thanks a lot for the review @okumin ! Much appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants