[ https://issues.apache.org/jira/browse/SPARK-9427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14699080#comment-14699080 ]
Shivaram Venkataraman commented on SPARK-9427: ---------------------------------------------- Yeah I think the simplest thing might be to add a version of `rand(seed: Int)` (or `rand(seed: Double)` if we want to maintain precision ?) to the API and do a cast in Scala to call the version with Long. cc [~rxin] > Add expression functions in SparkR > ---------------------------------- > > Key: SPARK-9427 > URL: https://issues.apache.org/jira/browse/SPARK-9427 > Project: Spark > Issue Type: New Feature > Components: SparkR > Reporter: Yu Ishikawa > > The list of functions to add is based on SQL's functions. And it would be > better to add them in one shot PR. > https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/functions.scala -- 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