Github user mateiz commented on the pull request:

    https://github.com/apache/spark/pull/3723#issuecomment-68315776
  
    I agree with Mark about this. This method doesn't seem worth adding an API 
for by default, especially if it will be tricky to implement. For extracting 
small samples, takeSample already lets you specify an exact numbers, and for 
downsampling large RDDs, most users probably don't need an exact number (and 
wouldn't want to pay an extra pass over the data for it). This and other 
advanced sampling methods could make a good external package though.


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