Github user viirya commented on the pull request:

    https://github.com/apache/spark/pull/5572#issuecomment-94179447
  
    @tbertelsen Good point. I agree with the idea 1. I will update it later.
    
    I was thinking to add a parameter as you did to `RDD.iterator`. I use the 
configuration because I try to avoid modifying the current api. So it is 
easiest to do this by adding a configuration. But as you pointed, when the 
option is enabled, the cache for all non-cartesian operations will be affected.
    
    I just checked the report of failed unit test. Looks like that current 
version using conf has a problem. And it can not be avoided without modifying 
the api. So I think adding parameter to `iterator` is better than using 
configuration.
    
    
    
    
    
    



---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to