pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Graham (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIG-1870) HBaseStorage doesn't project correctly
Date Tue, 12 Apr 2011 04:04:05 GMT

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

Bill Graham commented on PIG-1870:

Dymitriy, can you check that latest patch? PIG_1870.patch and PIG_1870.2.patch are the same.

> HBaseStorage doesn't project correctly
> --------------------------------------
>                 Key: PIG-1870
>                 URL: https://issues.apache.org/jira/browse/PIG-1870
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.8.0
>            Reporter: Bill Graham
>            Assignee: Dmitriy V. Ryaboy
>             Fix For: 0.9.0
>         Attachments: PIG_1870.2.patch, PIG_1870.patch, PIG_1870_1.patch, PIG_1870_for0.8.patch
> Projecting columns after {{LOAD}} via {{HBaseStorage}} produces unexpected results. This
is related to the {{loadKey}} functionality and how the {{pushProjection}} method in {{HBaseStorage}}
has to offset to build a column list that aligns with the tuple (the column list doesn't contain
the row key).
> This shift appears to create an inconsistency with the FieldSchema for the tuple which
results in the wrong tuple value being fetched for a given column. I'll attach a patch with
unit tests that illustrate the problem.

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message