-
Notifications
You must be signed in to change notification settings - Fork 281
docs: fix inaccurate claim about mutable buffers in parquet scan docs #3378
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
base: main
Are you sure you want to change the base?
docs: fix inaccurate claim about mutable buffers in parquet scan docs #3378
Conversation
…mentation The documentation incorrectly claimed that native_iceberg_compat "removes the use of reusable mutable-buffers". In reality, both native_comet and native_iceberg_compat use reusable mutable buffers when transferring data via Arrow FFI. This commit: - Removes the inaccurate claim - Replaces it with accurate description of Parquet decoding delegation - Adds a note explaining the actual mutable buffer behavior - Links to the FFI documentation for details on arrow_ffi_safe flag Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
| - Delegates Parquet decoding to native Rust code rather than JVM-side decoding | ||
| - Improves performance | ||
|
|
||
| > **Note on mutable buffers:** Both `native_comet` and `native_iceberg_compat` use reusable mutable buffers |
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.
wondering should we note changes in #3367 it is not a native reusable buffer, but stating the JVM unsafe rows are copied?
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 document is specifically about the Parquet scan implementations, so seems unrelated
comphead
left a comment
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.
Thanks @andygrove
|
It looks I am still misunderstanding some of this, so moving to draft while I clarify some things. |
Clarified note on mutable buffers and updated details on `native_iceberg_compat` implementation.
Ok, I think this is accurate now. |
Which issue does this PR close?
N/A
Rationale for this change
The documentation incorrectly claimed that
native_iceberg_compat"removes the use of reusable mutable-buffers". I had misunderstood this, apparently.What changes are included in this PR?
How are these changes tested?