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

Aleksey Plekhanov updated IGNITE-21171:
---------------------------------------
    Release Note: SQL Calcite: Fixed column nullability check for data types 
with precession or scale  (was: Fixed column nullability check for data types 
with precession or scale)

> 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
>            Priority: Major
>              Labels: ise
>             Fix For: 2.17
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> 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