[
https://issues.apache.org/jira/browse/PHOENIX-1776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14381515#comment-14381515
]
Hudson commented on PHOENIX-1776:
---------------------------------
FAILURE: Integrated in Phoenix-master #640 (See
[https://builds.apache.org/job/Phoenix-master/640/])
PHOENIX-1776 The literal -1.0 (floating point) should not be converted to -1
(Integer) (Dave Hacker) (samarth.jain: rev
f941e89f4f3a3778282ffc8570c64a181e01c043)
* phoenix-core/src/main/java/org/apache/phoenix/parse/ParseNodeFactory.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/ArithmeticQueryIT.java
> 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
> 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)