You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Cheolsoo Park (JIRA)" <ji...@apache.org> on 2014/09/04 01:15:52 UTC

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

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

Cheolsoo Park commented on PIG-4149:
------------------------------------

+1

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