You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Maksim Timonin (Jira)" <ji...@apache.org> on 2021/08/10 21:07:00 UTC

[jira] [Commented] (IGNITE-10999) NOT NULL sql constraint is not checked for data streamer operations

    [ https://issues.apache.org/jira/browse/IGNITE-10999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17396890#comment-17396890 ] 

Maksim Timonin commented on IGNITE-10999:
-----------------------------------------

Also broken QuerySqlField.precision param.

> NOT NULL sql constraint is not checked for data streamer operations
> -------------------------------------------------------------------
>
>                 Key: IGNITE-10999
>                 URL: https://issues.apache.org/jira/browse/IGNITE-10999
>             Project: Ignite
>          Issue Type: Bug
>          Components: sql
>    Affects Versions: 2.7
>            Reporter: Ivan Pavlukhin
>            Priority: Major
>              Labels: newbie
>         Attachments: SqlNotNullDataStreamer.java
>
>
> It is possible to violate NOT NULL constraint when using {{IgniteDataStreamer}}. See attached reproducer.
> Attention should be paid to various SQL commands using data streamer internally. Among them:
> 1. {{COPY}} command.
> 2. Operations executed with {{SET STREAMING ON}} mode.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)