[
https://issues.apache.org/jira/browse/BEAM-3000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17131856#comment-17131856
]
Beam JIRA Bot commented on BEAM-3000:
-------------------------------------
This issue is P2 but has been unassigned without any comment for 60 days so it
has been labeled "stale-P2". If this issue is still affecting you, we care!
Please comment and remove the label. Otherwise, in 14 days the issue will be
moved to P3.
Please see https://beam.apache.org/contribute/jira-priorities/ for a detailed
explanation of what these priorities mean.
> 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
> Priority: P2
> Labels: ccoss2019, stale-P2, starter
>
> 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
(v8.3.4#803005)