Skip to content

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