pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Johnson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIG-4042) Casting isn't handled properly when using IndexableLoadFunc
Date Sat, 28 Jun 2014 21:45:25 GMT

    [ https://issues.apache.org/jira/browse/PIG-4042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14046974#comment-14046974

Brian Johnson commented on PIG-4042:

Strangely, merge group works correctly, but merge with an outer join doesn't. Both use POMergeCogroup,
but for some reason the output is the correct type with the group.

> Casting isn't handled properly when using IndexableLoadFunc
> -----------------------------------------------------------
>                 Key: PIG-4042
>                 URL: https://issues.apache.org/jira/browse/PIG-4042
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.12.1
>            Reporter: Brian Johnson
>         Attachments: TEST-org.apache.pig.test.TestHBaseStorage.txt, patch
> I am working on a patch for HBaseStorage to implement IndexableLoadFunc. The results
that are returned for the RHS of the join are always bytearrays regardless of the schema that
is set, the caster, etc.. and the join only works if both relations have the row key set to
be a bytearray. I have attached the patch I am working on with the two failing test cases.
I am very eager to get this resolved, but after digging through the code I'm not sure where
to start to fix it. 

This message was sent by Atlassian JIRA

View raw message