[ 
https://issues.apache.org/jira/browse/PIG-1870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bill Graham updated PIG-1870:
-----------------------------

    Attachment: PIG_1870_1.patch

Here's a patch with 5 new projection tests added to {{TestHBaseStorage}}, of 
which 4 fail. It's intended to be applied over PIG_1680 and it was generated 
from the git branch show here fyi:

https://github.com/billonahill/pig/commit/55561c23f209ca2f27e13ddd93146d7b2a2492e3

> 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
>         Attachments: PIG_1870_1.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

        

Reply via email to