[
https://issues.apache.org/jira/browse/PHOENIX-2086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15083743#comment-15083743
]
James Taylor commented on PHOENIX-2086:
---------------------------------------
+1
> 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
>
> Attachments: PHOENIX-2086.patch
>
>
> 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)