You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Evgeny Stanilovsky (Jira)" <ji...@apache.org> on 2022/12/09 12:57:00 UTC
[jira] [Created] (IGNITE-18361) Sql. Unexpected type of result: NULL
Evgeny Stanilovsky created IGNITE-18361:
-------------------------------------------
Summary: Sql. Unexpected type of result: NULL
Key: IGNITE-18361
URL: https://issues.apache.org/jira/browse/IGNITE-18361
Project: Ignite
Issue Type: Bug
Components: sql
Affects Versions: 3.0.0-beta1
Reporter: Evgeny Stanilovsky
Some queries can`t be correctly processed:
SELECT MIN(NULL) will throw :
{code:java}
Caused by: java.lang.AssertionError: Unexpected type of result: NULL
at org.apache.ignite.internal.sql.engine.util.TypeUtils.columnType(TypeUtils.java:343)
{code}
Seems fix is trivial : we need to append additional type into *SqlColumnType*
case NULL:
return Void.class;
and support it into :
TypeUtils#columnType
--
This message was sent by Atlassian Jira
(v8.20.10#820010)