You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Inigo San Jose Visiers (Jira)" <ji...@apache.org> on 2021/10/19 17:34:00 UTC

[jira] [Created] (BEAM-13080) Specify numBuckets in Python Reshuffle

Inigo San Jose Visiers created BEAM-13080:
---------------------------------------------

             Summary: Specify numBuckets in Python Reshuffle
                 Key: BEAM-13080
                 URL: https://issues.apache.org/jira/browse/BEAM-13080
             Project: Beam
          Issue Type: New Feature
          Components: sdk-py-core
            Reporter: Inigo San Jose Visiers


While Java has `withNumBuckets` to set the amount of generated keys, Python doesn't.

This is particularly need when your input data is not so high and you need to take advantage for DoFn methods `start / finish bundle`.

https://beam.apache.org/releases/javadoc/2.33.0/org/apache/beam/sdk/transforms/Reshuffle.ViaRandomKey.html#withNumBuckets-java.lang.Integer-



--
This message was sent by Atlassian Jira
(v8.3.4#803005)