apache / apache/arrow-java

[Java] Null pointer closing unused JDBC Consumers

未关闭
#231 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Type: enhancement
主要语言
Java
星标
94
派生
152
平均合并
3 天 16 小时
30 天内合并 PR
11

描述

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

贡献指南

打开贡献指南

调研方向

未指定源文件或测试。首先复现未使用的 JDBC Consumer 场景,并跟踪其 close() 路径;完成的标准是,关闭从未使用过的 consumer 不再引发空指针错误,并且为该情况提供回归覆盖。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
database
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。