phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Taylor <>
Subject Re: How to implement custom datatypes
Date Tue, 27 May 2014 16:30:56 GMT
Hi Faisal,
That sounds very interesting. What will be the structure of your custom
data type? Would you be able to get away with using the existing fixed
binary type and interpret the value at the application level? Or perhaps an
array of one of our primitive types? In general, each PDataType maps to a
SQL type (

On Tue, May 27, 2014 at 9:04 AM, faisal moeen <> wrote:

> Hi,
> I am trying to implement custom spatio-temporal datatypes for Phoenix. How
> can I do that?
> Until now I have added my custom datatype "MYDT" to PDataType and
> specified it to have a sqltype=123.
> I chose this number because I am not sure what to add here. I can create a
> table with this but when I insert something, its type is shown as NULL.
> I am using HBase 0.94.18 with Phoenix 3.0.
> Any help is appreciated.
> Regards
> --
> Regards
> Faisal Moeen

View raw message