[ https://issues.apache.org/jira/browse/SPARK-1438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13963670#comment-13963670 ]
Kevin Tham commented on SPARK-1438: ----------------------------------- I see that org.apache.spark.sql.SchemaRDD also defines sample(), is there a reason why it must be overloaded? > Update RDD.sample() API to make seed parameter optional > ------------------------------------------------------- > > Key: SPARK-1438 > URL: https://issues.apache.org/jira/browse/SPARK-1438 > Project: Spark > Issue Type: Improvement > Components: Spark Core > Reporter: Matei Zaharia > Priority: Blocker > Labels: Starter > Fix For: 1.0.0 > > > When a seed is not given, it should pick one based on Math.random(). > This needs to be done in Java and Python as well. -- This message was sent by Atlassian JIRA (v6.2#6252)