How does trino support unsigned int64, if you query mysql's unsigned int64 will it overflow #14679
Answered
by
tangjiangling
china-shang
asked this question in
Q&A
-
io.trino.spi.type.LongDecimalType Will it be used to support this case ? |
Beta Was this translation helpful? Give feedback.
Answered by
tangjiangling
Oct 19, 2022
Replies: 1 comment
-
Yes, when reading a MySQL |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
tangjiangling
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, when reading a MySQL
unsigned bigint
column, Trino converts it toDecimal(20, 0)
(which internally in Trino is represented byLongDecimalType
).