You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Kenneth Knowles (Jira)" <ji...@apache.org> on 2022/06/03 23:50:00 UTC

[jira] [Commented] (BEAM-6696) GroupIntoBatches transform for Python SDK

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

Kenneth Knowles commented on BEAM-6696:
---------------------------------------

This issue has been migrated to https://github.com/apache/beam/issues/19356

> GroupIntoBatches transform for Python SDK
> -----------------------------------------
>
>                 Key: BEAM-6696
>                 URL: https://issues.apache.org/jira/browse/BEAM-6696
>             Project: Beam
>          Issue Type: New Feature
>          Components: sdk-py-core
>            Reporter: Ahmet Altay
>            Priority: P3
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Add a PTransform that batches inputs to a desired batch size. Batches will contain only elements of a single key.
> It should offer the same API as its Java counterpart: https://github.com/apache/beam/blob/11a977b8b26eff2274d706541127c19dc93131a2/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/GroupIntoBatches.java
> Unlike BatchElements transform (https://github.com/apache/beam/blob/11a977b8b26eff2274d706541127c19dc93131a2/sdks/python/apache_beam/transforms/util.py#L461) GroupIntoBatches will use state to batch across bundles as well.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)