You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/10/02 11:48:02 UTC
[jira] [Commented] (IGNITE-6469) SQL: NOT NULL fields validation
for values provided by cache interceptor
[ https://issues.apache.org/jira/browse/IGNITE-6469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16187891#comment-16187891 ]
ASF GitHub Bot commented on IGNITE-6469:
----------------------------------------
GitHub user skalashnikov opened a pull request:
https://github.com/apache/ignite/pull/2783
IGNITE-6469: SQL: NOT NULL validation for values provided by Cache Interceptor
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gridgain/apache-ignite ignite-6469
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/2783.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2783
----
commit c9b2f4a9f3a4886f295d86bed31b504de6a9bcfd
Author: skalashnikov <sk...@gridgain.com>
Date: 2017-10-01T20:26:30Z
IGNITE-6469: SQL: NOT NULL validation for values provided by Cache Interceptor
commit 5286e5d739828625083c0cd94c7eafc2e9a30966
Author: skalashnikov <sk...@gridgain.com>
Date: 2017-10-02T09:01:46Z
Merge branch 'master' of https://github.com/apache/ignite into ignite-6469
----
> SQL: NOT NULL fields validation for values provided by cache interceptor
> ------------------------------------------------------------------------
>
> Key: IGNITE-6469
> URL: https://issues.apache.org/jira/browse/IGNITE-6469
> Project: Ignite
> Issue Type: Task
> Components: sql
> Reporter: Sergey Kalashnikov
> Assignee: Sergey Kalashnikov
> Fix For: 2.4
>
>
> In case {{CacheInterceptor}} is configured, the method {{CacheInterceptor.onBeforePut}} may produce the value that violates the NOT NULL constraint configured by the cache's QueryEntity.
> The value returned by {{onBeforePut}} must also be validated with regards to configured NOT NULL constraints.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)