hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitriy V. Ryaboy (JIRA)" <j...@apache.org>
Subject [jira] Commented: (PIG-759) HBaseStorage scheme for Load/Slice function
Date Mon, 01 Mar 2010 22:06:06 GMT

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

Dmitriy V. Ryaboy commented on PIG-759:
---------------------------------------

Olga,
I am not sure why this got marked as invalid. Seems like the point isn't validation of path,
but the ability to filter by start and end rows, avoiding unnecessary data scans.   The patch
clearly won't apply to 0.7, but maybe it should be marked as available for 0.6?

> HBaseStorage scheme for Load/Slice function
> -------------------------------------------
>
>                 Key: PIG-759
>                 URL: https://issues.apache.org/jira/browse/PIG-759
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Gunther Hagleitner
>             Fix For: 0.7.0
>
>         Attachments: patch.p1
>
>
> We would like to change the HBaseStorage function to use a scheme when loading a table
in pig. The scheme we are thinking of is: "hbase". So in order to load an hbase table in a
pig script the statement should read:
> {noformat}
> table = load 'hbase://<tablename>' using HBaseStorage();
> {noformat}
> If the scheme is omitted pig would assume the tablename to be an hdfs path and the storage
function would use the last component of the path as a table name and output a warning.
> For details on why see jira issue: PIG-758

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


Mime
View raw message