[Java] Introduce BaseWriter.writeNull method
- 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ả
When a data set has null values in complex data type, it's hard to call proper writeNull method. Because writeNull is declared in AbstractFieldWriter, which is package local, not public. Moreover, UnionListWriter has no implementation of writeNull method, so it falls into AbstractFieldWriter.writeNull, which throws an IllegalArgumentException by default. So BaseWriter.writeNull is required to write null values inside of complex data types.
**Reporter**: [Teddy Choi](https://issues.apache.org/jira/browse/ARROW-2538) / @pudidic
#### PRs and other links:
- [GitHub Pull Request apache/arrow#1994](https://github.com/apache/arrow/pull/1994)
**Note**: *This issue was originally created as [ARROW-2538](https://issues.apache.org/jira/browse/ARROW-2538). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu với các entry point BaseWriter, AbstractFieldWriter và UnionListWriter được nêu trong issue, sau đó xem lại pull request được liên kết về phần triển khai trước đó. Công việc được xem là hoàn tất khi các giá trị null trong các kiểu dữ liệu phức tạp có thể sử dụng public BaseWriter.writeNull API mà không rơi vào IllegalArgumentException mặc định.
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
- backend-api-design
- Loại issue
- Tính năng
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 25/100