Skip to content

GH-1412: Flight SQL JDBC batch support - #1413

Closed
mykolapavlov-dremio wants to merge 1 commit into
apache:mainfrom
mykolapavlov-dremio:flight-sql-jdbc-batch
Closed

mykolapavlov-dremio wants to merge 1 commit into
apache:mainfrom
mykolapavlov-dremio:flight-sql-jdbc-batch

Conversation

@mykolapavlov-dremio

Copy link
Copy Markdown

Summary

Add complete prepared-statement batch execution support for Flight SQL JDBC.

  • Preserve parameter-row boundaries and execute every batch entry.
  • Return one update count per executed row.
  • Drain all PutResult responses and release Arrow resources on success and failure.
  • Translate batch failures to BatchUpdateException with partial update counts.

Test plan

  • Verify a ten-row batch returns ten update counts.
  • Verify a failed batch exposes prior counts and closes without allocator leaks.

Collect all prepared-statement update results and translate partial batch failures to BatchUpdateException. Close response buffers on success and failure to prevent allocator leaks.
@github-actions

Copy link
Copy Markdown

Thank you for opening a pull request!

Please label the PR with one or more of:

  • bug-fix
  • chore
  • dependencies
  • documentation
  • enhancement

Also, add the 'breaking-change' label if appropriate.

See CONTRIBUTING.md for details.

@mykolapavlov-dremio

Copy link
Copy Markdown
Author

Closing duplicate draft; continuing with PR #1411.

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