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 2024/01/11 10:57:00 UTC

[jira] [Reopened] (IGNITE-21208) Sql. DEFAULT expression with NULL value processed unexpectedly

     [ https://issues.apache.org/jira/browse/IGNITE-21208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Evgeny Stanilovsky reopened IGNITE-21208:
-----------------------------------------

> Sql. DEFAULT expression with NULL value processed unexpectedly
> --------------------------------------------------------------
>
>                 Key: IGNITE-21208
>                 URL: https://issues.apache.org/jira/browse/IGNITE-21208
>             Project: Ignite
>          Issue Type: Bug
>          Components: sql
>    Affects Versions: 3.0.0-beta1
>            Reporter: Evgeny Stanilovsky
>            Assignee: Evgeny Stanilovsky
>            Priority: Major
>              Labels: ignite-3
>
> Correct processing for NULL consistent expressions require additional overriding of IgniteSqlToRelConvertor#convertValues, seems we can avoid it.
> Expressions need to be passed without such overriding method:
> {noformat}
> create table t (id int, c int DEFAULT null);
> insert into t(id, c) values(1, DEFAULT);
> insert into t(id) values(2);
> {noformat}



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