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/19 07:30:00 UTC

[jira] [Commented] (IGNITE-18361) Sql. Unexpected type of result: NULL

    [ https://issues.apache.org/jira/browse/IGNITE-18361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17649188#comment-17649188 ] 

Evgeny Stanilovsky commented on IGNITE-18361:
---------------------------------------------

Probably already fixed in https://issues.apache.org/jira/browse/IGNITE-18282

> 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
>            Priority: Major
>              Labels: ignite-3
>
> 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*
> {code:java}
>             case NULL:
>                 return Void.class;
> {code}
> and support it into :
> {code:java}
> TypeUtils#columnType
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)