You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2016/09/14 08:38:20 UTC
[jira] [Resolved] (SPARK-17496) missing int to float coercion in
df.sample() signature
[ https://issues.apache.org/jira/browse/SPARK-17496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Owen resolved SPARK-17496.
-------------------------------
Resolution: Not A Problem
> missing int to float coercion in df.sample() signature
> ------------------------------------------------------
>
> Key: SPARK-17496
> URL: https://issues.apache.org/jira/browse/SPARK-17496
> Project: Spark
> Issue Type: Bug
> Components: PySpark
> Affects Versions: 2.0.0
> Reporter: Max Moroz
> Priority: Trivial
>
> {code}
> # works
> spark.createDataFrame([[1], [2], [3]]).sample(True, 1.0)
> # doesn't work
> spark.createDataFrame([[1], [2], [3]]).sample(True, 1)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org