trino-python-client
trino-python-client copied to clipboard
Ensure custom types support pickling.
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`)