apache / apache/arrow-java

[Java] ListVector's setValueCount does not set inner vector's value count correctly

未關閉
#338 4 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
Type: bug
主要語言
Java
星號
94
分支
152
平均合併
3 天 16 小時
30 天內合併 PR
11

描述

In ListVector#setValueCount, we always compute data vector's value count based on lastSet - this is incorrect when valueCount is less than lastSet

**Reporter**: [Prudhvi Porandla](https://issues.apache.org/jira/browse/ARROW-8842) / @pprudhvi
#### PRs and other links:
- [GitHub Pull Request apache/arrow#7214](https://github.com/apache/arrow/pull/7214)

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

貢獻指南

開啟貢獻指南

研究方向

從 Apache Arrow Java 原始碼中的 ListVector#setValueCount 開始,查看連結的拉取請求 apache/arrow#7214 以了解預期行為。追蹤當 valueCount 小於 lastSet 時資料向量的值計數如何計算,然後在可用的情況下執行相關的 ListVector 測試。完成的標準是:在這種情況下,內部向量收到正確的計數。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
java
領域
data-engineering
Issue 類型
缺陷
難度
2/5
預估耗時
1-3 小時
活躍度
停滯
描述清晰度
描述清楚
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。