TIME(P) is printed as TIME(3) for all P #561
Replies: 2 comments
-
Can't confirm that with the latest python client:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
trino-python-client 309 is really old and it's not supporting parametric datetime capability which means that all times/dates will be always precision 3. Use latest trino-python-client. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm using version 0.309.0 and probably have some client-side configuration issue, but I could not find it, so asking here.
Comparing
SELECT TIME '01:02:03.456789';
executed from two clients connected to the same Trino 475 instance:From
trino==0.309.0
:From Trino 475 CLI:
From the correct rounding it seems like a display configuration issue:
From 0.309.0 running
SELECT * FROM vast."bucket-for-array-times/aschema".atable
returns:From the official CLI:
FWIW this started during an upgrade from 462 to 475.
Thanks in advance :)
Beta Was this translation helpful? Give feedback.
All reactions