You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Gabriel Reid (JIRA)" <ji...@apache.org> on 2014/03/16 08:18:02 UTC

[jira] [Resolved] (PHOENIX-695) Type mismatch. FLOAT and DECIMAL for 0.0

     [ https://issues.apache.org/jira/browse/PHOENIX-695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gabriel Reid resolved PHOENIX-695.
----------------------------------

    Resolution: Fixed

Bulk resolve of closed issues imported from GitHub. This status was reached by first re-opening all closed imported issues and then resolving them in bulk.

> Type mismatch. FLOAT and DECIMAL for 0.0
> ----------------------------------------
>
>                 Key: PHOENIX-695
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-695
>             Project: Phoenix
>          Issue Type: Task
>            Reporter: James Taylor
>
> As per Julian's test:
>       create table foo(x integer not null primary key, v float);
>       upsert into foo values (1, 0.0);
> Causes the following error message: Error: ERROR 203 (22005): Type mismatch. FLOAT and DECIMAL for 0.0 (state=22005,code=203)
> But the following succeeds:
>       upsert into foo values (1, 1.0);



--
This message was sent by Atlassian JIRA
(v6.2#6252)