connector-x
connector-x copied to clipboard
Support for Trino
Please add support for Trino SQL engine
+1 on this, I feel like it should not be too difficult given there is already the official DBAPI wrapper https://github.com/trinodb/trino-python-client
+1, but it seems trino is using http as interface, thus won't be accelerated too much.
Here's an example Trino Rust client implementation: https://github.com/joshthoward/trino-rust-client, it's basically just a wrapper around a few REST API calls. There are also very tricky things like supporting OAuth and automatically de-serializing the data into an Arrow table format that are absent.
Benchmarking that (as the best case) against the python bindings might show if there is a room for speedup, but I doubt much is to be gained.