Apache phoenix source

I try to use hbase directly but, I have some problem to decode row_key and timestamp value.

my datas are store in apache phoenix.
For now all transformation are made with pig or phoenix.
but end-user want to analyse row data en dremio seems to be perfect for that, If I success to read phoenix data from dremio.