Skip to content

Commit

Permalink
Merge pull request apache#30318 from svetakvsundhar/pipeline_design_d…
Browse files Browse the repository at this point in the history
…ocumentation

Pipeline design documentation update
  • Loading branch information
svetakvsundhar authored Feb 14, 2024
2 parents f645014 + facd135 commit e4d9098
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ mixedCollection.get(startsWithATag).apply(...);
mixedCollection.get(startsWithBTag).apply(...);
{{< /highlight >}}

You can use either mechanism to produce multiple output `PCollection`s. However, using additional outputs makes more sense if the transform's computation per element is time-consuming.
You can use either mechanism to produce multiple output `PCollection`s. The first option makes more sense if the processing logic in the `ParDo` is logically very distinct. However, using the second option (a single transform that produces multiple outputs) makes more sense if the transform's computation per element is time-consuming, and is more scalable if you plan to add more output types in the future.

## Merging PCollections

Expand Down

0 comments on commit e4d9098

Please sign in to comment.