pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Dai (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (PIG-4149) Rounding issue in FindQuantiles
Date Thu, 04 Sep 2014 00:02:34 GMT

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

Mime
View raw message