trino-python-client
trino-python-client copied to clipboard
Python client for Trino
### Describe the feature Add support for using the spooled protocol extension that was added to Trino in https://github.com/trinodb/trino/pull/22995. ### Describe alternatives you've considered _No response_ ### Are you willing...
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...
### Expected behavior The custom type `NamedRowTuple` does not implement the methods necessary for a successful `pickle` roundtrip. When unpickling (`pickle.load[s]`) it raises a `TypeError`. It should work with `pickle`....
## Description Resolves https://github.com/trinodb/trino-python-client/issues/356 - Map INTERVAL YEAR TO MONTH to `relativedelta` - Map INTERVAL DAY TO SECOND to `timedelta` ## Non-technical explanation ## Release notes ( ) This is...
~~~ ```markdown * ([#NNN](https://github.com/trinodb/trino-python-client/issues/NNN)) ``` ~~~
### Expected behavior dding a isolation level in the SA Session causes a failure when using any of the levels with underscores. Trino client is removing the underscore, but then...
### Describe the feature I see that static type checking was discussed in #69 and mypy was enabled in #91. Do people think it's a good idea to add a...
Queries submitted via Trino-python-client started failing when we migrated to Trino v454 version `with no changes on client-side or server side`, but the same was working as expected on our...