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/08 08:36:00 UTC

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

Evgeny Stanilovsky created IGNITE-21208:
-------------------------------------------

             Summary: 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


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)