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

Jeffrey Zhong commented on PHOENIX-1514:
----------------------------------------

One thing I think will be useful is when mapping an existing hbase table to 
Phoenix table or load data from other places. A user can possible define a 
table with something like below:

CREATE TABLE my_schema.my_table ( id BIGINT:<my custom type implementation> , 
date DATE:<my custom type implementation> not null)

In that case, we can easily solve many issues using unsigned_# for hbase 
integer types etc.... 

> Break up PDataType Enum
> -----------------------
>
>                 Key: PHOENIX-1514
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1514
>             Project: Phoenix
>          Issue Type: Sub-task
>    Affects Versions: 5.0.0
>            Reporter: Nick Dimiduk
>            Assignee: Nick Dimiduk
>             Fix For: 5.0.0
>
>         Attachments: PHOENIX-1514.00.patch
>
>
> A first step in adopting (a portion of) HBase's type encodings is to break up 
> the PDataType enum into an interface. This will pave the way for more 
> flexibility going forward.



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

Reply via email to