phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Poon (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PHOENIX-4382) Upsert of some big values not correct for immutable tables
Date Thu, 16 Nov 2017 02:54:00 GMT

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

Vincent Poon updated PHOENIX-4382:
----------------------------------
    Environment:     (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.

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())
    Description: 
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()

> 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
>            Reporter: Vincent Poon
>            Assignee: Vincent Poon
>         Attachments: UpsertBigValuesIT.java
>
>
> 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()



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

Mime
View raw message