You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Amir Youssefi (JIRA)" <ji...@apache.org> on 2008/04/24 13:41:22 UTC

[jira] Commented: (PIG-197) bz2 doesn't work

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

Amir Youssefi commented on PIG-197:
-----------------------------------

loading a bz2 doesn't work either.

grunt> a = load 'test.txt.bz2';
grunt> dump a;
(BZh91AY&SY???
              ?0r?8 "??=Lj?E??}!RW??N$1?)


bzcat test.txt.bz2 shows correct results:
a1      1       5700
b1      2       2001
c2      2


> bz2 doesn't work
> ----------------
>
>                 Key: PIG-197
>                 URL: https://issues.apache.org/jira/browse/PIG-197
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Amir Youssefi
>
> Storing a file in bzip2 doesn't work. It stores output in regular plain text in following examples:
> a = load 'any_input'; -- use any sample input
> store a into 'any_output.bz2';
> or  to have reducer/combiner
> a = load 'any_input';
> b = group a all parallel 1;
> c = foreach b generate group, COUNT(a);
> store c into 'any_output.bz2';
> --
> pig -version
> Apache Pig version 0.1.0-dev (r6455)
> compiled Apr 03 2008, 16:10:08

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