You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by rxin <gi...@git.apache.org> on 2014/09/03 09:28:42 UTC

[GitHub] spark pull request: [SPARK-3327] Make broadcasted value mutable fo...

Github user rxin commented on the pull request:

    https://github.com/apache/spark/pull/2217#issuecomment-54261213
  
    Why do you need to change the mutability of broadcast variable in order to enable that? In general, immutability makes the whole thing safer.
    
    You should still be able to accomplish what you are trying to do by simply checking whether the value has changed; and if it hasn't yet, just reuse the same broadcast variable object.



---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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