Github user JoshRosen commented on the pull request:

    https://github.com/apache/spark/pull/2478#issuecomment-56717218
  
    I think `len(rdd)` has the potential to be confused with `rdd.count()`, 
since calling `len()` on a Python collection usually returns the size of that 
collection.
    
    I also agree that we shouldn't expose Java `Partition` objects to users.  
Is there any reason to expose `Partition` objects besides allowing 
`len(rdd.partitions())` to work?  If not, I'm not sure that we should add this 
feature.


---
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