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)