fix(client): preserve prepared null parameter types - #18
Merged
Conversation
fvaleye
force-pushed
the
fl/preserve-prepared-null-types
branch
from
July 31, 2026 08:07
2d8f9b5 to
a4d05ce
Compare
fvaleye
force-pushed
the
fl/preserve-prepared-null-types
branch
from
July 31, 2026 08:32
a4d05ce to
d2e1de6
Compare
redox
approved these changes
Jul 31, 2026
fvaleye
pushed a commit
that referenced
this pull request
Jul 31, 2026
🤖 I have created a release *beep* *boop* --- ## [0.3.3](v0.3.2...v0.3.3) (2026-07-31) ### Bug Fixes * **client:** preserve prepared null parameter types ([#18](#18)) ([bb0ebfd](bb0ebfd)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
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.
Summary
Nonevalues to Arrow arrays.PyArrow infers
[None]as Arrow'snulltype. Flight SQL prepared statements provide an expected bind parameter schema, so sending that inferred type can make the parameter batch differ from the schema the server prepared.The client now builds null arrays with the prepared field type when that type is known. It keeps inference for non-null values and for named parameters absent from the prepared schema, preserving the existing permissive behavior.