Currently, presto-python-client does not natively support SQLAlchemy. Users looking for ORM integration often rely on PyHive, which is now in maintenance mode (donated to Apache Kyuubi) and may not support newer Presto features.
This issue proposes adding a native SQLAlchemy dialect directly into presto-python-client.
Goals:
- Provide a built-in
presto:// dialect.
- Support standard SQLAlchemy
create_engine usage.
- Support basic data types and complex types (
ARRAY, MAP, ROW).
- Remove the need for external legacy dependencies for basic ORM support.
I have working code for this based on the existing dbapi and patterns from trino-python-client, and will submit a PR shortly.
Currently,
presto-python-clientdoes not natively support SQLAlchemy. Users looking for ORM integration often rely onPyHive, which is now in maintenance mode (donated to Apache Kyuubi) and may not support newer Presto features.This issue proposes adding a native SQLAlchemy dialect directly into
presto-python-client.Goals:
presto://dialect.create_engineusage.ARRAY,MAP,ROW).I have working code for this based on the existing
dbapiand patterns fromtrino-python-client, and will submit a PR shortly.