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:55:38 UTC
[jira] [Updated] (SPARK-7150) Facilitate random column generation
for DataFrames
[ https://issues.apache.org/jira/browse/SPARK-7150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joseph K. Bradley updated SPARK-7150:
-------------------------------------
Issue Type: New Feature (was: Improvement)
> Facilitate random column generation for DataFrames
> --------------------------------------------------
>
> Key: SPARK-7150
> URL: https://issues.apache.org/jira/browse/SPARK-7150
> Project: Spark
> Issue Type: New Feature
> 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