-
Notifications
You must be signed in to change notification settings - Fork 385
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use arrow-rs
in ArrowBuffer
#8201
Conversation
Web viewer built successfully. If applicable, you should also test it:
Note: This comment is updated whenever you push a commit. |
ArrowNativeType
trait bound to ArrowBuffer
arrow-rs
in ArrowBuffer
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm minus suspicious/confusing len
fn from(value: arrow2::buffer::Buffer<T>) -> Self { | ||
Self(value) | ||
fn from(arrow2_buffer: arrow2::buffer::Buffer<T>) -> Self { | ||
let num_elements = arrow2_buffer.len(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
didn't the fat comment up there say that this is a num_bytes
in arrow2? That would make this wrong then if I understand correctly
Your unit test seems to pass this though, confusing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is why I wrote a unit test - arrow2 is confusing and maybe wrongly documented:
The comment is gone too
re_arrow2
toarrow
#3741ArrowBuffer
wrapper to exposearrow-rs
buffers rather thanarrow2
#2978