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

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

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.

Reply via email to