You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2015/06/02 09:22:18 UTC

[jira] [Resolved] (SPARK-8023) Random Number Generation inconsistent in projections in DataFrame

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

Reynold Xin resolved SPARK-8023.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 1.4.0

> Random Number Generation inconsistent in projections in DataFrame
> -----------------------------------------------------------------
>
>                 Key: SPARK-8023
>                 URL: https://issues.apache.org/jira/browse/SPARK-8023
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.4.0
>            Reporter: Burak Yavuz
>            Assignee: Yin Huai
>            Priority: Blocker
>             Fix For: 1.4.0
>
>
> to reproduce (in python):
> {code}
> df = sqlContext.range(0, 10).withColumn('uniform', rand(seed=10))
> df.select('uniform', 'uniform' + 1)
> {code}
> You should see that the first column + 1 doesn't equal the second column.



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