You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempts to insert into a map(map(int, int), int) succeed in Trino 429, but after an upgrade to Trino 443 fail with TrinoQueryError(type=INTERNAL_ERROR, name=GENERIC_INTERNAL_ERROR, message="java.lang.RuntimeException: java.lang.IllegalArgumentException: Unknown java type class io.trino.spi.block.SqlMap", query_id=20240925_153220_01185_qmcms).
Context:
We're developing a vastdb connector and every once in a while we upgrade the supported Trino versions.
After adding support for 443 our tests started failing (only on 443) and the issue seems to originate outside the connector, so we'd be happy to collaborate and fix the issue.
Full trace:
After creating a map(map(int, int), int) table successfully as
CREATETABLEmytable (
a MAP(
MAP(
INT,
INT
),
INT
)
);
@gw-vastdata thanks for the report, I can reproduce it locally and I've managed to fix this but I'd like for @martint to chime in. Please note that right now the CLI/JDBC doesn't support maps with maps as keys so this won't work either way.
yeah, insert will work but the client will fail upon retrieval. This is something that I want to fix with the new JSON v2 serialization (part of #22271)
Hi,
TL;DR:
Attempts to insert into a
map(map(int, int), int)
succeed in Trino 429, but after an upgrade to Trino 443 fail withTrinoQueryError(type=INTERNAL_ERROR, name=GENERIC_INTERNAL_ERROR, message="java.lang.RuntimeException: java.lang.IllegalArgumentException: Unknown java type class io.trino.spi.block.SqlMap", query_id=20240925_153220_01185_qmcms)
.Context:
We're developing a vastdb connector and every once in a while we upgrade the supported Trino versions.
After adding support for 443 our tests started failing (only on 443) and the issue seems to originate outside the connector, so we'd be happy to collaborate and fix the issue.
Full trace:
After creating a
map(map(int, int), int)
table successfully asthe following insertion fails:
with
Thanks in advance,
Gilad
The text was updated successfully, but these errors were encountered: