Repository navigation
Add Flight session messages and SQL update hint - #11500
Open
Phoenix500526 wants to merge 1 commit into
Open
Phoenix500526 wants to merge 1 commit into
Phoenix500526 wants to merge 1 commit into
Conversation
Contributor
Author
|
CC @Jefffrey |
Expose Flight session messages for clients that manage server state. The optional SQL hint lets clients choose the prepared statement command when the server provides that information.
Phoenix500526
force-pushed
the
format/code-update
branch
from
October 11, 2026 02:33
3d93ca0 to
b82d676
Compare
13 tasks
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Which issue does this PR close?
Rationale for this change
Flight clients need protocol messages for server session options. A prepared statement result can also tell a Flight SQL client whether to use the query or update command.
What changes are included in this PR?
arrow-flight.is_updatefield to the prepared statement result and update the example and test initializers.Are these changes tested?
No dedicated tests were added for the new protobuf fields. The existing Flight and Flight SQL unit, integration, and documentation tests pass with all features, including the updated prepared statement examples.
Are there any significant user-facing changes?
The new session message types are public. The optional
is_updatefield is wire compatible, but adding it to a public Rust struct requires downstream struct literals to supply a value. The Go package path change is described in #11499.AI assistance was used to review the generated Rust bindings and prepare this PR.