You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2016/01/05 07:24:39 UTC

[jira] [Commented] (PHOENIX-2086) CONSTRAINT_VIOLATION error code should use sqlstate 23, not 22.

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

James Taylor commented on PHOENIX-2086:
---------------------------------------

[~samarthjain] - would you be able to put together a quick fix for this?

> CONSTRAINT_VIOLATION error code should use sqlstate 23, not 22.
> ---------------------------------------------------------------
>
>                 Key: PHOENIX-2086
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2086
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Lukas Lalinsky
>             Fix For: 4.7.0
>
>
> The CONSTRAINT_VIOLATION error code currently uses sqlstate 22018, but the 22 class should be used for data errors. Constraint violations should use the 23 class. 
> There is also typo in the error message - "violatioin".



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)