Managing ownership in VectorSchemaRoot#addVector, recent changes miss the main fault.
- 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ả
A recent change in VectorSchemaRoot#addVector provided a simple improvement, but completely misses a major shortcoming of this routine and, almost certainly, others like it. Based on the interest in that issue (#301), this issue might be of interest to @axreldable and @jbonofre.
One cannot change the `FieldVector`s belonging to `VectorSchemaRoot`s by simply rearranging the elements of their `List`s without considering the ownership of their underlying buffers. This can cause various problems, particularly when `VectorSchemaRoot`s are closed. This is why `TransferPair` exists.
I would probably need some help with improving this as I'm quite new to using Apache Arrow (and very new to using GitHub). But I have written a possibly improved implementation if this would be of interest and would be open to collaborating on rectifying this bug.
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu với VectorSchemaRoot#addVector và đọc phần thảo luận liên quan trong issue #301. Điều tra cách việc sắp xếp lại các FieldVectors ảnh hưởng đến quyền sở hữu các buffer bên dưới chúng và cách các VectorSchemaRoots hoạt động khi được đóng. Công việc được xem là hoàn tất khi việc chuyển quyền sở hữu được xử lý chính xác và việc đóng các roots không còn gây ra các vấn đề về buffer đã mô 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ó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 45/100