Skip to content
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

Ensure custom types support pickling. #491

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ragnard
Copy link
Member

@ragnard ragnard commented Oct 15, 2024

Ensure NamedRowTuple pickle roundtrips successfully.

Added tests for all custom types.

Fixes #490.

Description

Implement necessary pickle methods to ensure type can be pickled/unpickled correctly.

Non-technical explanation

Support pickle serialization/deserialization for rows.

Release notes

( ) This is not user-visible or docs only and no release notes are required.
( ) Release notes are required, please propose a release note for me.
(x) Release notes are required, with the following suggested text:

* Ensure custom types support pickling. ({issue}`490`)

@cla-bot cla-bot bot added the cla-signed label Oct 15, 2024
@ragnard ragnard force-pushed the support-pickle branch 4 times, most recently from f7d6099 to b7b0fa4 Compare October 15, 2024 17:39
@ragnard ragnard changed the title Fixes #490: Ensure custom types support pickling. Ensure custom types support pickling. Oct 15, 2024
Previously `NamedRowTuple` did not roundtrip successfully.
Added tests for all custom types.

Fixes trinodb#490.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

NamedRowTuple does not support pickling
1 participant