[jira] [Commented] (PHOENIX-3335) Improve documention of unsigned_long type mapping

2016-09-28 Thread William Yang (JIRA)

[ 
https://issues.apache.org/jira/browse/PHOENIX-3335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15528692#comment-15528692
 ] 

William Yang commented on PHOENIX-3335:
---

Build.sh failed on my MAC and I'm still trying to make it work. Before this, 
you can have a glimpse of the changes of MD file.  [~giacomotaylor]

> Improve documention of unsigned_long type mapping
> -
>
> Key: PHOENIX-3335
> URL: https://issues.apache.org/jira/browse/PHOENIX-3335
> Project: Phoenix
>  Issue Type: Task
>Affects Versions: 4.8.0
>Reporter: Kui Xiang
> Attachments: PHOENIX-3335.patch
>
>
> 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.
> it looks a little strange..



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


[jira] [Commented] (PHOENIX-3335) Improve documention of unsigned_long type mapping

2016-09-27 Thread James Taylor (JIRA)

[ 
https://issues.apache.org/jira/browse/PHOENIX-3335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15526762#comment-15526762
 ] 

James Taylor commented on PHOENIX-3335:
---

Agreed, [~yhxx511]. If you want to put together a documentation patch, that'd 
be much appreciated. See https://phoenix.apache.org/building_website.html

> Improve documention of unsigned_long type mapping
> -
>
> Key: PHOENIX-3335
> URL: https://issues.apache.org/jira/browse/PHOENIX-3335
> Project: Phoenix
>  Issue Type: Task
>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.
> it looks a little strange..



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