You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Jeff Zhang (JIRA)" <ji...@apache.org> on 2009/12/03 16:23:20 UTC

[jira] Updated: (PIG-915) Pig HBase

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

Jeff Zhang updated PIG-915:
---------------------------

    Attachment: Pig_915.Patch

Attach the patch. Add a parameter to HBaseStorage to indicate whether you want to load the row key as the first column.

e.g. the following statement load the row key as the first column

{code}
raw = LOAD 'hbase://table' USING HBaseStorage('true', 'f1:col_1 f1:col_2') AS (key,col_1,col_2) ;
{code}

The reason why put the boolean as the first parameter is to make the order of parameters the same as column list (followed by keywords "AS")

> Pig HBase
> ---------
>
>                 Key: PIG-915
>                 URL: https://issues.apache.org/jira/browse/PIG-915
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Alex Newman
>            Assignee: Jeff Zhang
>            Priority: Minor
>         Attachments: Pig_915.Patch
>
>
> Currently their is no way to get the Row names when doing a query from HBase, we should probably remedy this as important data may be stored there.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.