Details
-
Improvement
-
Status: Resolved
-
P2
-
Resolution: Fixed
-
None
Description
https://s.apache.org/sharded-group-into-batches
Improve the existing Beam transform, GroupIntoBatches, to allow runners to choose different sharding strategies depending on how the data needs to be grouped. The goal is to help with the situation where the elements to process need to be co-located to reduce the overhead that would otherwise be incurred per element, while not losing the ability to scale the parallelism. The essential idea is to build a stateful DoFn with shardable states.