[ https://issues.apache.org/jira/browse/PHOENIX-3335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kui Xiang updated PHOENIX-3335: ------------------------------- Description: 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: <pre> create table click_pv(pk varchar primary key,"default"."min_time" VARCHAR,"default"."pid" VARCHAR,"default"."pv" BIGINT); </pre> the pv column 's type use BIGINT will mapping the value to -9223372036854775805 and when i use UNSIGNED_LONG type ,it will works ok. it looks a little strange.. was: 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: <pre> create table click_pv(pk varchar primary key,"default"."min_time" VARCHAR,"default"."pid" VARCHAR,"default"."pv" BIGINT); </pre> the pv column 's type use BIGINT will mapping the value to -9223372036854775805 and when i use UNSIGNED_LONG type ,it will works ok. > 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: > <pre> > create table click_pv(pk varchar primary key,"default"."min_time" > VARCHAR,"default"."pid" VARCHAR,"default"."pv" BIGINT); > </pre> > the pv column 's type use BIGINT will mapping the value to > -9223372036854775805 > and when i use UNSIGNED_LONG type ,it will works ok. > it looks a little strange.. -- This message was sent by Atlassian JIRA (v6.3.4#6332)