apache / apache/arrow-java

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

Đang mở
#422 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Type: bug
Ngôn ngữ chính
Java
Star
94
Fork
152
Merge trung bình
3 ngày 16 giờ
Pull request đã merge (30 ngày)
11

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu từ NullableDateMilliVector.getObject() và so sánh hành vi của nó với NullableTimestampMilliVector, mà issue xác định là phần triển khai LocalDateTime. Xác nhận pull request hiện có trên GitHub và ngữ cảnh migration trước khi thực hiện thay đổi; công việc được xem là hoàn tất khi vector date trả về LocalDate, trong khi vector timestamp vẫn riêng biệt.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
java
Lĩnh vực
data
Loại issue
Lỗi
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.