You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Davies Liu (JIRA)" <ji...@apache.org> on 2015/09/02 22:37:45 UTC
[jira] [Resolved] (SPARK-10417) Iterating through Column results in
infinite loop
[ https://issues.apache.org/jira/browse/SPARK-10417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davies Liu resolved SPARK-10417.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.6.0
Issue resolved by pull request 8574
[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
> Fix For: 1.6.0
>
>
> 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