[ 
https://issues.apache.org/jira/browse/SPARK-21777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hyukjin Kwon updated SPARK-21777:
---------------------------------
    Fix Version/s: 2.3.0

> Simpler Dataset.sample API
> --------------------------
>
>                 Key: SPARK-21777
>                 URL: https://issues.apache.org/jira/browse/SPARK-21777
>             Project: Spark
>          Issue Type: New Feature
>          Components: SQL
>    Affects Versions: 2.2.0
>            Reporter: Reynold Xin
>            Assignee: Reynold Xin
>             Fix For: 2.3.0
>
>
> Dataset.sample requires a boolean flag withReplacement as the first argument. 
> However, most of the time users simply want to sample some records without 
> replacement. This ticket introduces a new sample function that simply takes 
> in the fraction and seed.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to