Lukas Lalinsky created PHOENIX-2086:
---------------------------------------
Summary: 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
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)