You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Olga Natkovich (JIRA)" <ji...@apache.org> on 2010/06/29 03:13:50 UTC

[jira] Updated: (PIG-1120) [zebra] should support using org.apache.hadoop.zebra.pig.TableStorer() if user does not want to specify storage hint

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

Olga Natkovich updated PIG-1120:
--------------------------------

    Fix Version/s:     (was: 0.8.0)

> [zebra] should support  using org.apache.hadoop.zebra.pig.TableStorer() if user does not want to specify storage hint
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: PIG-1120
>                 URL: https://issues.apache.org/jira/browse/PIG-1120
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.6.0
>            Reporter: Jing Huang
>
> If user doesn't want to specify storage hint, current zebra implementation only support  using org.apache.hadoop.zebra.pig.TableStorer('')  <Note: empty string in TableStorer(' ').
> We should support the format of  using org.apache.hadoop.zebra.pig.TableStorer() as we do on  using org.apache.hadoop.zebra.pig.TableLoader()
> sample pig script:
> register /grid/0/dev/hadoopqa/jars/zebra.jar;
> a = load '1.txt' as (a:int, b:float,c:long,d:double,e:chararray,f:bytearray,r1(f1:chararray,f2:chararray),m1:map[]);
> b = load '2.txt' as (a:int, b:float,c:long,d:double,e:chararray,f:bytearray,r1(f1:chararray,f2:chararray),m1:map[]);
> c = join a by a, b by a;
> d = foreach c generate a::a, a::b, b::c;
> describe d;
> dump d;
> store d into 'join3' using org.apache.hadoop.zebra.pig.TableStorer('');
> --this will fail
> --store d into 'join3' using org.apache.hadoop.zebra.pig.TableStorer( );

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