Skip to content

fix(java): keep async query responses as bytes#321

Merged
jackye1995 merged 5 commits intomainfrom
xuanwo/fix-java-async-querytable-bytes
Mar 17, 2026
Merged

fix(java): keep async query responses as bytes#321
jackye1995 merged 5 commits intomainfrom
xuanwo/fix-java-async-querytable-bytes

Conversation

@Xuanwo
Copy link
Copy Markdown
Contributor

@Xuanwo Xuanwo commented Mar 17, 2026

This updates only the Java async client codegen path to use a vendored native template and keep binary query responses as byte[]. The async generator now explicitly uses openapi-generator-cli 7.20.0, while the repository default remains 7.12.0 so the existing Python, Rust, sync Java client, and Spring server codegen outputs stay unchanged.

The previous async client path could either parse Arrow IPC bytes as JSON (ARROW1) or generate File handling that mismatched our --type-mappings file=byte[] configuration. I regenerated the async client, ran make check in java/ with JDK 17, and ran top-level make gen to confirm the spec codegen check stays clean.

@github-actions
Copy link
Copy Markdown
Contributor

ACTION NEEDED
Lance follows the Conventional Commits specification for release automation.

The PR title and description are used as the merge commit message. Please update your PR title and description to match the specification.

For details on the error please inspect the "PR Title Check" action.

@Xuanwo Xuanwo changed the title Fix Java async client binary query responses fix(java): keep async query responses as bytes Mar 17, 2026
@Xuanwo Xuanwo force-pushed the xuanwo/fix-java-async-querytable-bytes branch from ffc4a78 to 0ca4319 Compare March 17, 2026 11:03
@github-actions github-actions Bot added bug Something isn't working java Java features labels Mar 17, 2026
@Xuanwo Xuanwo force-pushed the xuanwo/fix-java-async-querytable-bytes branch from 0ca4319 to a6c39c8 Compare March 17, 2026 11:03
@Xuanwo Xuanwo requested a review from jackye1995 March 17, 2026 11:56
Copy link
Copy Markdown
Collaborator

@jackye1995 jackye1995 left a comment

Choose a reason for hiding this comment

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

thanks for the fix!

@jackye1995 jackye1995 merged commit 5fd9e23 into main Mar 17, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working java Java features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants