[
https://issues.apache.org/jira/browse/PIG-759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12702535#action_12702535
]
David Ciemiewicz commented on PIG-759:
--------------------------------------
If hbase has named columns in it's schema, why wouldn't it be appropriate to
say something like:
table = load '$tablename/$subsection' using HBaseStorage() as (a, b);
Since HBaseStorage() is specified:
1) Isn't hbase:// implicit?
2) Shouldn't I be able to just specify the names in the AS clause?
> 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
>
> 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.