[
https://issues.apache.org/jira/browse/SPARK-6292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joseph K. Bradley updated SPARK-6292:
-------------------------------------
Description:
Users can use RDD methods on DataFrames, but they lose the schema and need to
reapply it. For RDD methods which preserve the schema (such as randomSplit),
DataFrame should provide versions of those methods which automatically preserve
the schema.
Here are a few I'd prioritize (for my use cases!)
* randomSplit
* sampleByKey + sampleByKeyExact
** Q: Should "key" be a single column, or should we support using a set of
columns as a key?
was:Users can use RDD methods on DataFrames, but they lose the schema and
need to reapply it. For RDD methods which preserve the schema (such as
randomSplit), DataFrame should provide versions of those methods which
automatically preserve the schema.
> Add RDD methods to DataFrame to preserve schema
> -----------------------------------------------
>
> Key: SPARK-6292
> URL: https://issues.apache.org/jira/browse/SPARK-6292
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Affects Versions: 1.3.0
> Reporter: Joseph K. Bradley
>
> Users can use RDD methods on DataFrames, but they lose the schema and need to
> reapply it. For RDD methods which preserve the schema (such as randomSplit),
> DataFrame should provide versions of those methods which automatically
> preserve the schema.
> Here are a few I'd prioritize (for my use cases!)
> * randomSplit
> * sampleByKey + sampleByKeyExact
> ** Q: Should "key" be a single column, or should we support using a set of
> columns as a key?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]