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

ASF GitHub Bot updated SPARK-62268:
-----------------------------------
    Labels: pull-request-available  (was: )

> DataFrame.sample ignores seed keyword when fraction is positional
> -----------------------------------------------------------------
>
>                 Key: SPARK-62268
>                 URL: https://issues.apache.org/jira/browse/SPARK-62268
>             Project: Spark
>          Issue Type: Bug
>          Components: PySpark
>    Affects Versions: 4.0.0
>            Reporter: Craiu Constantin-Tiberiu
>            Priority: Major
>              Labels: pull-request-available
>
> {{df.sample(0.1, seed=42)}} ignores {{seed}} and picks a random seed, so the 
> result changes on every run. Does not occur on other call types like 
> :{{{}df.sample(0.1, 42){}}} and {{df.sample(fraction=0.1, seed=42).}}



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to