You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2021/08/24 20:42:49 UTC

[GitHub] [beam] lostluck commented on a change in pull request #15227: Clarify PCollection immutability.

lostluck commented on a change in pull request #15227:
URL: https://github.com/apache/beam/pull/15227#discussion_r695187919



##########
File path: website/www/site/content/en/documentation/programming-guide.md
##########
@@ -448,6 +448,12 @@ individual elements. A Beam Transform might process each element of a
 `PCollection` and generate new pipeline data (as a new `PCollection`), *but it
 does not consume or modify the original input collection*.
 
+> **Note:** Beam SDKs avoid unnecessary copying of elements, so `PCollection`
+> contents are logically immutable, not physically immutable. Changes to input
+> elements may be visible to DoFns executing within the same bundle, and may

Review comment:
       Good call.




-- 
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: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org