trino-python-client icon indicating copy to clipboard operation
trino-python-client copied to clipboard

Ensure custom types support pickling.

Open ragnard opened this issue 1 year ago • 0 comments

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`)

ragnard avatar Oct 15 '24 16:10 ragnard