Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HIVE-27268: synthetize empty id lists if no session available #4241

Closed
wants to merge 165 commits into from

Conversation

henrib
Copy link
Contributor

@henrib henrib commented Apr 18, 2023

What changes were proposed in this pull request?

When a tool runs without a session, create an empty id list.

Why are the changes needed?

To avoid a potential NPE and be consistent.

Does this PR introduce any user-facing change?

No

How was this patch tested?

Very hard to produce through unit tests (need to fail session creation).

- servlet server will not start if port is not configured;
@sonarcloud
Copy link

sonarcloud bot commented May 8, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 7 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@henrib henrib closed this May 9, 2023
@henrib henrib deleted the HIVE-27268 branch May 9, 2023 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet