You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2015/09/02 16:37:45 UTC

[jira] [Commented] (SPARK-10417) Iterating through Column results in infinite loop

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

Apache Spark commented on SPARK-10417:
--------------------------------------

User '0x0FFF' has created a pull request for this issue:
https://github.com/apache/spark/pull/8574

> Iterating through Column results in infinite loop
> -------------------------------------------------
>
>                 Key: SPARK-10417
>                 URL: https://issues.apache.org/jira/browse/SPARK-10417
>             Project: Spark
>          Issue Type: Bug
>          Components: PySpark
>    Affects Versions: 1.5.0
>            Reporter: Zoltan Toth
>            Priority: Minor
>
> Iterating through a _Column_ object results in an infinite loop.
> {code}
> df = sqlContext.jsonRDD(sc.parallelize(['{"name": "El Magnifico"}']))
> for i in df["name"]: print i
> {code}
> Result:
> {code}
> Column<name[0]>
> Column<name[1]>
> Column<name[2]>
> Column<name[3]>
> ...
> {code}



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