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 2014/09/04 02:02:34 UTC

[jira] [Resolved] (PIG-4149) Rounding issue in FindQuantiles

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

Daniel Dai resolved PIG-4149.
-----------------------------
      Resolution: Fixed
    Hadoop Flags: Reviewed

Patch committed to trunk. Thanks Cheolsoo for review!

> Rounding issue in FindQuantiles
> -------------------------------
>
>                 Key: PIG-4149
>                 URL: https://issues.apache.org/jira/browse/PIG-4149
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>            Reporter: Daniel Dai
>            Assignee: Daniel Dai
>             Fix For: 0.14.0
>
>         Attachments: PIG-4149-0.patch, PIG-4149-1.patch
>
>
> In FindQuantiles, Pig calculates an integer toSkip inside sample, and skip "toSkip" sample records to find the next boundary. However, toSkip should not be an integer, this will cause rounding issue and all the remainder will goes to the last partition.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)