Closed
Description
presto-client returns data type of string for a timestamp field.
Setup:
- PrestoSQL 333
- PostgreSQL 12.1
- presto-client 0.300.0
Tested:
- Using the PrestoSQL JDBC driver, the field is returned as a Java timestamp.
- Using
psycopg2
driver with SQLalchemy directly to Postgres, the field is returned as a python datetime object or pandas timestamp object. - Using presto-client 0.300, the field is returned as a string.
Expectation:
The field should be returned as a python datetime object or pandas timestamp object, akin to the PostgreSQL driver.
Note:
The issue has also been reported for pyhive (no longer under current development). I have not tested PrestoDB's version to see if the other team has also worked on the topic.
Metadata
Metadata
Assignees
Labels
No labels