[
https://issues.apache.org/jira/browse/SPARK-10559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14899952#comment-14899952
]
Maciej Bryński commented on SPARK-10559:
----------------------------------------
I did some performance tests with both solutions and I didn't found any
differences.
So I can agreen with you.
> DataFrame schema ArrayType should accept ResultIterable
> -------------------------------------------------------
>
> Key: SPARK-10559
> URL: https://issues.apache.org/jira/browse/SPARK-10559
> Project: Spark
> Issue Type: Improvement
> Components: PySpark
> Affects Versions: 1.5.0
> Reporter: Maciej Bryński
> Priority: Minor
>
> If I'm using RDD.groupBy I'm getting pyspark.resultiterable.ResultIterable.
> Right now I can't createDataFrame for it.
> {code}
> TypeError: StructType(...) can not accept object in type <class
> 'pyspark.resultiterable.ResultIterable'
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]