trino-python-client
trino-python-client copied to clipboard
Python client for Trino
Ensures the received data is properly acknowledged by calling the next_uri. This will avoid seeing failed queries in the query log when executing scalar queries as in the following example....
Optimizes the `experimental_python_types` flag. Instead of checking the type for each row, check the type once for each `fetch()` call and compute a list of lambdas which are to be...
Implement the ability to reference JSON columns using SQLAlchemy. This allows JSON columns to be created in new tables, as well as writes to/reads from them using normal Python `json`...
Fixes issue introduces on `391` due to https://github.com/trinodb/trino/pull/13055 see discussion on https://trinodb.slack.com/archives/CGB0QHWSW/p1658934510749439
Even though Mypy is enabled, per [this](https://github.com/trinodb/trino-python-client/blob/master/.pre-commit-config.yaml#L8-L15) pre-commit hook, the default options are fairly loose which allows for untyped methods and calls. This PR aims to slowly start tightening the...
Hello, I am trying to connect to an OAUTH2 enabled trino cluster using python client. I am getting authenticated and everything works fine but i have to click a link...
Somewhat of a yak shaving exercise as I was initially going to look into https://github.com/trinodb/trino-python-client/issues/199 though realized that the `trino-python-client` package has no deterministic dependency management. See the Slack discussion...
Currently the trino python client does not support the [pyformat parameter style](https://peps.python.org/pep-0249/#paramstyle). Support for this paramstyle would allow to specify the parameters via a dict and use parameters in more...
In sqlalchemy a user can define primary keys and foreign keys as in the following example. ``` from sqlalchemy import Table, Column, Integer, String, MetaData, ForeignKey metadata_obj = MetaData() users...