Github user Ishiihara commented on a diff in the pull request:

    https://github.com/apache/spark/pull/2490#discussion_r17959346
  
    --- Diff: docs/programming-guide.md ---
    @@ -1121,6 +1121,11 @@ than shipping a copy of it with tasks. They can be 
used, for example, to give ev
     large input dataset in an efficient manner. Spark also attempts to 
distribute broadcast variables
     using efficient broadcast algorithms to reduce communication cost.
     
    +Spark automatically broadcasts the common data needed by tasks within each 
stage. The data
    +broadcasted this way is cached in serialized form and deserialized before 
running each task. This
    +means that explicitly creating broadcast variables is only useful when 
tasks across multiple stages
    --- End diff --
    
    The concept of stage is mentioned only in the two added paragraphs. Users 
new to Spark may not know the internals and the execution mmechanism. It would 
be nice to if some background is introduced here. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to