pcoet commented on code in PR #23909:
URL: https://github.com/apache/beam/pull/23909#discussion_r1012386812
##########
website/www/site/content/en/documentation/programming-guide.md:
##########
@@ -7842,34 +7842,37 @@ individual elements:
{{< /paragraph >}}
{{< highlight py >}}
-(p | beam.Create([1,2,3,4]).with_output_types(np.int64)
+(p | beam.Create([1, 2, 3, 4]).with_output_types(np.int64)
| beam.ParDo(MultiplyByTwo) # Implicit buffering and batch creation
| beam.Map(lambda x: x/3)) # Implicit batch explosion
{{< /highlight >}}
{{< paragraph class="language-py" >}}
-However, if Batched DoFns with equivalent types are chained together, this
-batching and unbatching will be elided. The batches will be passed straight
-through! This makes it much simpler to compose transforms that operate on
-batches.
+Note that we use
Review Comment:
LGTM
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]