[ 
https://issues.apache.org/jira/browse/PHOENIX-1776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14393826#comment-14393826
 ] 

Hudson commented on PHOENIX-1776:
---------------------------------

SUCCESS: Integrated in Phoenix-3.0-hadoop1 #381 (See 
[https://builds.apache.org/job/Phoenix-3.0-hadoop1/381/])
PHOENIX-1776 The literal -1.0 (floating point) should not be converted to -1 
(Integer) (Dave Hacker) (jtaylor: rev f490692c2935707497153381312bbf8fea709749)
* phoenix-core/src/it/java/org/apache/phoenix/end2end/ArithmeticQueryIT.java
* phoenix-core/src/main/java/org/apache/phoenix/parse/ParseNodeFactory.java
* phoenix-core/src/main/java/org/apache/phoenix/compile/CreateTableCompiler.java
* phoenix-core/src/main/java/org/apache/phoenix/parse/LiteralParseNode.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
>             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)

Reply via email to