You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Joseph K. Bradley (JIRA)" <ji...@apache.org> on 2015/04/26 08:54:38 UTC
[jira] [Created] (SPARK-7150) Facilitate random column generation
for DataFrames
Joseph K. Bradley created SPARK-7150:
----------------------------------------
Summary: Facilitate random column generation for DataFrames
Key: SPARK-7150
URL: https://issues.apache.org/jira/browse/SPARK-7150
Project: Spark
Issue Type: Improvement
Components: ML, SQL
Reporter: Joseph K. Bradley
Priority: Minor
It would be handy to have easy ways to construct random columns for DataFrames. Proposed API:
{code}
object RandomRDD {
def normalColumn(): Column = ???
}
{code}
Usage:
{code}
myDataFrame.withColumn("myRandCol", RandomRDD.normalColumn())
{code}
This could be part of spark.ml (in which case it could be in a RandomRDD object resembling the one in spark.mllib), or it could be in SQL proper. I'd go for spark.ml, but either is fine with me.
--
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