apache / apache/arrow-java

[Java] NullableDateMilliVector.getObject() should return a LocalDate, not a LocalDateTime

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

描述

NullableDateMilliVector.getObject() today returns a LocalDateTime. However, this vector is used to store date information, and thus, getObject() should return a LocalDate.

Please note: there already exists a vector that returns LocalDateTime –
the NullableTimestampMilliVector.

**Reporter**: [Vanco Buca](https://issues.apache.org/jira/browse/ARROW-1984)
#### PRs and other links:
- [GitHub Pull Request apache/arrow#5315](https://github.com/apache/arrow/pull/5315)

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

貢獻指南

開啟貢獻指南

研究方向

從 NullableDateMilliVector.getObject() 開始,並將其行為與 NullableTimestampMilliVector 進行比較,issue 將後者識別為 LocalDateTime 的實作。在進行變更之前,確認現有的 GitHub pull request 和遷移背景;完成的條件是日期向量回傳 LocalDate,而時間戳記向量維持獨立。

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

評估

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

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

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