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 on you, that will be
On Mon, Jul 29, 2013 at 11:47 PM, G.S.Vijay Raajaa
> 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
> *eg: *Map first 10 bytes , then last 4 bytes as a struct in Hive.
> 2) Is it possible to convert the composite key stored as serialized blob
> in the form of byte array and map the same to Hive??
> Vijay Raajaa G S
> On Mon, Jul 29, 2013 at 6:10 PM, <[EMAIL PROTECTED]> wrote:
>> 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" <[EMAIL PROTECTED]>
>> > 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