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 11:00:27 UTC
[jira] [Updated] (PHOENIX-3335) long type in hbase mapping pheonix
type error
[ 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.
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:
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.
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)