You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@crunch.apache.org by "Kiyan Ahmadizadeh (JIRA)" <ji...@apache.org> on 2012/10/17 01:13:03 UTC

[jira] [Updated] (CRUNCH-98) It should be possible to sample Scala PCollections.

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

Kiyan Ahmadizadeh updated CRUNCH-98:
------------------------------------

    Attachment: CRUNCH-98.patch

This patch adds sample methods to PCollection.scala. Tests for the functionality are also included.
                
> It should be possible to sample Scala PCollections.
> ---------------------------------------------------
>
>                 Key: CRUNCH-98
>                 URL: https://issues.apache.org/jira/browse/CRUNCH-98
>             Project: Crunch
>          Issue Type: Improvement
>          Components: Scrunch
>    Affects Versions: 0.3.0
>            Reporter: Kiyan Ahmadizadeh
>            Assignee: Kiyan Ahmadizadeh
>         Attachments: CRUNCH-98.patch
>
>
> The Java PCollection can be sampled for elements using the methods sample(double) and sample(double, long). The Scala PCollection should implement the same functionality by delegating to its underlying Java PCollection.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira