Trino

Latest version: v0.333.0

Safety actively analyzes 723217 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

0.333.0

* Improve handling of query results containing `null` values for
the error field.
([512](https://github.com/trinodb/trino-python-client/pull/512))
* Fix accessing spooled segments on S3 when authentication to the
Trino cluster is used.
([525](https://github.com/trinodb/trino-python-client/pull/525))
* Simplify `segment` cursor API to make it easier to iterate over spooled
segments.
([525](https://github.com/trinodb/trino-python-client/pull/525))

0.332.0

* Add support for spooling protocol.
([509](https://github.com/trinodb/trino-python-client/pull/509))

0.331.0

* Add support for Python 3.13 and drop support for Python 3.8 which is
end-of-life.
([489](https://github.com/trinodb/trino-python-client/issues/489))
* Add support for Trino `INTERVAL YEAR TO MONTH` type by mapping to Python
`relativedelta`.
([475](https://github.com/trinodb/trino-python-client/issues/475))
* Add support for Trino `INTERVAL DAY TO SECOND` type by mapping to Python
`timedelta`.
([475](https://github.com/trinodb/trino-python-client/issues/475))
* Custom types are now pickle-able which allows frameworks like
[Streamlit](https://github.com/streamlit/streamlit) to work.
([490](https://github.com/trinodb/trino-python-client/issues/490))
* Fix OAuth2 authentication to not fail if the redirect server or token server
URIs contain parameters.
([495](https://github.com/trinodb/trino-python-client/issues/495))

0.330.0

* Add support for `try_cast` to SQLAlchemy dialect.
([473](https://github.com/trinodb/trino-python-client/issues/473))
* Add retries on HTTP 429 error from Trino or a gateway/proxy using the
`Retry-After` HTTP header in the response.
([457](https://github.com/trinodb/trino-python-client/issues/457))
* Fix token caching for long tokens on Windows.
([477](https://github.com/trinodb/trino-python-client/issues/477))
* Fix parsing of multi-valued `WWW-Authenticate` HTTP headers.
([484](https://github.com/trinodb/trino-python-client/issues/484))
* Fix SQLAlchemy `get_indexes` implementation to return partition column names
for Hive connector instead of returning column names of the
`<table>$partitions` table.
([476](https://github.com/trinodb/trino-python-client/issues/476))
* Fix parsing of `cert` and `key` from SQLAlchemy connection URI.
([478](https://github.com/trinodb/trino-python-client/issues/478))

0.329.0

* Add support for `SET SESSION AUTHORIZATION`.
([349](https://github.com/trinodb/trino-python-client/issues/349))
* Add support for GSSAPI based Kerberos authentication. Use
`auth=GSSAPIAuthentication(...)` to use it.
([454](https://github.com/trinodb/trino-python-client/issues/454))
* Add support to SQLAlchemy dialect for `ROW` and `ARRAY` DDL generation.
([458](https://github.com/trinodb/trino-python-client/issues/458))
* Fix possible OAuth2 authentication failures when identity providers return
multiple challenges.
([444](https://github.com/trinodb/trino-python-client/issues/444))

0.328.0

* Add support for Python 3.12 and drop support for Python 3.7 and PyPy 3.8
which are end-of-life.
([438](https://github.com/trinodb/trino-python-client/issues/438))
* Add support for `JSON` data type to SQLAlchemy dialect.
([387](https://github.com/trinodb/trino-python-client/issues/387))
* Add support for `IGNORE NULLS` in window functions when using SQLAlchemy.
([429](https://github.com/trinodb/trino-python-client/issues/429))
* Add support for `MAP` type to SQLAlchemy dialect.
([397](https://github.com/trinodb/trino-python-client/issues/397))
* Add support for per-user OAuth2 token cache if the `user` is provided when
creating the connection. If `user` is not provided the previous behaviour of
a per-host token cache is used.
([430](https://github.com/trinodb/trino-python-client/issues/430))
* Add support to configure log level for all modules via the root logger. The
root logger is named `trino`.
([434](https://github.com/trinodb/trino-python-client/issues/434))
* Allow using `keyring.backends.null.Keyring` to disable keyring when using
OAuth2.
([431](https://github.com/trinodb/trino-python-client/issues/431))
* Fix `fetchall` returning already returned rows if called after `fetchone` or
`fetchmany`.
([414](https://github.com/trinodb/trino-python-client/issues/414))
* Fix possible failures when retrieving query results if the server returns
empty data.
([443](https://github.com/trinodb/trino-python-client/issues/443))
* Fix error when closing a cursor without executing a query.
([428](https://github.com/trinodb/trino-python-client/issues/428))
* Fix `get_indexes` in SQLAlchemy to not fail when called for non-Hive tables.
([426](https://github.com/trinodb/trino-python-client/issues/426))
* Fix reading and writing `MAP` types with boolean or integer keys.
([441](https://github.com/trinodb/trino-python-client/issues/441))
* Fix incompatibility when using trino-python-client with
[Ray](https://github.com/ray-project/ray).
([420](https://github.com/trinodb/trino-python-client/issues/420))

Page 1 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.