You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2015/04/03 02:05:12 UTC
[jira] [Updated] (PHOENIX-1776) The literal -1.0 (floating point)
should not be converted to -1 (Integer)
[ https://issues.apache.org/jira/browse/PHOENIX-1776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Taylor updated PHOENIX-1776:
----------------------------------
Fix Version/s: 3.3.1
> The literal -1.0 (floating point) should not be converted to -1 (Integer)
> -------------------------------------------------------------------------
>
> Key: PHOENIX-1776
> URL: https://issues.apache.org/jira/browse/PHOENIX-1776
> Project: Phoenix
> Issue Type: Sub-task
> Reporter: Dave Hacker
> Assignee: Dave Hacker
> Fix For: 5.0.0, 3.3.1, 4.3.1, 4.4.0
>
> Attachments: Phoenix-1776.patch
>
>
> CREATE TABLE test (
> id VARCHAR not null primary key,
> name VARCHAR,
> lat FLOAT
> );
> UPSERT INTO test(id,name,lat) VALUES ('testid', 'testname', -1.00);
> Error: ERROR 203 (22005): Type mismatch. FLOAT and BIGINT for -1
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)