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

Python client for Trino

Results 98 trino-python-client issues
Sort by recently updated
recently updated
newest added

### Expected behavior `execute` returns soon after it's run so that `infoUri` can be available for tracking. ### Actual behavior `executes` is blocked until at least one row is received...

### Describe the feature Map INTERVAL types to Python types (timedelta and relativedelta). ### Describe alternatives you've considered _No response_ ### Are you willing to submit PR? - [ ]...

## Description Use a separate thread for downloading and do parsing in the main thread. ## Non-technical explanation ## Release notes ( ) This is not user-visible or docs only...

cla-signed

## Description Sometimes people want to set certain session properties on a single statement. This feature makes this much easier to manage as it avoids the state management involved with...

cla-signed

### Describe the feature I'm working with adding some plumbing between our backend system and Trino, and we're trying to derive more type information to speed up Python. Trino gives...

part of https://github.com/trinodb/trino-python-client/issues/292 Added type hints and enabled mypy checks for `client.py`, `dbapi.py`

cla-signed

### Describe the feature Disable prepared statements by default. Exact approach and details about implementation could be discussed in the comments. ### Describe alternatives you've considered _No response_ ### Are...

part of #292 Adding type hints for sqlalchemy.

cla-signed

### Describe the feature DBAPI provides following method to call stored procedures. > [.callproc](https://peps.python.org/pep-0249/#callproc)( procname [, parameters ] ) > (This method is optional since not all databases provide stored...

This PR https://github.com/trinodb/trino-python-client/pull/208 introduced mypy checks for subset of modules `trino.exceptions`, `trino.logging`, and `trino.transactions`. Enable checks for the rest of modules, which are disabled here: https://github.com/trinodb/trino-python-client/blob/master/setup.cfg#L22