Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 08-08-2016 04:11 PM
I have Hbase table with integer field.
When I map Phoenix table on to this Hbase table, integer field show values like : -213456236
E.g.
hbase> create 'emp','f1' hbase> put 'emp',1,'f1:eid',1001
Corresponding Phoenix table:
Create table "emp" (pk integer primary key, "f1"."eid" integer);
When I try to select from emp table, I get large number in eid field:
select "eid" from "emp"; => 299345678
This is happening for float values also. Whereas varchar values get populated correctly.
What wrong am I doing? Am I wrongly mapping the Hbase table to phoenix? I have followed steps from FAQ page.
I have read below question, but unable to get any clue.
Please help @Josh Elser
Created 08-12-2016 01:11 PM
I'm planning to use approach mentioned below using phoenix-pig integration.
https://community.hortonworks.com/questions/12538/phoenix-storage-in-pig.html
Created 08-17-2016 04:32 AM
Thanks for the reply. We are using HDP2.3 and Phoenix 4.4. Hence I'm planning to use pig integration mentioned below for Hive to Phoenix table transfer.
Created 08-12-2016 01:11 PM
I'm planning to use approach mentioned below using phoenix-pig integration.
https://community.hortonworks.com/questions/12538/phoenix-storage-in-pig.html
Created 04-24-2017 07:01 PM
idea work-around if you don't have minimal versions of
to use Phoenix Storage Handler for Hive.
Phoenix-Pig Integration worked for me.. thank you @Saurabh Rathi