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

[jira] [Assigned] (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:all-tabpanel ]

Samarth Jain reassigned PHOENIX-2086:
-------------------------------------

    Assignee: Samarth Jain

> 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
>            Assignee: Samarth Jain
>             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)