Skip to content

feat: add SpannerPickleType #655

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 7, 2025
Merged

feat: add SpannerPickleType #655

merged 1 commit into from
May 7, 2025

Conversation

olavloite
Copy link
Contributor

Adds a SpannerPickleType that can be used as the implementation for the standard SQLAlchemy PickleType. The SpannerPickleType ensures that the binary values are encoded/decoded to/from base64 strings, which is how Spanner stores binary values.

Fixes #654

Adds a SpannerPickleType that can be used as the implementation for
the standard SQLAlchemy PickleType. The SpannerPickleType ensures that
the binary values are encoded/decoded to/from base64 strings, which is
how Spanner stores binary values.

Fixes #654
@olavloite olavloite requested a review from rahul2393 May 5, 2025 09:25
@product-auto-label product-auto-label bot added the api: spanner Issues related to the googleapis/python-spanner-sqlalchemy API. label May 5, 2025
@olavloite olavloite merged commit 0837542 into main May 7, 2025
17 checks passed
@olavloite olavloite deleted the pickle-type branch May 7, 2025 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the googleapis/python-spanner-sqlalchemy API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fail to unpickle PickleType
2 participants