Closed lpoulain closed 2 years ago
The goal of this code is similar as what is implemented for experimental_python_types
. The idea behind using this flag is that it would not impact any existing code relying on the string output of the Trino API (backwards compatibllity).
Could you review the existing mapping code and correct any shortcomings that you may have fixed.
AFAIK we didn't do unit testing for the types. So I think that's probably something we should keep.
As a general remark, please rebase instead of merge changes from master, otherwise you will introduce already implemented changes in your PR's commits.
Closing to split the PR is smaller chunks
This PR adds support for time, datetime, json, read and double Trino types when querying for some rows.
The
time
anddatetime
required some data massaging:datetime(9)
) are dropped