Open nil1729 opened 1 month ago
Discussed in https://trinodb.slack.com/archives/C0305TQ05KL/p1721310493381869 and confirmed by @martint to be a bug.
source code where it is added:
We probably need to avoid adding it for the types table or introduce some sort of alias concept
Issue Description:
When querying the
system.jdbc.types
table in Trino, the data type INTEGER appears twice. This seems to be caused by the aliasesINT
andINTEGER
both being recognized as the same type. Ideally, the table should only return a single canonical entry for the integer data type.Steps to Reproduce:
Execute a query on the
system.jdbc.types
table.cc: @mosabua