Hive and Presto `connect()` work differently; not DBAPI compliant
Open
- Dominant language
- Python
- Stars
- 1.7k
- Forks
- 545
- PR merge metrics
- No merged PRs in 30d
Description
Presto
When I run the `connect()` method with wrong credentials, no error is raised until a query is executed and it then raises an `sqlalchemy.exc.OperationalError` (this part is Ok).
Hive
When I run the `connect()` method with wrong credentials, a `thrift.transport.TTransport.TTransportException` is raised. Shouldn't it be an `sqlalchemy.exc.OperationalError` ?
Doubts:
- Shouldn't Presto raise the OperationalError as soon as the connect method is launched?
- Shouldn't Hive raise an OperationalError when connection fails?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.