You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Rodrigo Benenson (JIRA)" <ji...@apache.org> on 2019/03/14 13:27:00 UTC

[jira] [Commented] (BEAM-3000) No python equivalent of org.apache.beam.sdk.transforms.Sample.any(100)?

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

Rodrigo Benenson commented on BEAM-3000:
----------------------------------------

Any update on this issue ?

> No python equivalent of org.apache.beam.sdk.transforms.Sample.any(100)?
> -----------------------------------------------------------------------
>
>                 Key: BEAM-3000
>                 URL: https://issues.apache.org/jira/browse/BEAM-3000
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-py-core
>            Reporter: Rodrigo Benenson
>            Assignee: Pablo Estrada
>            Priority: Critical
>              Labels: starter, triaged
>
> Java's org.apache.beam.sdk.transforms.Sample.any will return a PCollection with bounded size (filtering strategy).
> The closest python eqiuvalent is beam.Sample.FixedSizeGlobally(n) whover, this version uses a combiner strategy, returning a list with n elements; which does not scale if n is "bigger than what fits in memory".



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)