apache / apache/arrow-java

[Java] Null pointer closing unused JDBC Consumers

Open
#231 0 comments 0 reactions 0 assignees View on GitHub
Type: enhancement
Dominant language
Java
Stars
94
Forks
152
Avg merge
3d 16h
Merged PRs (30d)
11

Description

It’s legal to create a consumer that you never use, and then on close() vector will be null.

**Reporter**: [Larry White](https://issues.apache.org/jira/browse/ARROW-18179) / @lwhite1

**Note**: *This issue was originally created as [ARROW-18179](https://issues.apache.org/jira/browse/ARROW-18179). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*

Contributor guide

Open the contributing guide

Research direction

No source file or test is named. Start by reproducing the unused JDBC Consumer scenario and tracing its close() path; done means closing a consumer that was never used no longer raises a null-pointer error, with regression coverage for that case.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
database
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.