FlattenWith
Merges multiple PCollection
objects into a single logical
PCollection
. It allows for the combination of both root
PCollection
-producing transforms (like Create
and Read
) and existing
PCollections.
See more information in the Beam Programming Guide.
Examples
Related transforms
- Flatten merges multiple
PCollection
objects into a single logicalPCollection
. This is useful when dealing with multiple collections of the same data type. - FlatMap applies a simple 1-to-many mapping function over each element in the collection. This transform might produce zero or more outputs.
Last updated on 2025/05/21
Have you found everything you were looking for?
Was it all useful and clear? Is there anything that you would like to change? Let us know!