Re: how to decode phoenix data under hbase

2016-03-19 Thread Sanooj Padmakumar
Hi Kevin, You can access the data created using phoenix with java hbase api .. Use the sample code below.. Keep in mind for varchar (i.e. for columns whose size is unknown phoenix uses separator) based columns we need to use QueryConstants.SEPARATOR_BYTE_ARRAY as the separator and for number base

Re: how to decode phoenix data under hbase

2016-03-19 Thread anil gupta
Hi Kevin, You should use Phoenix commandline(squirrel) or Phoenix api to read data written via Phoenix. One of the biggest advantage of Phoenix is that it converts long, int, date, etc into a human readable format at the time of displaying data(unlike binary in HBase). Have a look at Phoenix websi

how to decode phoenix data under hbase

2016-03-15 Thread kevin
HI,all I create a table under phoenix and upsert somedata. I turn to hbase client and scan the new table. I got data like : column=0:NAME, timestamp=1458028540810, value=\xE5\xB0\x8F\xE6\x98\x8E I don't know how to decode the value to normal string.what's the codeset?