Skip to content

MINOR: Close prepared handles on build failure - #45

Open
xborder wants to merge 1 commit into
mainfrom
codex/prepared-handle-build-cleanup
Open

xborder wants to merge 1 commit into
mainfrom
codex/prepared-handle-build-cleanup

Conversation

@xborder

@xborder xborder commented Nov 21, 2026

Copy link
Copy Markdown
Owner

Summary

  • Close the server prepared statement if JDBC statement building fails after prepare.
  • Preserve the original failure and suppress any close failure.
  • Add a regression test for unsupported parameter types and close errors.

Related review comment: apache/arrow-java#1090.

Validation

  • Focused ArrowFlightPreparedStatementTest: 19 tests, 0 failures, 0 errors, 1 skipped.
  • Spotless check: passed.
  • Checkstyle: passed.
  • git diff --check: passed.

@xborder xborder changed the title Close prepared handles on statement build failure MINOR: Close prepared handles on build failure Nov 21, 2026
@github-actions

This comment has been minimized.

@xborder xborder added the bug-fix Bug fixes label Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug-fix Bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant