Skip to content

GH-3475: Fix parquet-vector compatiblity with Java > 17#3476

Open
iemejia wants to merge 1 commit intoapache:masterfrom
iemejia:vector-compat
Open

GH-3475: Fix parquet-vector compatiblity with Java > 17#3476
iemejia wants to merge 1 commit intoapache:masterfrom
iemejia:vector-compat

Conversation

@iemejia
Copy link
Copy Markdown
Member

@iemejia iemejia commented Apr 13, 2026

Replace the ByteBuffer-specific vector loads with local helpers that copy the required bytes and then call ByteVector.fromArray. This removes the dependency on JDK-specific ByteVector.fromByteBuffer entry points, which can fail with NoSuchMethodError on newer runtimes.

Assisted-by: OpenCode:gpt-5.4

Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

@iemejia iemejia force-pushed the vector-compat branch 2 times, most recently from 4527830 to 313db67 Compare April 17, 2026 14:07
Replace the ByteBuffer-specific vector loads with local helpers that copy the required bytes and then call ByteVector.fromArray. This removes the dependency on JDK-specific ByteVector.fromByteBuffer entry points, which can fail with NoSuchMethodError on newer runtimes.

Assisted-by: OpenCode:gpt-5.4
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.

1 participant