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

Michael Armbrust updated SPARK-8336:
------------------------------------
    Target Version/s: 1.5.0
            Shepherd: Reynold Xin

> Fix NullPointerException with functions.rand()
> ----------------------------------------------
>
>                 Key: SPARK-8336
>                 URL: https://issues.apache.org/jira/browse/SPARK-8336
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>
> The problem was first reported by Justin Yip in the thread 
> 'NullPointerException with functions.rand()'
> Here is how to reproduce the problem:
> {code}
> sqlContext.createDataFrame(Seq((1,2), (3, 100))).withColumn("index", 
> rand(30)).show()
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to