apache / apache/arrow-java

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

オープン
#422 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
Type: bug
主要言語
Java
スター
94
フォーク
152
平均マージ
3日 16時間
マージ済み PR(30日)
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() から始め、Issue で LocalDateTime の実装として特定されている NullableTimestampMilliVector とその動作を比較します。変更を加える前に、既存の GitHub pull request と移行のコンテキストを確認してください。完了の条件は、date ベクターが LocalDate を返し、timestamp ベクターは別のままであることです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
data
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。