You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Daniel Dai (JIRA)" <ji...@apache.org> on 2008/07/25 09:33:31 UTC
[jira] Updated: (PIG-337) If limit size exceeds number of records
in the file, a few records get dropped
[ https://issues.apache.org/jira/browse/PIG-337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Dai updated PIG-337:
---------------------------
Attachment: PIG-337.patch
> If limit size exceeds number of records in the file, a few records get dropped
> ------------------------------------------------------------------------------
>
> Key: PIG-337
> URL: https://issues.apache.org/jira/browse/PIG-337
> Project: Pig
> Issue Type: Bug
> Components: impl
> Affects Versions: types_branch
> Reporter: Alan Gates
> Fix For: types_branch
>
> Attachments: PIG-337.patch
>
>
> Given a file with 10k records, the following script returned 9996 records:
> a = load 'studenttab10k';
> b = limit a 100000;
> dump b;
> It looks like maybe the limit operator isn't returning its last record or something.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.