[ 
https://issues.apache.org/jira/browse/SPARK-10559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14876377#comment-14876377
 ] 

Davies Liu commented on SPARK-10559:
------------------------------------

It's easy to turn the ResultIterable into a list, so I'd like to not introduce 
this complicity (there are multiple places need to be changed, type inferring, 
conversion, ...)

> 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]

Reply via email to