Yes this message is actually close (not exactly the same, I changed a 
bit) from derby's message. Fixed the type.

On 03/06/2013 01:26 PM, James Taylor wrote:
>
> In src/main/java/com/salesforce/phoenix/exception/SQLExceptionCode.java:
>
> > @@ -51,6 +51,7 @@
> >      TYPE_MISMATCH(203, "22005", "Type mismatch."),
> >      VALUE_IN_UPSERT_NOT_CONSTANT(204, "22008", "Values in UPSERT must evaluate to a constant."),
> >      MALFORMED_URL(205, "22009", "Malformed URL."),
> > +    DATA_INCOMPATIBLE_WITH_COLUMN(206, "22003", "The value is does not fit into the column schema."),
>
> Typo here. Actually, let's mimic the error message from one of the 
> other relational databases. Maybe you already are?
>
> —
> Reply to this email directly or view it on GitHub 
> <https://github.com/forcedotcom/phoenix/pull/79/files#r3269918>.
>