hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olga Natkovich (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (PIG-248) Pig Local give wrong results
Date Mon, 26 Jan 2009 20:53:59 GMT

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

Olga Natkovich resolved PIG-248.
--------------------------------

    Resolution: Fixed

tested that we do the right thing in both local and hadoop mode with the latest code

> Pig Local give wrong results
> ----------------------------
>
>                 Key: PIG-248
>                 URL: https://issues.apache.org/jira/browse/PIG-248
>             Project: Pig
>          Issue Type: Bug
>         Environment: Pig Local
>            Reporter: Amir Youssefi
>            Assignee: Pradeep Kamath
>
> Pig Local mode gives wrong results (but Pig + Hadoop give correct results) . This created
issues for users who tried to debug in local mode...
> Here's my pig code:
> a = load '/homes/amiry/tmp/my_test.txt' as (c1,c2,c3);
> b = group a by c1;
> c = foreach b {
>    d = order a by c3;
>    generate d;
> }
> dump c;
> Pig + Hadoop: 
> ({(abc, http://www.sss.net, a), (abc, http://www.rrr.com, b)})
> ({(def, http://local.yahoo.com/, d), (def, http://lmn.com/, f), (def, http://xyz.com/,
g)})
> Pig Local:
> ({(abc, http://www.sss.net, a), (abc, http://www.rrr.com, b)})
> ({})
> Input: 
> abc     http://www.rrr.com      b
> abc     http://www.sss.net      a
> def     http://local.yahoo.com/ d
> def     http://lmn.com/ f
> def     http://xyz.com/ g

-- 
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