Github user shenh062326 commented on the pull request:

    https://github.com/apache/spark/pull/5608#issuecomment-94995027
  
    @mateiz 
    In most case,  the first sampling size is contain the shared objects, the 
second will not. But if the arrray is large, and is only has a few not null 
objects, it can be the second sampling contain shared objects, but  the first 
will not.  
    
    In order to exclude the shared objects, I use the min size to caculate the 
result. It will not going wrong if there are no shared objects, I have test it.


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