You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Kui Xiang (JIRA)" <ji...@apache.org> on 2016/09/27 10:59:21 UTC

[jira] [Created] (PHOENIX-3335) long type in hbase mapping pheonix type error

Kui Xiang created PHOENIX-3335:
----------------------------------

             Summary: long type in hbase mapping pheonix type error
                 Key: PHOENIX-3335
                 URL: https://issues.apache.org/jira/browse/PHOENIX-3335
             Project: Phoenix
          Issue Type: Improvement
    Affects Versions: 4.8.0
            Reporter: Kui Xiang


when i use the function of increament in hbase 2.0.x

push a value like '\x00\x00\x00\x00\x00\x00\x00\x01' in hbase 

then i create pheonix table like:

create table click_pv(pk varchar primary key,"default"."min_time" VARCHAR,"default"."pid" VARCHAR,"default"."pv" BIGINT);

the pv column 's type use BIGINT will mapping the value to -9223372036854775805

and when i use UNSIGNED_LONG type ,it will works ok.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)