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)

Reply via email to