You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Ted Dunning (JIRA)" <ji...@apache.org> on 2007/11/01 03:19:50 UTC

[jira] Commented: (PIG-6) Addition of Hbase Storage Option In Load/Store Statement

    [ https://issues.apache.org/jira/browse/PIG-6?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12539271 ] 

Ted Dunning commented on PIG-6:
-------------------------------


On the both statements, I would think that the following syntax would be simpler:

B = LOAD HbaseQuery('Query-delimited by attributes & timestamp') as (f1, f2[, f3]);

There is really no need for separate syntax for tables and queries since the entire contents of a table can be had with a simple query.

There should also be a symmetrical syntax for STORE.



> Addition of Hbase Storage Option In Load/Store Statement
> --------------------------------------------------------
>
>                 Key: PIG-6
>                 URL: https://issues.apache.org/jira/browse/PIG-6
>             Project: Pig
>          Issue Type: New Feature
>         Environment: all environments
>            Reporter: Edward Yoon
>
> It needs to be able to load full table in hbase.  (maybe ... difficult? i'm not sure yet.)
> Also, as described below, 
> It needs to compose an abstract 2d-table only with certain data filtered from hbase array structure using arbitrary query-delimited. 
> {code}
> A = LOAD table('hbase_table');
> or
> B = LOAD table('hbase_table') Using HbaseQuery('Query-delimited by attributes & timestamp') as (f1, f2[, f3]);
> {code}
> Once test is done on my local machines, 
> I will clarify the grammars and give you more examples to help you explain more storage options. 
> Any advice welcome.

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