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

Vincent Poon updated PHOENIX-4382:
----------------------------------
    Environment: 
For immutable tables, upsert of some values like Short.MAX_VALUE results in a 
null value in query resultsets.  Mutable tables are not affected.  I tried with 
BigInt and got the same problem.

For Short, the breaking point seems to be 32512.  Numbers smaller than that are 
fine (until you get closer to Short.MIN_VALUE...)

See attached test - testShort() , testBigInt()

  was:
For immutable tables, upsert of some values like Short.MAX_VALUE results in a 
null value in query resultsets.  Mutable tables are not affected.  I tried with 
BigInt and got the same problem.

See attached test - testShort() , testBigInt()


> Upsert of some big values not correct for immutable tables
> ----------------------------------------------------------
>
>                 Key: PHOENIX-4382
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4382
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.14.0
>         Environment: For immutable tables, upsert of some values like 
> Short.MAX_VALUE results in a null value in query resultsets.  Mutable tables 
> are not affected.  I tried with BigInt and got the same problem.
> For Short, the breaking point seems to be 32512.  Numbers smaller than that 
> are fine (until you get closer to Short.MIN_VALUE...)
> See attached test - testShort() , testBigInt()
>            Reporter: Vincent Poon
>            Assignee: Vincent Poon
>         Attachments: UpsertBigValuesIT.java
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to