pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jing Huang (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIG-1120) [zebra] should support using org.apache.hadoop.zebra.pig.TableStorer() if user does not want to specify storage hint
Date Mon, 07 Dec 2009 20:07:22 GMT

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

Jing Huang updated PIG-1120:
----------------------------

    Fix Version/s:     (was: 0.6.0)
                   0.7.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
>             Fix For: 0.7.0
>
>
> 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.


Mime
View raw message