tagomoris / presto-client-node

Distributed query engine Presto client library for node.js
MIT License
125 stars 57 forks source link

Support variable precision time, timestamp, time with time zone, timestamp with time zone types #39

Open findepi opened 4 years ago

findepi commented 4 years ago

Over couple of recent releases (up to including Presto 341), Presto gained support for variable precision time, timestamp, time with time zone, timestamp with time zone types. For backward compatibility reasons, these are not rendered with actual precision to the client, unless the client sends proper X-Presto-Client-Capabilities header.

Add support for these, along with properly setting the header.

See more at https://github.com/prestosql/presto/issues/1284