Skip to content

fix(flightsql): reject unsupported transaction options - #1152

Open
fallintoplace wants to merge 1 commit into
apache:mainfrom
fallintoplace:fix/flightsql-tx-options
Open

fix(flightsql): reject unsupported transaction options#1152
fallintoplace wants to merge 1 commit into
apache:mainfrom
fallintoplace:fix/flightsql-tx-options

Conversation

@fallintoplace

Copy link
Copy Markdown
Contributor

What

Connection.BeginTx ignored database/sql transaction options and started a normal transaction. The driver does not expose a way to configure isolation or read-only transactions, so this now returns ErrNotSupported for non-default options.

Test

  • go test ./arrow/flight/flightsql/driver -run TestBeginTxRejectsUnsupportedOptions -count=1

@fallintoplace
fallintoplace marked this pull request as ready for review August 8, 2026 15:52
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