You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Aleksey Plekhanov (Jira)" <ji...@apache.org> on 2023/12/28 09:09:00 UTC

[jira] [Created] (IGNITE-21171) Calcite engine. Field nullability flag lost for data types with precession or scale

Aleksey Plekhanov created IGNITE-21171:
------------------------------------------

             Summary: Calcite engine. Field nullability flag lost for data types with precession or scale
                 Key: IGNITE-21171
                 URL: https://issues.apache.org/jira/browse/IGNITE-21171
             Project: Ignite
          Issue Type: Bug
            Reporter: Aleksey Plekhanov
            Assignee: Aleksey Plekhanov


Reproducer:
{code:java}
CREATE TABLE test(id INT PRIMARY KEY, val DECIMAL(10,2));
INSERT INTO test(id, val) VALUES (0, NULL); {code}
Fail with: {{Column 'VAL' has no default value and does not allow NULLs}}

But it works if {{val}} data type is {{DECIMAL}} or {{INT}}



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