Re: Composite blob key mapping in hive

2013-08-01 Thread G.S.Vijay Raajaa
Thanks kulkarni, WIll check the same and reply back ASAP. Regards, Vijay Raajaa G S On Tue, Jul 30, 2013 at 10:27 AM, kulkarni.swar...@gmail.com kulkarni.swar...@gmail.com wrote: Yes. It is possible to do that. The attached patch on the bug adds in a new HBaseCompositeKey class that

Composite blob key mapping in hive

2013-07-29 Thread G.S.Vijay Raajaa
Hi, I would like to know if it is possible to map a composite key stored as blob in HBase to Hive?? Regards, Vijay Raajaa G S

Re: Composite blob key mapping in hive

2013-07-29 Thread kulkarni . swarnim
Hi, Please refer to the workaround posted on HIVE-2599 and let me know if that works for you. On Jul 29, 2013, at 6:22 AM, G.S.Vijay Raajaa gsvijayraa...@gmail.com wrote: Hi, I would like to know if it is possible to map a composite key stored as blob in HBase to Hive?? Regards,

Re: Composite blob key mapping in hive

2013-07-29 Thread G.S.Vijay Raajaa
Hi, Thanks for the reply. The workaround can help me if it is a composite string literal with separators in the same. I would like to know if it works with the following constraints: 1) Is it possible to map a composite key based on the length instead of separators. *eg: *Map first 10 bytes

Re: Composite blob key mapping in hive

2013-07-29 Thread kulkarni.swar...@gmail.com
Yes. It is possible to do that. The attached patch on the bug adds in a new HBaseCompositeKey class that consumers can extend to provide their own implementations. This will help hive understand their custom arrangement of the composite keys. If you can try the patch and let me know if it worked