Skip to content

Conversation

@andygrove
Copy link
Member

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?

…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
Copy link
Contributor

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?

Copy link
Member Author

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

Copy link
Contributor

@comphead comphead left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @andygrove

@andygrove andygrove marked this pull request as draft February 3, 2026 21:06
@andygrove
Copy link
Member Author

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.
@andygrove andygrove marked this pull request as ready for review February 3, 2026 21:18
@andygrove
Copy link
Member Author

It looks I am still misunderstanding some of this, so moving to draft while I clarify some things.

Ok, I think this is accurate now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants